Jan Krupa

Running Linux on HP Compaq 2510p notebook

December 2nd, 2007

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.

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 (1024×768 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/com­mon.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:

Useful links

TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones

22 Comments »

  1. I talked to an HP rep today (HP Sweden) about this particular notebook, and he said that all models are ready for WWAN, however the module needed to actually make it work is an optional extra today and will be made available as an aftermarket upgrade shortly. I guess that’s why your computer has a SIM card slot even though it sounds like you didn’t get the WWAN verison.

    Comment by Daniel Jonsson — January 16, 2008 @ 6:38 pm

  2. Sounds good. Thank you for info, Daniel. If you are going to buy WWAN module, it will be great if you can share your experience with using it in Linux.

    Comment by Plnt — January 16, 2008 @ 6:56 pm

  3. About how much battery life would you say you get on the 2510p? Also, which battery do you have? I’m considering purchasing this laptop but I’m having difficulty determining how much battery life to expect.

    Comment by Michael Leuchtenburg — February 1, 2008 @ 7:27 pm

  4. Thanks to you, I finally got my external monitor up and running, thanks alot.
    For some reasons some modules weren’t automatically loaded after updating and rebooting my Gutsy after install. So I had to create a list in /etc/modules. Here it is, in case someone has a similar problem (Maybe Xorg is not starting, external mouse is not reacting, wireless is not working, maybe usb sticks are not found and mounted, and so on) :

    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with “#” are ignored.

    loop
    lp
    rtc
    sbp2
    fuse
    # had to add this manually:
    psmouse
    intel_agp
    evdev
    usbmouse
    usb_storage
    # sensor modules
    coretemp

    Hope this helps

    greets

    Comment by barachiel — April 8, 2008 @ 9:58 pm

  5. hi. i have this laptop, and it’s just great. i’m using default OS and ubuntu 7.10, which works perfect. I can strongly recommend this pc.

    this article helped me a lot with configuration ;)

    Comment by maciek — April 21, 2008 @ 2:14 pm

  6. Hi to all interested for Linux on laptops,

    card reader works with kernel 2.6.25. You can use the driver on other systems. Description how I’ve done it on my system is here: http://80.237.160.189/wikka/wikka.php?wakka=HP2510pCardReader.

    Greetz

    Wojtek

    Comment by wojtek — May 27, 2008 @ 7:31 pm

  7. Hi Wojtek

    Works fine in KUbuntu 7.10 Gutsy Gibbon. I just had to patch the ricoh_mmc.c and add these two lines of code:

    #define PCI_DEVICE_ID_RI­COH_R5C832 0×0832

    #define PCI_DEVICE_ID_RI­COH_R5C843 0×0843

    I'll update the blogpost.

    Thanks for info!

    Comment by Plnt — May 28, 2008 @ 12:09 pm

  8. Can you explain more on fingerprint sensor?

    empty@vkk:~$ aes2501
    argc=1 Initializing, please standby…
    aesSetup()…
    aesStartScan()…
    READY (touch the sensor to stop)
    Scanning…
    Assembling…
    sh: display: not found

    Comment by empty — July 3, 2008 @ 12:29 am

  9. empty: You need to install imagemagick package:
    aptitude install imagemagick

    It should work after that:
    $ aes2501
    argc=1 Initializing, please standby…
    aesSetup()…
    aesStartScan()…
    READY (touch the sensor to stop)
    Scanning…
    Assembling…

    READY (touch the sensor to stop)

    Comment by Plnt — July 5, 2008 @ 1:07 pm

  10. Thanks, could you please explain more to get it working with login-in?

    Any guide you used etc?

    /empty

    Comment by empty — July 7, 2008 @ 1:28 am

  11. I get the following error:

    argc=1 Initializing, please standby…
    aesSetup()…
    aesStartScan()…
    READY (touch the sensor to stop)
    Scanning…
    Assembling…
    No protocol specified
    display: unable to open X server `:0.0'.

    What to do?

    Comment by Rene — September 22, 2008 @ 3:42 pm

  12. Rene: You didn't wrote any details but I guess that you ran it in root terminal without access to X (like gnome terminal – „su -“ – aes2501).

    Comment by Plnt — September 22, 2008 @ 4:09 pm

  13. Does any 2510p owners have problems with configuring touchpad to your liking? Mine seems to be very hard to get used to! I've tracked the problem to different speeds on the x/y axes: pointer moves faster when traveling in vertical direction than in horizontal.

    I've wrote a question about the problem here:
    http://lists.freedesktop.org/…/038977.html
    http://lists.freedesktop.org/…/038981.html

    but I would like to rule out hardware problems and I was hoping that somebody could help me by checking what x and y coordinates your touchpad returns on HP Compaq 2510p (comparing to my values in above posts).

    The values can be seen by running „synclient -m 100“ and moving your finger on top/bottom and left/right corners of the touchpad.

    Synclient requires following line:

    Option „SHMConfig“ „true“

    on InputDevice section for „Synaptics Touchpad“ in /etc/X11/xorg.conf.

    Comment by Tero — September 28, 2008 @ 10:36 pm

  14. Hey

    iam trying to install kubuntu 7.10 on my 2510p but i keep getting an ata1.00: exception emask 0X0 and so on error.

    the laptop is new an has no problems with installing xp,tryed irqpoll, and all_generic_ide but nothing works, and turning of the floppy usb thing in bios

    can anyone give an idea to how to move on, i realy need to install it hate xp

    Comment by allan — February 12, 2009 @ 10:03 am

  15. Hi allan,

    I'm currently using Kubuntu Hardy 8.04 which I upgraded from Kubuntu 7.10 without any major problems. Did you try to download the latest Ubuntu/Kubuntu Intrepid Ibex 8.10 ISO image and install from that?

    http://www.ubuntu.com/…ntu/download

    Comment by Plnt — February 13, 2009 @ 2:10 pm

  16. Yes i downloaded the new version, also tryid downloading ubuntu 8.10 and so on
    it happens with every linux distro i try.

    But i have read that it is recommended to try the alternat version, this apparantly
    a problem that many have not only with the 2510p but also with other systems.

    ill try the alternat version an write here if it helps.

    Comment by Allan — February 13, 2009 @ 2:43 pm

  17. well now i tryed installing the alternate version with no luck, when you install your system do you install it on an clean system ?

    Comment by Allan — February 16, 2009 @ 7:41 pm

  18. Yep, exactly like that. I used the normal Kubuntu install CD, deleted Windows Vista which was installed by default and installed Kubuntu. I've got TOSHIBA MK1011GAH 100 GB hard drive in my notebook.

    Comment by Plnt — February 16, 2009 @ 7:48 pm

  19. OK well it wont work on my machine, read that it was a problem wich would be fixed so ill just wait thx for help.

    Comment by Allan — February 16, 2009 @ 9:06 pm

  20. Just for info, i finally fixed the problem.

    it turned out to be my harddrive that apperently was formated an reinstalled to many times,

    so via the hp bios i did a HD test which said read error, then i used via the bios the disk sanitizer which deleted my HD (like kill disk)

    after that i could install Ubuntu without any probs

    Comment by Allan — February 20, 2009 @ 5:45 pm

  21. Great to hear that, Allan. Thanks for update.

    Comment by Plnt — February 20, 2009 @ 5:47 pm

  22. I have this same laptop and I have installed Linux Ubuntu 9.10, but I cant get any of the drivers that I need to work. My main concern is the wireless, and possibly the sound. I'm curious if anyone has had this problem with 9.10 or if I may be doing something wrong. I know that this is an old thread but I'm hoping for some help. Thanks.

    Comment by RCG — April 23, 2010 @ 5:29 am

RSS feed for comments on this post.

Leave a comment

Enter this code: