Difference between revisions of "Dell Inspiron 1525"

From ArchWiki
Jump to: navigation, search
(Added framebuffer resolution)
m (Added Summary)
Line 6: Line 6:
= Summary =
This is a post-install configuration guide for the Dell Inspiron 1525 laptop.
= Hardware Detection =
= Hardware Detection =

Revision as of 17:49, 24 January 2009

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end


This is a post-install configuration guide for the Dell Inspiron 1525 laptop.

Hardware Detection

Hwd provides a list of your hardware and what modules/drivers are needed to get it working. Install from [core]:

# pacman -S hwd

Now run hwd, so we get a nice list.

# hwd -s

 Testing: kernel (2.6.28-ARCH) supports uevents
 HARDWARE DETECT ver 5.4.2 (simple mode)
 Kernel     : 2.6.28-ARCH
 CPU & Cache: Processor 0: Intel(R) Core(TM)2 Duo CPU     T5450  @ 1.66GHz 1662MHz, 2048 KB Cache
			   Processor 1: Intel(R) Core(TM)2 Duo CPU     T5450  @ 1.66GHz 1662MHz, 2048 KB Cache

 Sound(a)   : 82801H ICH8 Family HD Audio Controller module: snd-hda-intel
 Video      : Mobile GM965/GL960 Integrated Graphics Controller server: Xorg (intel)
 Driver     : xf86-video-intel   module: -
 Monitor    : Generic Monitor  H: 28.0-96.0kHz V: 50.0-75.0Hz
 Mouse      : PS/2 Mouse xtype: PS2 device: /dev/psaux
 HDD        : 82801HBM/HEM ICH8M/ICH8ME IDE Controller module: PIIX_IDE
 USB        : 82801H ICH8 Family USB UHCI Controller #3 module: uhci_hcd
 USB2       : 82801H ICH8 Family USB2 EHCI Controller #1 module: ehci_hcd
 SD Slot    : R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter module: sdhci-pci

 Ethernet   : 88E8040 PCIE Fast Ethernet Controller module: sky2
 Network    : PRO/Wireless 3945ABG [Golan] Network Connection module: iwl3945
 Firewire   : R5C832 IEEE 1394 Controller  module: ohci1394


Sound works well on kernel 2.6.28. (From the double headphone jack, only one at the time will work. Fix someone?) Using following commands to get it working without reading ALSA:

# pacman -Sy alsa-lib alsa-utils
# touch /etc/asound.state
# gpasswd -a yourusername audio

Special Hiccups

In recent versions of the kernel (>2.6.25), the card could fade itself to zero volume when a headphone is inserted, irrelevant of all alsa controls. This doesn't apply on every system. To allow normal control of this card, enter the following line into modprobe.conf:

options snd-hda-intel model=3stack


The WXGA monitor is not detected by hwd -s. Here you can find more information about the [laptop displays with 1280×800 as WXGA]. The 24 bit depth is important for Xorg. (2^24 = 16.7 million)

The GM965 chipset is available for Xorg as xf86-video-intel from [extra]. Using following commands to get it working without reading Xorg:

# pacman -S xorg
# pacman -S xf86-video-intel

For keyboard and synaptics, I used Xorg_input_hotplugging; so a working xorg.conf only needs video/screen configuration:

Section "ServerLayout"
	 Identifier	"Xorg Configured"
	 Screen		"LVDS"

Section "Module"
	 Load  "dri"
	 Load  "glx"

Section "Device"
	 Identifier  "Intel GM965"
	 Driver      "intel"

Section "Screen"
	 Identifier "LVDS"
	 Device     "Intel GM965"
	 DefaultColorDepth 24
	 SubSection "Display"
		 Depth	24
		 Modes	"1280x800"
		 Virtual	2048 2048 

Section "DRI"
	 Mode 0666

For other video output, I use xrandr.


Keyboard worked out of the box with Xorg_input_hotplugging. For azerty or other layouts, use a HAL policy.

This is /etc/hal/fdi/policy/10-keymap.fdi for Belgian azerty:

