Dell Studio XPS 13

From ArchWiki
Revision as of 17:33, 5 July 2009 by Zell 987 (talk | contribs) (HDD standby)
Jump to: navigation, search

I have just bought a new Dell Studio XPS 13. I haven't been able to find any information for installing Arch Linux on this machine. It is a very nice looking laptop, and runs fast and smooth. I have had a successful install (32-bit only, 64-bit). I still have a few things to get working, like the Bluetooth, and media buttons.

System Specs:

  • Processor
    • Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
  • RAM Memory
    • 4 GB DDR3
  • Webcam
    • 2.0 Megapixel Webcam
  • Hard Disk
    • 320GB SATA 7200 rpm HDD
    • 500GB SATA 7200 rpm HDD
  • Video Card
    • NVIDIA 9400M
    • NVIDIA 9500M (9400M G + 9200M GS)
  • Wireless
    • Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller
    • Atheros Communications Inc. AR928X Wireless Network Adapter

The basic installation performs normally, with the core cd, also the wireless modules ( Atheros wifi card ) were well recognised and worked out of the box.

Video Card

Nvidia 9500 M (9400+9200)

It works well with this /etc/X11/xorg.conf, the really important feature is Busid "PCI:3:0:0". There are also some touchpad configuration with two-finger scrolling and tapping.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"

Section "Files"

Section "Module"
	Load "dbe"
	Load "extmod"
	Load "type1"
	Load "freetype"
	Load "glx"
	Load "synaptics"

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "synaptics"
    Option         "Protocol" "auto-dev"
    Option         "Device" "/dev/psaux"
    Option         "SendCoreEvents" "true"
    Option         "VertScrollDelta"   "80"
    Option         "HorizScrollDelta"   "80"
    Option         "SHMConfig"   "on"
    Option         "Emulate3Buttons"   "on"
    Option         "VertTwoFingerScroll" "true"
    Option         "HorizTwoFingerScroll" "true"
    Option         "EmulateTwoFingerMinZ" "10"
    Option         "TapButton1" "1"
    Option         "TapButton2" "2"
    Option         "TapButton3" "3"

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "SLI" "Auto"
    Option         "NoLogo" "true"
    Option         "DPMS" "true"
    Option         "TripleBuffer" "true"
    # Reduces the interrupts
    Option         "OnDemandVBlankInterrupts" "True"
    #force Powermizer to a certain level at all times
    ## level 0x1 = highest
    ## level 0x2 = med
    ## level 0x3 = lowest
#    Option "RegistryDwords" "PowerMizerLevelAC=0x3"
#    Option	"RegistryDwords"	"PowerMizerLevel=0x3"
    # Auto powermizer option
#   Option         "RegistryDwords" "PerfLevelSrc=0x3333"
    Busid          "PCI:3:0:0"
    Option         "RenderAccel" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "AddARGBLXVisuals" "On"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "False"
    SubSection     "Display"
        Depth       24
Section "Extensions"
	Option "Composite" "Enable"

Power Management

HDD standby

If you, for example, install laptop-mode-tools you will have some issues with the HDD standby function. You have to set in your /etc/fstab the mount option "noatime". If not, there will be too numerous disk-write accesses that deactivates the standby state. This the alternance of active/standby states can cause a quicker degrade of your HDD (don't know how much). For example this /etc/fstab section uses some useful options:

/dev/sda1 / ext4 defaults,noatime,nobh,commit=100 0 1
/dev/sda3 /home ext4 defaults,noatime,commit=100,data=writeback,nobh 0 1
/dev/sda2 swap swap defaults 0 0

Attention, don't use the option data=writeback in the root partition. However you can set laptop-mode-tools configuration file to avoid the hdd powersaving control. Please refer to the HDD section in Laptop page.

Hybernation - Suspend

This feature works very well, the only thing you have to set is your /boot/grub/menu.lst , if you don't set the option "resume" your computer doesn't resume after hybernation, so add resume=/your/swap/partition like in this example:

title  Arch Linux
root   (hd0,4) # It depends on your device
kernel /boot/vmlinuz26 root=/your/root/device ro resume=/your/swap/partition
initrd /boot/kernel26.img