Difference between revisions of "Dell Inspiron 1520"

From ArchWiki
Jump to: navigation, search
(ATI Mobility Raedon 9600)
(NVIDIA GeForce 8600M GT)
Line 35: Line 35:
 
===NVIDIA GeForce 8600M GT===
 
===NVIDIA GeForce 8600M GT===
 
This config should work with all mobile GeForce chipsets. Install the synaptic package for the touchpad.
 
This config should work with all mobile GeForce chipsets. Install the synaptic package for the touchpad.
 +
  
 
  # **********************************************************************
 
  # **********************************************************************
Line 41: Line 42:
 
   
 
   
 
  Section "Module"
 
  Section "Module"
         Load  "ddc"  # ddc probing of monitor
+
         Load  "ddc"  <nowiki>#</nowiki> ddc probing of monitor
Load  "dbe"
+
        Load  "dbe"
#Load  "dri"
+
        #Load  "dri"
Load  "extmod"
+
        Load  "extmod"
Load  "glx"
+
        Load  "glx"
         Load  "bitmap" # bitmap-fonts
+
         Load  "bitmap" <nowiki>#</nowiki> bitmap-fonts
Load  "type1"
+
        Load  "type1"
Load  "freetype"
+
        Load  "freetype"
Load  "record"
+
        Load  "record"
Load  "synaptics"
+
        Load  "synaptics"
 
  EndSection
 
  EndSection
 
   
 
   
Line 59: Line 60:
 
   
 
   
 
  Section "Files"
 
  Section "Files"
+
        RgbPath      "/usr/share/X11/rgb"
    RgbPath      "/usr/share/X11/rgb"
+
        ModulePath  "/usr/lib/xorg/modules"
ModulePath  "/usr/lib/xorg/modules"
+
        FontPath    "/usr/share/fonts/misc"
FontPath    "/usr/share/fonts/misc"
+
        FontPath    "/usr/share/fonts/75dpi"
FontPath    "/usr/share/fonts/75dpi"
+
        FontPath    "/usr/share/fonts/100dpi"
FontPath    "/usr/share/fonts/100dpi"
+
        FontPath    "/usr/share/fonts/Type1"
FontPath    "/usr/share/fonts/Type1"
+
        FontPath    "/usr/share/fonts/encodings"
FontPath    "/usr/share/fonts/encodings"
+
        FontPath    "/usr/share/fonts/cyrillic"
FontPath    "/usr/share/fonts/cyrillic"
+
   
+
 
  EndSection
 
  EndSection
 
   
 
   
Line 79: Line 78:
 
   
 
   
 
  EndSection
 
  EndSection
 
 
   
 
   
 
  # ******************************
 
  # ******************************
Line 86: Line 84:
 
   
 
   
 
  Section "InputDevice"
 
  Section "InputDevice"
 
+
        Identifier  "Keyboard0"
Identifier  "Keyboard0"
+
        Driver      "keyboard"
Driver      "keyboard"
+
 
         Option      "CoreKeyboard"
 
         Option      "CoreKeyboard"
Option "XkbRules" "xorg"
+
        Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
+
        Option "XkbModel" "pc105"
Option "XkbLayout" "se"
+
        Option "XkbLayout" "se"
 
+
 
  EndSection
 
  EndSection
 
 
   
 
   
 
  # ******************************
 
  # ******************************
Line 102: Line 97:
 
   
 
   
 
  Section "InputDevice"
 
  Section "InputDevice"
 
 
         Identifier      "USB Mouse"
 
         Identifier      "USB Mouse"
 
         Driver          "mouse"
 
         Driver          "mouse"
 
         Option          "Device"                "/dev/input/mice"
 
         Option          "Device"                "/dev/input/mice"
Option "SendCoreEvents" "true"
+
        Option "SendCoreEvents" "true"
 
         Option          "Protocol"              "IMPS/2"
 
         Option          "Protocol"              "IMPS/2"
 
         Option          "ZAxisMapping"          "4 5"
 
         Option          "ZAxisMapping"          "4 5"
 
         Option          "Buttons"              "5"
 
         Option          "Buttons"              "5"
 
 
  EndSection
 
  EndSection
 
   
 
   
 
  Section "InputDevice"
 
  Section "InputDevice"
+
        Identifier      "Touchpad"
