Running Linux on HP Compaq 2510p notebook

I’ve recently bought HP Compaq 2510p notebook (thanks to MEGAOBCHOD.cz for fast and reliable delivery). I wiped out the default Windows Vista installation and installed KUbuntu 7.10 Gutsy Gibbon on it. There was no problem during installation. Most of the things works out of the box. Here are some basic informations which can help other owners of this notebook using Linux.

HP Compaq 2510p

Graphics card

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

Works fine. Output to external display can be turned on by xrandr tool.

Query (no external monitor connected):

$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
VGA disconnected (normal left inverted right)
LVDS connected 1280x800+0+0 (normal left inverted right) 261mm x 163mm
1280x800 60.0\*+ 60.0
1280x768 60.0
1024x768 60.0
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right)

Query (CRT monitor connected):

$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
VGA connected (normal left inverted right)
1024x768 85.0 84.9 75.1
800x600 84.9 75.0
640x480 84.6 75.0 60.0
720x400 70.1
LVDS connected 1280x800+0+0 (normal left inverted right) 261mm x 163mm
1280x800 60.0\*+ 60.0
1280x768 60.0
1024x768 60.0
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right)

Turn on output to external monitor (automatic configuration):

$ xrandr --output VGA --auto

Turn on output to external monitor (1024x768 resolution):

$ xrandr --output VGA --mode 1024x768

Turn off output to external monitor:

$ xrandr --output VGA --off

Sound card

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)

Module: snd_hda_intel

Works fine.

Ethernet card

00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network
Connection (rev 03)

Module: e1000

Works fine.

Wi-Fi

10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or
AGN Network Connection (rev 61)

Module: iwl4965

Works fine.

Bluetooth

Works fine.

WWAN

Not tested, yet. Probably not included in EU version although there is a SIM card slot under the battery.

Modem

Not tested, yet.

Hard drive

Works fine. If you want to fix (or better say workaround) problem with high frequency of load/unload cycles on some hard disks in Ubuntu (more info), you can do it this way.

Install hdparm:

$ aptitude install hdparm

Put this code into /etc/hdparm.conf:

/dev/sda {
apm = 254
spindown_time = 0
}

And run:

$ update-rc.d hdparm defaults

I recommend you to read more info on this issue before using this technique. It can shorten the time for how long does the notebook work on battery.

SD card reader

02:06.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
02:06.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)

Module: ricoh_mmc

Doesn’t work out of the box in KUbuntu 7.10 Gutsy Gibbon. You need to manually compile the ricoh_mmc module from newer kernel version (howto, thanks to Wojtek). Because of older kernel version in KUbuntu 7.10, you need to add these two lines into ricoh_mmc.c file:

#define PCI_DEVICE_ID_RICOH_R5C832 0x0832
#define PCI_DEVICE_ID_RICOH_R5C843 0x0843

Touchpoint, Touchpad and special keys

Works fine.

Fingerprint reader

Bus 003 Device 004: ID 08ff:2580 AuthenTec, Inc.

Works fine with aes2501 which can be found in aes2501-wy Ubuntu package. It should be working with fprint as well (I didn’t test that, yet).

USB

Works fine.

FireWire

02:06.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)

Not tested, yet.

PCMCIA / CardBus

02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)

Works fine.

ACPI / Power saving

Works fine with powernowd + kde-guidance-powermanager.

Suspend to RAM

Suspend to RAM and resume works fine except it doesn’t restore screen brightness settings which leads to unreadable screen. In order to restore screen brightness level after resume, you need to add this line to /etc/hibernate/common.conf file:

OnResume 20 echo -n 100 \> /proc/acpi/video/C099/C1AE/brightness

It doesn’t respect the actual display brightness power saving settings and set the brightness level to maximum value. Possible values are:

$ cat /proc/acpi/video/C099/C1AE/brightness
levels: 100 51 30 37 44 51 58 65 72 79 86 93 100
current: 0

Another workaround is to push Fn+F9 or Fn+F10 after resume or unplug and plug the power cord.

Suspend to disk

Works fine but it’s slow.

lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:03.0 Communication controller: Intel Corporation Mobile PM965/GM965 MEI Controller (rev 0c)
00:03.2 IDE interface: Intel Corporation Mobile PM965/GM965 PT IDER Controller (rev 0c)
00:03.3 Serial controller: Intel Corporation Mobile PM965/GM965 KT Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
02:06.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
02:06.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
02:06.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)

lsusb

Bus 006 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 004: ID 08ff:2580 AuthenTec, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000

/proc/cpuinfo

CPU is at 800MHz because of dynamic frequency scaling policy.

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU U7600 @ 1.20GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm
constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 2397.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU U7600 @ 1.20GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm
constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 2394.01
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Written on December 2, 2007