uranus.webhop.net

5100.php source code

<div>I use a Dell Inspiron 5100 laptop for Linux - and for nothing else. It's taken some time, but right now I have the feeling that I have everything configured that I want configured. The only things that I've never put any attention to are PCMCIA, TV-OUT (and extra monitors) and FireWire. I've never felt inclined to use any of these. I've uploaded my <a href="readconf.php?page=conf/config-2.6.8.1">.config</a> file, maybe someone finds it useful.</div><br />
<div class="subtitle">Ethernet</div>
<div>The Gentoo LiveCD detected this perfectly, I then built the kernel and it worked fine. The NIC is an onboard Broadcom 4400, and it is well supported by both FreeBSD and Linux. I compile it into the kernel, but it works just as well when compiled as a module.</div><br />
<div class="subtitle">Touchpad</div>
<div>I never got this to work in FreeBSD. Just make sure you don't change any defaults in the kernel configuration regarding rodents, and use <span class="shell">/dev/psaux</span> as your device.</div><br />
<div class="subtitle">Sound</div>
<div>It took me quite some time to find out how this worked - but this was actually very easy. The problem was that I didn't know how to unmute sound levels in <span class="shell">alsamixer</span>. It is an onboard Intel i810 sound card, and the sound is terrible - use headphones for anything more than simple game tunes. Just like the rest, I compiled this into the kernel. For alsa to work you need both alsa-tools and alsa-utils. You can use alsa-driver instead of the support in the kernel if you want, but I prefer this way. The following stuff should be in the kernel:</div>
<div class="shell">
&lt;*&gt; Sound card support<br />
&lt;*&gt; Advanced Linux Sound Architecture<br />
&lt;*&gt; Sequencer support<br />
&lt;*&gt; OSS Mixer API<br />
&lt;*&gt; OSS PCM (digital audio) API<br />
[*] OSS Sequencer API<br />
&lt;*&gt; Intel i8x0/MX440, SiS 7012; Ali 5455; NForce Audio; AMD768/8111<br />
</div>
<div>Now all you have to do is run <span class="root">alsamixer</span>, unmute the levels with [M], turn them up with the [Up]-arrows, and press [Esc]. Then (as root) run <span class="root">alsactl store</span> and setup the alsa-initscript. Test the sound by running <span class="user">cat /dev/urandom &gt; /dev/dsp</span>.</div><br />
<div class="subtitle">USB</div>
<div>I only recently found out how to do this. It isn't very hard - but you should be sure that everything is compiled AS A MODULE. WHEN IT IS NOT COMPILED AS A MODULE, IT WILL NOT WORK. I use USB for a Lexar MultiCard Reader (for compact flash) and for memory sticks.<br />
Start off by setting up <span class="shell">hotplug</span>. You'll need support for this in the kernel and an initscript. When that works, compile all the modules, usbfs and vfat.<br />
Reboot (of course) for usbfs and vfat to work and modprobe all the modules (<span class="shell">sd_mod scsi_mod sg usb-storage uhci-hcd ehci-hcd usbcore</span>). When that's done, mount usbfs if you have to (I don't need to mount it, perhaps <span class="shell">hotplug</span> does that for me, not sure). Then plug something in and run <span class="user">cat /proc/bus/usb/devices</span>. The last entry should show some info about the plugged-in device.<br />
Pay special interest to the "Driver=" part, that might give you some useful information. If it's <span class="shell">usb-mass-storage</span> you're lucky, because that's setup already. Just <span class="user">ls /dev</span> and look for sda (USB devices are mounted as though SCSI). If you see only sda, have a look whether you see sg0 - if you don't see it you might have to wait a little time until sda1 shows up, or not - just try mounting it - <span class="root">mount /dev/sda -t auto /mnt/somemountpoint</span>.
If that doesn't work, find out for yourself what filesystem you need - probably vfat. If it's something else, compile that into your kernel as well. As soon as you know how to mount it put it in <a href="readconf.php?page=conf/fstab">/etc/fstab</a>.</div>
<div class="shell">
[*] Support for hot-pluggable devices<br />
&lt;M&gt; SCSI device support<br />
&lt;M&gt; SCSI disk support<br />
&lt;M&gt; SCSI generic support<br />
&lt;M&gt; Support for Host-side USB<br />
[*] USB device filesystem<br />
&lt;M&gt; EHCI HCD (USB 2.0) support<br />
&lt;M&gt; UHCI HCD (most Intel and VIA) support<br />
&lt;M&gt; USB Mass Storage support<br />
&lt;*&gt; VFAT (Win***s-95) fs support<br />
</div><br />

<div class="subtitle">GLX</div>
<div>I managed to get this working with DRI once, and have messed with it many times before, but without any success - until I lately found a post somewhere at the <a href="http://forums.gentoo.org">Gentoo Forums</a>. It said that you could easily use trying the drivers from the kernel/Xorg. All you had to do was compile in the stuff for the GPU (Ati Radeon Mobile 7500), setup Xorg correctly (my <a href="readconf.php?page=conf/xorg.conf">xorg.conf</a>) and it would work. Compile the following stuff into your kernel:</div>
<div class="shell">
&lt;*&gt; /dev/agpgart (AGP Support)<br />
&lt;*&gt; Intel 440LX/BX/GX, I8xx and E7x05 chipset support<br />
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)<br />
&lt;*&gt; ATI Radeon<br />
</div>
<div>Then uncomment the lines <span class="shell">Load  "glx"</span> and <span class="shell">Load  "dri"</span> in your <span class="shell">xorg.conf</span>. Make the Driver in your video card section <span class="shell">radeon</span>. Then add (or uncomment) the following section:</div>
<div class="shell">
Section "DRI"
   Mode 0666
EndSection
</div>
<div>Restart X, and run <span class="user">glxinfo | grep Yes</span>. If this returns <span class="shell">direct rendering: Yes</span> the GLX configuration is successful!</div><br />
<div class="subtitle">CDR/DVD</div>
<div>This worked for me from the start with the default kernel configuration. Confusing is that the device for the drive is <span class="shell">/dev/hda</span> - <span class="shell">/dev/hdc</span> is the hard-drive.</div><br />
<div class="subtitle">ACPI</div>
<div>I have the general stuff working, like temperature display and all the buttons work correctly and stuff like that, but that's all. I've tried using <span class="shell">lm_sensors</span> but the program reported that my hardware doesn't support it. I've seen other users of this laptop get the screen to go out when the lid is closed and stuff like that - but I don't think that's really important, as they reported that it didn't seem to change the power usage very much. I lately followed the <a href="http://www.gentoo.org/doc/en/power-management-guide.xml">Gentoo Power Management Guide</a> and atm I have <span class="shell">speedfreq</span> running by default, since the ACPI events won't work correctly for my <a href="http://bugme.osdl.org/show_bug.cgi?id=1752">laptop</a>. I'm kind of worried about the computer, because when running F@H it reaches temps to 77C (78C is critical). I haven't found out how to adjust fan speeds by hand (don't think it's possible at all). Very annoying. Good thing is that <span class="shell">speedfreq</span> generally keeps the speed down (between 2000 and 2400 MHz) - but I don't want a limp computer!</div>

Valid XHTML 1.0! Valid CSS!
Get Firefox!
.: Page last modified: December 03 2023 23:32:39 - Copyleft 2004 :.