Difference between revisions of "Dell Inspiron 8500"

From ArchWiki
Jump to: navigation, search
(Software Suspend 2 (Hibernate) and Sleep)
(use https for links to archlinux.org)
(34 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[Category:Laptop]]
+
[[Category:Dell]]
 
+
 
==Intro==
 
==Intro==
 
===Summary===
 
===Summary===
I didn't even finished the text, so don't follow exactly whats here, only inspire yourself until I'm finished.
+
Arch Linux is my best experience so far with Linux on this computer, even if it's a laptop! I've tried Mandrake 10, 10.1, Suse 9.2, Gentoo 2004.3 and Fedora Core 2 and 3. I really like the KISS philosophy!
ArchLinux is my best experience so far with linux on this computer, even if its a laptop! I've tryed Mandrake 10, 10.1, Suse 9.2, Gentoo 2004.3 and Fedora Core 2 and 3. I really like the KISS philosophy!
+
  
 
===To do===
 
===To do===
*Clean up new wiki. [http://en.wikipedia.org/wiki/Mediawiki MediaWiki] is great but has break all the layout... Need to clean this mess!
 
 
*Make swsusp2 work
 
*Make swsusp2 work
 
*Clean up of acpi/cpufreq with the governor chooser
 
*Clean up of acpi/cpufreq with the governor chooser
 
*ACPI daemon and events
 
*ACPI daemon and events
 
*Better kernel configuration display
 
*Better kernel configuration display
 
===System specifications===
 
*Intel Pentium 4-M @ 2.1 Ghz
 
*15.4" WUXGA display at 1920x1200 @ 32 bit colour
 
*NVidia GeForce4 Go 4200 64mb
 
*Broadcom 4400 100/10 NIC
 
*512mb RAM (2 x 256 Mb)
 
*60gig IDE disk
 
*Removable DVD/CD/CD-RW
 
*Removable & USB pluggable floppy
 
*1 Firewire port
 
*2 USB 2.0 ports
 
*IrDA
 
*Intel (PCTel) AC'97 Modem (WinModem?)
 
*Single PCMCIA
 
*Onboard i810 soundcard
 
*Mini-PCI slot
 
*Dell TrueMobile 1300 (Broadcom BCM4306 Mini PCI)
 
 
Output of lspci (run "sudo update-pciids" to get updated results) :
 
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
 
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
 
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
 
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
 
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
 
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
 
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
 
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
 
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
 
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
 
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
 
01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x] (rev a1)
 
02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
 
02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
 
02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller
 
02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)
 
  
 
===Working===
 
===Working===
Line 54: Line 15:
 
*Audio: ac97 (?)
 
*Audio: ac97 (?)
 
*Display: 1920x1200
 
*Display: 1920x1200
 +
*Firewire
 +
*InfraRed (IrDa)
 +
 
===Partially Working===
 
===Partially Working===
 
*nVidia Geforce4 4200 Go (64 Mb)
 
*nVidia Geforce4 4200 Go (64 Mb)
 
===Not Working===
 
===Not Working===
 
*Modem
 
*Modem
 
===Unknown / Untested===
 
*Firewire
 
 
==Installation==
 
To do
 
  
 
==Kernel==
 
==Kernel==
To do
+
A working v2.6.19 config is at https://pastebin.archlinux.org/345
  
 
==X.org==
 