Identifier      "Touchpad"
+
 
         Driver          "synaptics"
 
         Driver          "synaptics"
 
         Option  "Device"        "/dev/input/mouse0"
 
         Option  "Device"        "/dev/input/mouse0"
Option  "Protocol"      "auto-dev"
+
        Option  "Protocol"      "auto-dev"
Option  "LeftEdge"      "1700"
+
        Option  "LeftEdge"      "1700"
Option  "RightEdge"    "5300"
+
        Option  "RightEdge"    "5300"
Option  "TopEdge"      "1700"
+
        Option  "TopEdge"      "1700"
Option  "BottomEdge"    "4200"
+
        Option  "BottomEdge"    "4200"
Option  "FingerLow"    "25"
+
        Option  "FingerLow"    "25"
Option  "FingerHigh"    "30"
+
        Option  "FingerHigh"    "30"
Option  "MaxTapTime"    "180"
+
        Option  "MaxTapTime"    "180"
Option  "MaxTapMove"    "220"
+
        Option  "MaxTapMove"    "220"
Option  "VertScrollDelta" "100"
+
        Option  "VertScrollDelta" "100"
Option  "MinSpeed"      "0.06"
+
        Option  "MinSpeed"      "0.06"
Option  "MaxSpeed"      "0.12"
+
        Option  "MaxSpeed"      "0.12"
Option  "AccelFactor" "0.0010"
+
        Option  "AccelFactor" "0.0010"
Option  "SHMConfig"    "on"
+
        Option  "SHMConfig"    "on"
 
+
 
  EndSection
 
  EndSection
 
 
   
 
   
 
  # ******************************
 
  # ******************************
Line 141: Line 131:
 
   
 
   
 
  Section "Monitor"
 
  Section "Monitor"
 
+
        Identifier "Dell Inspiron 1520 WXGA+ LCD"
Identifier "Dell Inspiron 1520 WXGA+ LCD"
+
        Option "DPMS" "true"
Option "DPMS" "true"
+
 
+
 
  EndSection
 
  EndSection
 
   
 
   
Line 153: Line 141:
 
   
 
   
 
  Section "Device"
 
  Section "Device"
+
        Identifier  "NVIDIA GeForce 8600M GT"
Identifier  "NVIDIA GeForce 8600M GT"
+
        Driver      "nvidia"
Driver      "nvidia"
+
        VendorName  "NVIDIA"
VendorName  "NVIDIA"
+
        BoardName  "8600M GT"
BoardName  "8600M GT"
+
        Option "NoLogo" "true"
Option "NoLogo" "true"
+
        Option "AllowGLXWithComposite" "true"
Option "AllowGLXWithComposite" "true"
+
        Option "Coolbits" "1"
Option "Coolbits" "1"
+
        Option "Triplebuffer" "true"
Option "Triplebuffer" "true"
+
        Option "OnDemandVBlankInterrupts" "true"
Option "OnDemandVBlankInterrupts" "true"
+
+
 
  EndSection
 
  EndSection
 
 
   
 
   
 
  # ******************************
 
  # ******************************
Line 172: Line 157:
 
   
 
   
 
  Section "Screen"
 
  Section "Screen"
+
        Identifier "Screen0"
Identifier "Screen0"
+
        Device    "NVIDIA GeForce 8600M GT"
Device    "NVIDIA GeForce 8600M GT"
+
        Monitor    "Dell Inspiron 1520 WXGA+ LCD"
Monitor    "Dell Inspiron 1520 WXGA+ LCD"
+
        DefaultColorDepth 24
DefaultColorDepth 24
+
        SubSection "Display"
SubSection "Display"
+
                Depth    24
Depth    24
+
                Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
+
        EndSubSection
EndSubSection
+
        SubSection "Display"
SubSection "Display"
+
                Depth    32
Depth    32
+
                Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
+
        EndSubSection
EndSubSection
+
+
 
  EndSection
 
  EndSection
 
   
 
   
Line 194: Line 177:
 
   
 
   
 
  Section "ServerLayout"
 
  Section "ServerLayout"
+
        Identifier    "Xorg Configured"
Identifier    "Xorg Configured"
+
        Screen      0  "Screen0" 0 0
Screen      0  "Screen0" 0 0
+
        InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Keyboard0" "CoreKeyboard"
+
        InputDevice "USB Mouse" "CorePointer"
