Dell Inspiron 1520
This is the wiki entry for the Dell XPS 1520 laptop. It's heavily under construction, and it's based on the Dell Inspiron 8500 page.
- Ethernet: Broadcom chip, use b44 module
- Wireless: Dell Wireless 1395 802.11g Mini Card ndiswrapper
- Audio: intel8x0 (Sigmatel)
- Display: 1440x900
- Multimedia keys (set up xmodmap)
- nVidia GeForce 8600M GT (256MB GDDR2)
- SD card slot
Unknown / Untested
Works with 2.6.24 and 2.6.25 out of the box.
nVidia Geforce 8600M GT (256MB GDDR2)
First shutdown computer, reboot and enter the BIOS by pressing F2. Find the Infrared option, enable it (it is disable by default!) and set it to COM2. Visit LIRC's webpage and download their latest CVS snapshot. Extract, go into directory and run setup.sh :
> wget http://lirc.sourceforge.net/software/snapshots/lirc-0.8.1pre3.tar.bz2 > tar -jxvf lirc-0.8.1pre3.tar.bz2 > cd lirc-0.8.1pre3 > ./setup.sh
Then select :
1 Driver configuration --> 6 IrDA hardware --> 1 SIR IrDA (built-in IR ports) 3 Save configuration & run configure
Now make it :
make && sudo make install
Be sure you do not have the irdautils package. It blocks the serial port. You will need to load the "lirc_sir" module. If you got error like :
lirc_sir: i/o port 0x02f8 already in use.
in dmesg, run this command as root :
# /bin/setserial /dev/ttyS1 uart none
then try again to modprobe "lirc_sir". If it works, create the file "/etc/modprobe.d/lirc" and put is that line :
install lirc_sir /bin/setserial /dev/ttyS1 uart none; /sbin/modprobe --ignore-install lirc_sir
This will run the command above each time you try to modprobe the "lirc_sir" module. Add the module to autoload (/etc/modules).
Now continue as the installation procedure of lirc.
I suggest you read Gentoo Power Management Guide for great information. After some work on this I wanted to add some information specific to the I8500.
Modprobe the modules :
Then set the governor by using cpufreq-set. For ondemand :
# cpufreq-set -g ondemand
For performance (higher frequency):
# cpufreq-set -g performance
For powersaving (lower freqency) :
# cpufreq-set -g powersave
To turnoff the computer when you press the power button, put the following in /etc/acpi/handler.sh
button/power) case "$2" in PBTN) logger "PowerButton pressed: $2" halt ;; *) logger "ACPI action undefined: $2" ;; esac
Replace the "halt" line with the shutdown command of your choice.
To turn off the backlight of an ATI Radeon Mobility card, put the following in /etc/acpi/handler.sh
button/lid) case "$2" in LID) logger "ACPI button/lid action" STATE=`radeontool light` case "$STATE" in "The radeon backlight looks on") radeontool light off ;; "The radeon backlight looks off") radeontool light on ;; esac ;; esac ;;
This requires that you have the radeontool package installed (it is in AUR). You also need to add "acpid" to the DAEMONS array in /etc/rc.conf.
- Gentoo Power Management Guide
- Gentoo Dell Inspiron 8500 Wiki
- Software Suspend 2
- Linux on Laptops
- This report is listed at the TuxMobil: Linux Laptop and Notebook Installation Guides Survey: DELL.