<?xml version="1.0" encoding="ISO-8859-1"?> 
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.keymap">
     <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>

   <match key="info.capabilities" contains="input.keys">
     <merge key="input.xkb.rules" type="string">base</merge>

     <merge key="input.xkb.model" type="string">keyboard</merge>
     <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
       <merge key="input.xkb.model" type="string">evdev</merge>

     <merge key="input.xkb.layout" type="string">be</merge>
     <merge key="input.xkb.variant" type="string" />


Synaptics worked out of the box with Xorg_input_hotplugging. To enable scroll and more, go to Touchpad_Synaptics for more info.

A nice working /etc/hal/fdi/policy/11-x11-synaptics.fdi with tapping and two finger scroll enabled:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.touchpad">
     <match key="info.product" contains="AlpsPS/2 ALPS">
       <merge key="input.x11_driver" type="string">synaptics</merge>
       <merge key="input.x11_options.SHMConfig" type="string">true</merge>
       <merge key="input.x11_options.LeftEdge" type="string">50</merge>
       <merge key="input.x11_options.RightEdge" type="string">900</merge>
       <merge key="input.x11_options.TopEdge" type="string">140</merge>
       <merge key="input.x11_options.BottomEdge" type="string">680</merge>
       <merge key="input.x11_options.ClickFinger1" type="string">1</merge>
       <merge key="input.x11_options.ClickFinger2" type="string">3</merge>
       <merge key="input.x11_options.ClickFinger3" type="string">2</merge>
       <merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge>
       <merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
       <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
       <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
       <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">120</merge>
       <merge key="input.x11_options.HorizScrollDelta" type="string">20</merge>
       <merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
       <merge key="input.x11_options.PressureMotionMinZ" type="string">30</merge>
       <merge key="input.x11_options.PressureMotionMaxZ" type="string">160</merge>
       <merge key="input.x11_options.PressureMotionMinFactor" type="string">1</merge>
       <merge key="input.x11_options.PressureMotionMaxFactor" type="string">1</merge>
       <merge key="input.x11_options.FingerLow" type="string">18</merge>
       <merge key="input.x11_options.FingerHigh" type="string">23</merge>
       <merge key="input.x11_options.FingerPress" type="string">256</merge>
       <merge key="input.x11_options.PalmDetect" type="string">1</merge>
       <merge key="input.x11_options.PalmMinWidth" type="string">10</merge>
       <merge key="input.x11_options.PalmMinZ" type="string">200</merge>
       <merge key="input.x11_options.MinSpeed" type="string">1</merge>
       <merge key="input.x11_options.MaxSpeed" type="string">1.5</merge>
       <merge key="input.x11_options.AccelFactor" type="string">0.10</merge>
       <merge key="input.x11_options.MaxTapMove" type="string">110</merge>
       <merge key="input.x11_options.MaxTapTime" type="string">366</merge>
       <merge key="input.x11_options.MaxDoubleTapTime" type="string">180</merge>
       <merge key="input.x11_options.TapButton1" type="string">1</merge>
       <merge key="input.x11_options.TapButton2" type="string">2</merge>
       <merge key="input.x11_options.TapButton3" type="string">3</merge>
       <merge key="input.x11_options.RTCornerButton" type="string">2</merge>
       <merge key="input.x11_options.RBCornerButton" type="string">3</merge>
       <merge key="input.x11_options.LTCornerButton" type="string">0</merge>
       <merge key="input.x11_options.LBCornerButton" type="string">0</merge>


For wireless ethernet, you are required to get iwlwifi-3945-ucode out of [core].

# pacman -S iwlwifi-3945-ucode

And add iwl3945 to your MODULES array in /etc/rc.conf

MODULES=( ... iwl3945 ... )

USB, SD card slot, Ethernet, Firewire

All work out of the box.

Grub: Framebuffer_Resolution

Add vga=865 to the kernel options

kernel /boot/vmlinuz26 root=/dev/sda3 ro vga=865

Check for more information Grub#Framebuffer_Resolution