==X.org==
To do
+
===nVidia Geforce4 4200 Go (64 Mb)===
[http://archlinux.nb.homelinux.net/pub/config/xorg.conf xorg.conf]
+
to do
  
==Power Management==
+
===ATI Mobility Raedon 9600===
I suggest you read [http://www.gentoo.org/doc/en/power-management-guide.xml Gentoo Power Management Guide] for great information. After some work on this I wanted to add some information specific to the I8500.
+
my working /etc/X11/xorg.conf
 +
Note: I have an Alps touchpad that uses the synaptics driver. You would need to install the "synaptics" package to use it. (As configured below it has no tapping.)
  
  
 +
# **********************************************************************
 +
# Modules section. This allows modules to be specified
 +
# **********************************************************************
 +
 +
Section "Module"
 +
 +
    Load "dbe"  # Double buffer extension
 +
 +
    SubSection  "extmod"
 +
      Option    "omit xfree86-dga"  # do not initialize the DGA extension
 +
    EndSubSection
 +
 +
    Load "freetype"
 +
    Load "glx"
 +
    Load "dri"
 +
    Load "drm"
 +
    Load "synaptics"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Files section
 +
# ******************************
 +
 +
Section "Files"
 +
 +
    FontPath  "/usr/share/fonts/misc"
 +
    FontPath  "/usr/share/fonts/TTF"
 +
    FontPath  "/usr/share/fonts/local"
 +
   
 +
EndSection
 +
 +
 +
# ******************************
 +
# Server flags section
 +
# ******************************
 +
 +
Section "ServerFlags"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Core keyboard's InputDevice section
 +
# ******************************
 +
 +
Section "InputDevice"
 +
 +
    Identifier "Keyboard1"
 +
    Driver   "kbd"
 +
    Option    "AutoRepeat" "500 30"
 +
    Option    "XkbRules"  "xorg"
 +
    Option    "XkbModel"  "dell101"
 +
    Option    "XkbLayout"  "us"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Core Pointer's InputDevice section
 +
# ******************************
 +
 +
Section "InputDevice"
 +
 +
    Identifier "Generic Mouse"
 +
    Driver "mouse"
 +
    Option "Protocol" "Auto" # Auto detect
 +
    Option "Device" "/dev/input/mice"
 +
    Option "ZAxisMapping" "4 5 6 7"
 +
    Option "Emulate3Buttons"
 +
 +
EndSection
 +
 +
Section "InputDevice"
 +
 +
    Driver    "synaptics"
 +
    Identifier "Alps touchpad"
 +
    Option    "Device" "/dev/input/mice"
 +
    Option    "Protocol" "auto-dev"
 +
    Option    "Emulate3Buttons"
 +
 +
    # synaptic driver specific options
 +
    Option  "LeftEdge"        "1700"
 +
    Option  "RightEdge"      "5300"
 +
    Option  "TopEdge"        "1700"
 +
    Option  "BottomEdge"      "4200"
 +
    Option  "FingerLow"      "25"
 +
    Option  "FingerHigh"      "30"
 +
    Option  "MaxTapTime"      "180"
 +
    Option  "MaxTapMove"      "220"
 +
    Option  "VertScrollDelta" "100"
 +
    Option  "MinSpeed"        "0.4"
 +
    Option  "MaxSpeed"        "0.5"
 +
    Option  "AccelFactor"    "0.01"
 +
    Option  "SHMConfig"      "on"
 +
    # Option  "Repeater"    "/dev/ps2mouse"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Monitor section
 +
# ******************************
 +
 +
Section "Monitor"
 +
 +
    Identifier  "Dell Inspiron 8500 WXGA LCD"
 +
    HorizSync  15-100
 +
    VertRefresh 15-100
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Graphics device section
 +
# ******************************
 +
 +
Section "Device"
 +
 +
    Identifier  "ATI Mobility Radeon 9600"
 +
    Driver      "radeon"
 +
    Option "AGPMode" "4"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# Screen sections
 +
# ******************************
 +
 +
Section "Screen"
 +
 +
    Identifier  "Screen 1"
 +
    Device      "ATI Mobility Radeon 9600"
 +
    Monitor      "Dell Inspiron 8500 WXGA LCD"
 +
    DefaultDepth 24
 +
 +
    Subsection "Display"
 +
        Depth    24
 +
        Modes    "1280x800"
 +
        ViewPort 0 0
 +
    EndSubsection
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# ServerLayout sections.
 +
# ******************************
 +
 +
Section "ServerLayout"
 +
 +
    Identifier  "Layout 1"
 +
    Screen      "Screen 1"
 +
    InputDevice "Alps Touchpad" "CorePointer"
 +
    InputDevice "Keyboard1" "CoreKeyboard"
 +
 +
EndSection
 +
 +
 +
# ******************************
 +
# DRI extension options section
 +
# ******************************
 +
 +
Section "DRI"
 +
    Group "video"
 +
    Mode 0666
 +
EndSection
 +
 +
Section "Extensions"
 +
    Option "Composite" "Enable"
 +
    Option "RENDER"    "Enable"
 +
EndSection
  
===ACPI===
+
==Hardware==
To Do
+
  
.
+
===Infrared receiver===
 +
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 [http://www.lirc.org/ LIRC]'s webpage and download their latest [http://lirc.sourceforge.net/software/snapshots/ 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).
  
==Links==
+
Now continue as the installation procedure of lirc.
===General===
+
[http://www.gentoo.org/doc/en/power-management-guide.xml Gentoo Power Management Guide]
+
  
[http://en.gentoo-wiki.com/Inspiron_8500 Gentoo Dell Inspiron 8500 Wiki]
 
  
[http://www.suspend2.net/ Software Suspend 2]
+
==Power Management==
 +
I suggest you read [http://www.gentoo.org/doc/en/power-management-guide.xml Gentoo Power Management Guide] for great information. After some work on this I wanted to add some information specific to the I8500.
  
[http://www.linux-on-laptops.com/dell.html Linux on Laptops]
+
===CPU Scaling===
 +
See [[CPU Frequency Scaling]].
  
===Linux on a Dell Inspiron 8500===
+
===ACPI===
  
[http://people.debian.org/~crafterm/inspiron8500.html Debian]
+
To turnoff the computer when you press the power button, put the following in /etc/acpi/handler.sh
  
[http://www.garshol.priv.no/download/i8500/ RedHat 9.0]
+
button/power)
 +
        case "$2" in
 +
            PBTN)
 +
                    logger "PowerButton pressed: $2"
 +
                    halt
 +
            ;;
 +
            *)    logger "ACPI action undefined: $2" ;;
 +
        esac
  
[http://www.homestead.com/einstein/Inspiron8500.html Fedora Core 2]
+
Replace the "halt" line with the shutdown command of your choice.
  
[http://www.ife.ee.ethz.ch/~mwirz/dell/inspiron8500.html Suse 9.2]
 
  
[http://www.meteo.psu.edu/~mas582/Linux/ Slackware Linux]
+
To turn off the backlight of an ATI Radeon Mobility card, put the following in /etc/acpi/handler.sh
  
[http://www.softlab.ece.ntua.gr/~amanous/Inspiron-Linux/ Debian]
+
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
 +
        ;;
  
[http://www.wayfinder.it/resources/inspiron8500.php Linux Debian 3.1]
+
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.
 +
 
 +
==See also==
 +
===General===
 +
 
 +
* [http://www.gentoo.org/doc/en/power-management-guide.xml Gentoo Power Management Guide]
 +
* [http://en.gentoo-wiki.com/Inspiron_8500 Gentoo Dell Inspiron 8500 Wiki]
 +
* [http://www.suspend2.net/ Software Suspend 2]
 +
* [http://www.linux-on-laptops.com/dell.html Linux on Laptops]
 +
* This report is listed at the [http://tuxmobil.org/dell.html TuxMobil: Linux Laptop and Notebook Installation Guides Survey: DELL].
 +
 
 +
===Linux on a Dell Inspiron 8500===
 +
*[http://www.garshol.priv.no/download/i8500/ RedHat 9.0]
 +
*[http://www.softlab.ece.ntua.gr/~amanous/Inspiron-Linux/ Debian]

Revision as of 00:13, 6 December 2012

Intro

Summary

Arch Linux is my best experience so far with Linux on this computer, even if it's a laptop! I've tried Mandrake 10, 10.1, Suse 9.2, Gentoo 2004.3 and Fedora Core 2 and 3. I really like the KISS philosophy!

To do

  • Make swsusp2 work
  • Clean up of acpi/cpufreq with the governor chooser
  • ACPI daemon and events
  • Better kernel configuration display

Working

  • Ethernet: Broadcom chip, use b44 module
  • Wireless: Dell TrueMobile 1300 ndiswrapper
  • Audio: ac97 (?)
  • Display: 1920x1200
  • Firewire
  • InfraRed (IrDa)

Partially Working

  • nVidia Geforce4 4200 Go (64 Mb)

Not Working

  • Modem

Kernel

A working v2.6.19 config is at https://pastebin.archlinux.org/345

X.org

nVidia Geforce4 4200 Go (64 Mb)

to do

ATI Mobility Raedon 9600

my working /etc/X11/xorg.conf Note: I have an Alps touchpad that uses the synaptics driver. You would need to install the "synaptics" package to use it. (As configured below it has no tapping.)


# **********************************************************************
# Modules section. This allows modules to be specified
# **********************************************************************

Section "Module"

   Load "dbe"  	# Double buffer extension

   SubSection  "extmod"
     Option    "omit xfree86-dga"   # do not initialize the DGA extension
   EndSubSection

   Load "freetype"
   Load "glx"
   Load "dri"
   Load "drm"
   Load "synaptics"

EndSection


# ******************************
# Files section
# ******************************

Section "Files"

   FontPath   "/usr/share/fonts/misc"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/local"
   
EndSection


# ******************************
# Server flags section
# ******************************

Section "ServerFlags"

EndSection


# ******************************
# Core keyboard's InputDevice section
# ******************************

Section "InputDevice"

   Identifier "Keyboard1"
   Driver	   "kbd"
   Option     "AutoRepeat" "500 30"
   Option     "XkbRules"   "xorg"
   Option     "XkbModel"   "dell101"
   Option     "XkbLayout"  "us"

EndSection


# ******************************
# Core Pointer's InputDevice section
# ******************************

Section "InputDevice"

   Identifier "Generic Mouse"
   Driver "mouse"
   Option "Protocol" "Auto" # Auto detect
   Option "Device" "/dev/input/mice"
   Option "ZAxisMapping" "4 5 6 7"
   Option "Emulate3Buttons"

EndSection

Section "InputDevice"

   Driver     "synaptics"
   Identifier "Alps touchpad"
   Option     "Device" "/dev/input/mice"
   Option     "Protocol" "auto-dev"
   Option     "Emulate3Buttons"

   # synaptic driver specific options
   Option  "LeftEdge"        "1700"
   Option  "RightEdge"       "5300"
   Option  "TopEdge"         "1700"
   Option  "BottomEdge"      "4200"
   Option  "FingerLow"       "25"
   Option  "FingerHigh"      "30"
   Option  "MaxTapTime"      "180"
   Option  "MaxTapMove"      "220"
   Option  "VertScrollDelta" "100"
   Option  "MinSpeed"        "0.4"
   Option  "MaxSpeed"        "0.5"
   Option  "AccelFactor"     "0.01"
   Option  "SHMConfig"       "on"
   # Option  "Repeater"    "/dev/ps2mouse"

EndSection


# ******************************
# Monitor section
# ******************************

Section "Monitor"

   Identifier  "Dell Inspiron 8500 WXGA LCD"
   HorizSync   15-100
   VertRefresh 15-100

EndSection


# ******************************
# Graphics device section
# ******************************

Section "Device"

   Identifier  "ATI Mobility Radeon 9600"
   Driver      "radeon"
   Option "AGPMode" "4"

EndSection


# ******************************
# Screen sections
# ******************************

Section "Screen"

   Identifier   "Screen 1"
   Device       "ATI Mobility Radeon 9600"
   Monitor      "Dell Inspiron 8500 WXGA LCD"
   DefaultDepth 24

   Subsection "Display"
       Depth    24
       Modes    "1280x800"
       ViewPort 0 0
   EndSubsection

EndSection


# ******************************
# ServerLayout sections.
# ******************************

Section "ServerLayout"

   Identifier  "Layout 1"
   Screen      "Screen 1"
   InputDevice "Alps Touchpad" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection


# ******************************
# DRI extension options section
# ******************************

Section "DRI"
   Group "video"
   Mode 0666
EndSection

Section "Extensions"
   Option "Composite" "Enable"
   Option "RENDER"    "Enable"
EndSection

Hardware

Infrared receiver

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.


Power Management

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.

CPU Scaling

See CPU Frequency Scaling.

ACPI

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.

See also

General

Linux on a Dell Inspiron 8500