InputDevice "USB Mouse" "CorePointer"
+
 
         InputDevice    "Touchpad" "SendCoreEvents"
 
         InputDevice    "Touchpad" "SendCoreEvents"
 
 
  EndSection
 
  EndSection
 
 
   
 
   
 
  # ******************************
 
  # ******************************
Line 209: Line 189:
 
   
 
   
 
  Section "DRI"
 
  Section "DRI"
    Group "video"
+
        Group "video"
    Mode 0666
+
        Mode 0666
 
  EndSection
 
  EndSection
 
   
 
   
 
  Section "Extensions"
 
  Section "Extensions"
    Option "Composite" "Enable"
+
        Option "Composite" "Enable"
  EndSection
+
EndSection
  
 
==Hardware==
 
==Hardware==

Revision as of 05:00, 20 June 2008


Intro

Summary

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.

To do

  • everything...


Working

  • 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

  • Modem
  • Firewire
  • Infrared

Installation

To do

Kernel

Works with 2.6.24 and 2.6.25 out of the box.

X.org

This is my working xorg.conf:

NVIDIA GeForce 8600M GT

This config should work with all mobile GeForce chipsets. Install the synaptic package for the touchpad.


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

Section "Module"
       Load  "ddc"  # ddc probing of monitor
       Load  "dbe"
       #Load  "dri"
       Load  "extmod"
       Load  "glx"
       Load  "bitmap" # bitmap-fonts
       Load  "type1"
       Load  "freetype"
       Load  "record"
       Load  "synaptics"
EndSection


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

Section "Files"
       RgbPath      "/usr/share/X11/rgb"
       ModulePath   "/usr/lib/xorg/modules"
       FontPath     "/usr/share/fonts/misc"
       FontPath     "/usr/share/fonts/75dpi"
       FontPath     "/usr/share/fonts/100dpi"
       FontPath     "/usr/share/fonts/Type1"
       FontPath     "/usr/share/fonts/encodings"
       FontPath     "/usr/share/fonts/cyrillic"
EndSection


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

Section "ServerFlags"

EndSection

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

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option      "CoreKeyboard"
       Option "XkbRules" "xorg"
       Option "XkbModel" "pc105"
       Option "XkbLayout" "se"
EndSection

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

Section "InputDevice"
       Identifier      "USB Mouse"
       Driver          "mouse"
       Option          "Device"                "/dev/input/mice"
       Option		"SendCoreEvents"	"true"
       Option          "Protocol"              "IMPS/2"
       Option          "ZAxisMapping"          "4 5"
       Option          "Buttons"               "5"
EndSection

Section "InputDevice"
       Identifier      "Touchpad"
       Driver          "synaptics"
       Option  "Device"        "/dev/input/mouse0"
       Option  "Protocol"      "auto-dev"
       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.06"
       Option  "MaxSpeed"      "0.12"
       Option  "AccelFactor" "0.0010"
       Option  "SHMConfig"     "on"
EndSection

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

Section "Monitor"
       Identifier "Dell Inspiron 1520 WXGA+ LCD"
       Option "DPMS" "true"
EndSection


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

Section "Device"
       Identifier  "NVIDIA GeForce 8600M GT"
       Driver      "nvidia"
       VendorName  "NVIDIA"
       BoardName   "8600M GT"
       Option	"NoLogo"	"true"
       Option	"AllowGLXWithComposite"	"true"
       Option	"Coolbits"	"1"
       Option	"Triplebuffer"	"true"
       Option "OnDemandVBlankInterrupts" "true"
EndSection

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

Section "Screen"
       Identifier "Screen0"
       Device     "NVIDIA GeForce 8600M GT"
       Monitor    "Dell Inspiron 1520 WXGA+ LCD"
       DefaultColorDepth 24
       SubSection "Display"
               Depth     24
               Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     32
               Modes "1440x900" "1280x800" "1280x768" "1280x720" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection


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

Section "ServerLayout"
       Identifier     "Xorg Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Keyboard0" "CoreKeyboard"
       InputDevice	"USB Mouse"	"CorePointer"
       InputDevice    "Touchpad" "SendCoreEvents"
EndSection

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

Section "DRI"
       Group "video"
       Mode 0666
EndSection

Section "Extensions"
       Option "Composite" "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 Throttling

Modprobe the modules :

  • cpufreq_conservative
  • cpufreq_ondemand
  • cpufreq_userspace
  • cpufreq_powersave

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

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.

Links

General

Linux on a Dell Inspiron 1520