Difference between revisions of "Dell Inspiron 1525"

From ArchWiki
Jump to: navigation, search
(Removed nVidia entry (My error, that laptop doesn't have nvidia variant), added Webcam section.)
m (Hardware Detection: Removed video from diferences.)
Line 42: Line 42:
   Firewire  : R5C832 IEEE 1394 Controller  module: ohci1394
   Firewire  : R5C832 IEEE 1394 Controller  module: ohci1394
This is only 1 variant of this notebook. There are different many variants of this notebook. You'll notice differences in CPU, Video and Wireless.
This is only 1 variant of this notebook. There are different many variants of this notebook. You'll notice differences in CPU and Wireless.
A partialy hwd -s of a system used in this wiki differs on these aspects:
A partialy hwd -s of a system used in this wiki differs on these aspects:

Revision as of 07:01, 27 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

This is only 1 variant of this notebook. There are different many variants of this notebook. You'll notice differences in CPU and Wireless.

A partialy hwd -s of a system used in this wiki differs on these aspects:

  1. Processor: Intel Pentium Dual T2370
  2. Wireless card: Broadcom BCM4312 802.11b/g
 CPU & Cache: Processor 0: Intel(R) Pentium(R) Dual  CPU  T2370  @ 1.73GHz 800MHz, 1024 KB Cache
 Network    : BCM4312 802.11b/g module: wl


There are two options to get audio working: ALSA and OSS


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


Just follow the OSS wiki, it's really simple:

# pacman -Sy oss libflashsupport-oss
# gpasswd -a yourusername audio (I don't know if that is needed)

You'll generally get better quality and louder sound than ALSA, but I couldn't find a way to get dual headphone jack working (The case with ALSA is the same, though...)


The notebook comes with Intel GMA 965 (x3100)

The WXGA monitor is not detected by hwd -s. Here you can find more information about Dell 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

If you use framebuffer programs, you'll need xf86-video-fbdev too.

# pacman -S xf86-video-fbdev

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>


We have variations...

Intel PRO wireless

If your hwd -s shows this:

 Network    : PRO/Wireless 3945ABG [Golan] Network Connection module: iwl3945

You are required to get iwlwifi-3945-ucode out of [core].

# pacman -S iwlwifi-3945-ucode

This package is also available [core-devel] on the 2008.06 installer CD.

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

MODULES=( ... iwl3945 ... )

Broadcom BCM4312

If your hwd -s shows this: (as is my case)

 Network    : BCM4312 802.11b/g module: wl 

You need to install broadcom-wl from AUR. Refer to Broadcom_BCM4312 wiki entry.


You need hsfmodem package from AUR in order to get modem working. After you install that package you need to:

  1. Run hsfconfig as root to build the module and initialise the modem. A reboot is required before the modem can be initialised. Run hsfconfig again after reboot.
  2. The modules are automatically loaded and a /dev/modem symlink is setup for use with the modem. Now use wvdial or other dialer programs to connect to the internet.

I didn't test dialing, however I could see the modem device in /dev.


For your webcam you need the uvcvideo module

# modprobe uvcvideo

Add it to your /etc/rc.conf modules line. More information can be found in Webcam_Setup wiki entry.

USB, SD card slot, Ethernet, Firewire, VGA, S-video

All work out of the box.


Not tested. (HDMI should work, intel's driver introdused a lot of fixes for that recently...)

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


Get xbindkeys from [extra]:

# pacman -S xbindkeys

Add 'xbindkeys &' in $HOME/.xinitrc right before your window manager is executed.

Create $HOME/.xbindkeysrc file with:

"amixer set Master 5+ unmute"

"amixer set Master 5- unmute"

"amixer set 'Master' toggle"

#"audioplayer -next"
# XF86AudioNext

#"audioplayer -pause"
# XF86AudioPlay

#"audioplayer -stop"
# XF86AudioStop

#"audioplayer -previous"
# XF86AudioPrev