Difference between revisions of "HP Compaq 6510b"

From ArchWiki
Jump to: navigation, search
(AuthenTec AES2501 fingerprint reader)
(41 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 +
[[Category:HP]]
 +
[[de:HP Compaq 6510b]]
 
The HP 6510b is a compact yet powerful laptop with a high-resolution screen (if you pick the WXGA+ version). It has been labeled "Novel SuSE Enterprise certified" by HP, which should mean Linux runs fine on it.
 
The HP 6510b is a compact yet powerful laptop with a high-resolution screen (if you pick the WXGA+ version). It has been labeled "Novel SuSE Enterprise certified" by HP, which should mean Linux runs fine on it.
  
= Hardware specifications =
+
== Hardware specifications ==
 
* Intel Core 2 Duo T7100 / T7300
 
* Intel Core 2 Duo T7100 / T7300
 
* 2 GB of DDR2 533 Mhz SO-DIMM
 
* 2 GB of DDR2 533 Mhz SO-DIMM
Line 9: Line 11:
 
* Broadcom Tigon Gigabit LAN adapter
 
* Broadcom Tigon Gigabit LAN adapter
 
* Infineon <span title="Trusted Platform Module" style="border-bottom:1px dotted">TPM</span>
 
* Infineon <span title="Trusted Platform Module" style="border-bottom:1px dotted">TPM</span>
* [https://gna.org/projects/aes2501/ AuthenTec AES2501 fingerprint reader]
+
* AuthenTec AES2501 fingerprint reader
 
* built-in Bluetooth
 
* built-in Bluetooth
 
* cardreader (supporting SD, MemoryStick, ea.)
 
* cardreader (supporting SD, MemoryStick, ea.)
Line 15: Line 17:
 
* 1x FireWire 400 4-pin connector
 
* 1x FireWire 400 4-pin connector
  
= Setup =
+
== Setup ==
  
== Intel Core 2 Duo ==
+
=== CPU Frequency Scaling ===
Automatic frequency throttling and voltage adjustment can be enabled by loading the acpi_cpufreq module (this one is to be preferred over the Intel Speedstep ones; those will be deprecated soon). Install cpufreqd, which will pull in cpufreq-utils along with it. Set up both utilities, and add cpufreqd as a daemon to your DAEMONS=() array (in /etc/rc.conf, that is).
+
  
 +
See the main [[CPU Frequency Scaling]] article.
  
== X3100 onboard GPU ==
+
=== X3100 onboard GPU ===
 
Feature-wise this is an awesome GPU. Opensource drivers that support 3D out of the box. However, it has a problem many of the Intel GPUs have: it will stick to VESA resolutions in the framebuffer. Since the only fitting resolution is 1024x768, that is what you'll when using a framebuffer (on boot, and in a command line environment). You can check what modes the GPU supports like this:
 
Feature-wise this is an awesome GPU. Opensource drivers that support 3D out of the box. However, it has a problem many of the Intel GPUs have: it will stick to VESA resolutions in the framebuffer. Since the only fitting resolution is 1024x768, that is what you'll when using a framebuffer (on boot, and in a command line environment). You can check what modes the GPU supports like this:
 
  [stijn@lysithea ~]$ cat /sys/class/graphics/fb0/modes
 
  [stijn@lysithea ~]$ cat /sys/class/graphics/fb0/modes
 
  U:1024x768p-75
 
  U:1024x768p-75
As you can see this is the only resolution. According to the uvesafb FAQ, if that's all you get, not even uvesafb can fix it up for you. For earlier chipsets (865 and 915 for example) tools like <tt>855resolution</tt> and <tt>915resolution</tt> are available, but the latter does not support the Intel G965M yet. However, there is a patch that fixes that :-). You can find an [http://zero9.org/pkgbuilds/915resolution/PKGBUILD adapted PKGBUILD] and a [http://zero9.org/pkgbuilds/915resolution/965-support.patch patch] here. This allows you to set the 1440x900 resolution, but one needs to dig far deeper into the system to get the system booting in that resolution, it seems.
+
As you can see this is the only resolution. According to the uvesafb FAQ, if that's all you get, not even uvesafb can fix it up for you. For earlier chipsets (865 and 915 for example) tools like {{Ic|855resolution}} and {{Ic|915resolution}} are available, but the latter does not support the Intel G965M yet.
  
 +
There are modified PKGBUILDs and patches to fix that, but the URLs provided on this page before do not exist anymore. They allow you to set the 1440x900 resolution, but one needs to dig far deeper into the system to get the system booting in that resolution, it seems.
  
== IPW3945 ABG wireless LAN ==
+
=== IPW3945 ABG wireless LAN ===
You have two choices for this card, either go with the present (and soon to be phased out) ieee80211 stack, or with the successor, the mac80211 stack. Both are present in the Arch kernel from 2.6.22 on. With the former you'll need Intel's [http://archlinux.org/packages/13310/ proprietary regulatory daemon] and [http://archlinux.org/packages/13309/ firmware], and - last but not least - [http://archlinux.org/packages/14046/ the driver]; the latter does not require any regulatory daemon, but still requires the [http://archlinux.org/packages/13312/ driver] and [http://archlinux.org/packages/13313/ firmware] to be installed.
+
You have two choices for this card, either go with the present (and soon to be phased out) ieee80211 stack, or with the successor, the mac80211 stack. Both are present in the Arch kernel from 2.6.22 on. With the former you'll need Intel's [https://archlinux.org/packages/13310/ proprietary regulatory daemon] and [https://archlinux.org/packages/13309/ firmware], and - last but not least - [https://archlinux.org/packages/14046/ the driver]; the latter does not require any regulatory daemon, but still requires the [https://archlinux.org/packages/13312/ driver] and [https://archlinux.org/packages/13313/ firmware] to be installed.
  
 
<b>Note:</b> each driver needs different firmware!
 
<b>Note:</b> each driver needs different firmware!
  
The radio switch is hardware (it sits on the [[HP_Compaq_6510b#Tactile_strip|tactile strip]]), which is pretty convenient. Just press the button and the radio gets enabled :-).
+
The radio switch is hardware (it sits on the [[HP_Compaq_6510b#Tactile_strip|tactile strip]]), which is pretty convenient. Just touch it and the radio gets enabled. The switch could also be pretty shitty at times, as it will disable radio if you scrape away some dust from the tactile strip.
  
 
+
=== Broadcom NetLink BCM5787M Gigabit LAN ===
== Broadcom NetLink BCM5787M Gigabit LAN ==
+
 
No setup required, it just needs the tg3 module.
 
No setup required, it just needs the tg3 module.
  
  
== Suspend to RAM/disk ==
+
=== Suspension and hibernation ===
I use pm-utils for this, which is pretty straightforward. X tends to hang once in a while after resuming, you can fix this (although not perfectly) by adding the following VBE Tool 'hack' to in /etc/pm/sleep.d/00hacks:<br>
+
#!/bin/bash
+
case $1 in
+
    suspend)
+
        chvt 1
+
        vbetool vbestate save > /tmp/vbe
+
        ;;
+
    resume)
+
        vbetool post
+
        vbetool vbestate restore < /tmp/vbe
+
        chvt 7
+
        ;;
+
esac
+
If your screen remains blank, just try moving your mouse cursor, your screen should display just fine then.<br>
+
Alternatively, you could leave pm-utils alone and add a so-called [http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-try.html quirk] to HAL's info file - 20-video-quirk-pm-hp.fdi to be specific, right below the line that says
+
    <match key="system.hardware.vendor" string="Hewlett Packard">
+
  
This is the quirk I cooked up, following the instructions on the HAL page:
+
In the early days, there were a bunch of different hacks that you had to perform in order to be able to suspend/hibernate your 6510b. Nowadays, all you should need is the following:
      <!--HP 6510b-->
+
      <match key="system.hardware.product" contains="6510b">
+
        <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
+
        <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge>
+
      </match>
+
  
From hal-info 20071212 on HAL provides this quirk out of the box - no more meddling needed :-). The HAL quirk means the vbetool lines are no longer necessary in the 00hacks file. You'll still need to change virtual terminal though to have X resume correctly!<br>
+
sudo pacman -S pm-utils
A third alternative would be to add some VbeTool options to your Xorg.conf, that seems to do the trick too. Haven't tried it myself, however.
+
  
If you are using Xfce, you can suspend to RAM or disk from the Xfce logout dialog. You do need a modified session manager for this though. You can find the [http://zero9.org/pkgbuilds/xfce4-session/logout_dialog-suspend-hibernate.patch patch that adds that functionality] and the corresponding [http://zero9.org/pkgbuilds/xfce4-session/PKGBUILD PKGBUILD] online.
+
That will install the pm-utils package which contains the programs pm-suspend, pm-hibernate, etc. To suspend to RAM, just do the following:
  
Suspend to disk works fine with the 2.6.22 kernels (at least up to 2.6.22.9). Newer kernels do not seem able to suspend to disk without needing the
+
  sudo pm-suspend
  highres=off nohz=off
+
options in grub.conf.
+
  
== FireWire ==
+
...and to hibernate...
 +
 
 +
sudo pm-hibernate
 +
 
 +
Pretty straight-forward! There is also a "hybrid", called pm-suspend-hybrid. What this does is that it does everything it needs to hibernate and then ''suspends'' the computer instead of shutting it down, as it normally would when hibernating! So if you do not run out of power during this suspended state, you can start the computer up again as if it was a normal supension&mdash;if you do run out of power, it would just act like a normal hibernation.
 +
 
 +
=== FireWire ===
 
FireWire is supported out of the box, however, for FireWire HD support, you might need to load the sbp2 module (that is, if you are using the common stack, since a new one is in the works and already present in the kernel). You have the common stack if you run stock Arch kernels.
 
FireWire is supported out of the box, however, for FireWire HD support, you might need to load the sbp2 module (that is, if you are using the common stack, since a new one is in the works and already present in the kernel). You have the common stack if you run stock Arch kernels.
  
  
== AuthenTec AES2501 fingerprint reader ==
+
=== AuthenTec AES2501 fingerprint reader ===
As duly pointed out on the forums, fingerprint readers are more a threat to your privacy than a safeguard. Your fingerprints (unless you are paranoid and type with gloves on) are likely to be all over your keyboard, rendering the 'security' purpose of this device useless. Keep this in mind if you intend to use the reader as a replacement for your password; fingerprints can be duplicated easily with basic stuff (graphite ea.).<br>
+
See [[fprint]].
A driver can be downloaded [https://gna.org/projects/aes2501/ here], a PKGBUILD can be found [http://zero9.org/pkgbuilds/aes2501/PKGBUILD here]. You will also need a userspace utility to scan your initial fingerprint and save it for authentication purposes, called aes2501-wy. [http://packages.debian.net/unstable/graphics/aes2501-wy Debian] seems to be the only distro having a package, but then again, those guys package everything ;-).<br> The vanilla sources do not seem to work at all, while the Debian package does to a certain extent: it runs, but doesn't see my finger.
+
[http://bbs.archlinux.org/viewtopic.php?id=36134 On the forum] you can also find a topic that covers setting up your fingerprint reader with PAM and SLiM.
+
The aes2501 driver will not suspend correctly, so you'll have to add a module probe and a module removal to the 00hacks file you created previously.
+
  
 
+
=== Tactile strip ===
== Tactile strip ==
+
This laptop sports a fancy tactile strip, providing some extra buttons as well as volume control (toggling mute and changing volume). I have not tried yet to get [http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html hal working for my multimedia keys] yet, the present solution works fine. Enter [[keytouch]]: The HP NC6320 settings (pre-supplied by keytouch) seem to work just fine for muting & adjusting the volume. The 'Help' key (left to the radio switch) fires up your DE's help center if everything goes well, the button to the right is recognised too (you have to configure it though ;-)).
This laptop sports a fancy tactile strip, providing some extra buttons as well as volume control (toggling mute and changing volume). Since hal seems not to be working yet for the quirks, I didn't bother trying to [http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html get hal working for my multimedia keys] either. That's where [[Extra_Keyboard_Keys#The_Keytouch_Program|keytouch]] steps in. The HP NC6320 settings (pre-supplied by keytouch) seem to work just fine for muting & adjusting the volume. The 'Help' key (left to the radio switch) fires up your DE's help center if everything goes well, the button to the right is recognised too (you have to configure it though ;-)).
+
 
As a fancy plus, you'll get a nice OSD when you mute/unmute or change volume.
 
As a fancy plus, you'll get a nice OSD when you mute/unmute or change volume.
  
 
+
=== lspci output ===
== lspci output ==
+
 
  00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
 
  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.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Line 116: Line 95:
  
  
== lsusb output ==
+
=== lsusb output ===
 
  Bus 007 Device 001: ID 0000:0000   
 
  Bus 007 Device 001: ID 0000:0000   
 
  Bus 006 Device 001: ID 0000:0000   
 
  Bus 006 Device 001: ID 0000:0000   
Line 128: Line 107:
  
 
The AuthenTec device is the fingerprint reader, the Hewlett-Packard one is the Bluetooth module.
 
The AuthenTec device is the fingerprint reader, the Hewlett-Packard one is the Bluetooth module.
 
== Issues ==
 
People running kernel 2.6.23 on this laptop experience hard lockups when they close the laptop lid. 2.6.22 does not have this problem. It seems also 6710b owners are affected.
 
 
This is due to a fix in the ACPI video driver in 2.6.23; however, this messes things up for some hardware... You can fix it by putting this in rc.local:
 
echo 1 > /proc/acpi/video/*/DOS
 
More info on this 'fix' can be found on [http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.23.y.git;a=commitdiff;h=a21101c46ca5b4320e31408853cdcbf7cb1ce4ed here].
 
 
==Useful links==
 
 
[[Category:Laptops (English)]]
 

Revision as of 17:35, 14 January 2014

The HP 6510b is a compact yet powerful laptop with a high-resolution screen (if you pick the WXGA+ version). It has been labeled "Novel SuSE Enterprise certified" by HP, which should mean Linux runs fine on it.

Hardware specifications

  • Intel Core 2 Duo T7100 / T7300
  • 2 GB of DDR2 533 Mhz SO-DIMM
  • 14.1" 1280x800 WXGA / 1440x900 WXGA+ TFT
  • Intel GMA965GM chipset with X3100 onboard GPU
  • IPW3945 a/b/g wireless LAN miniPCI with wireless hardware switch
  • Broadcom Tigon Gigabit LAN adapter
  • Infineon TPM
  • AuthenTec AES2501 fingerprint reader
  • built-in Bluetooth
  • cardreader (supporting SD, MemoryStick, ea.)
  • 4x USB 2.0
  • 1x FireWire 400 4-pin connector

Setup

CPU Frequency Scaling

See the main CPU Frequency Scaling article.

X3100 onboard GPU

Feature-wise this is an awesome GPU. Opensource drivers that support 3D out of the box. However, it has a problem many of the Intel GPUs have: it will stick to VESA resolutions in the framebuffer. Since the only fitting resolution is 1024x768, that is what you'll when using a framebuffer (on boot, and in a command line environment). You can check what modes the GPU supports like this:

[stijn@lysithea ~]$ cat /sys/class/graphics/fb0/modes
U:1024x768p-75

As you can see this is the only resolution. According to the uvesafb FAQ, if that's all you get, not even uvesafb can fix it up for you. For earlier chipsets (865 and 915 for example) tools like 855resolution and 915resolution are available, but the latter does not support the Intel G965M yet.

There are modified PKGBUILDs and patches to fix that, but the URLs provided on this page before do not exist anymore. They allow you to set the 1440x900 resolution, but one needs to dig far deeper into the system to get the system booting in that resolution, it seems.

IPW3945 ABG wireless LAN

You have two choices for this card, either go with the present (and soon to be phased out) ieee80211 stack, or with the successor, the mac80211 stack. Both are present in the Arch kernel from 2.6.22 on. With the former you'll need Intel's proprietary regulatory daemon and firmware, and - last but not least - the driver; the latter does not require any regulatory daemon, but still requires the driver and firmware to be installed.

Note: each driver needs different firmware!

The radio switch is hardware (it sits on the tactile strip), which is pretty convenient. Just touch it and the radio gets enabled. The switch could also be pretty shitty at times, as it will disable radio if you scrape away some dust from the tactile strip.

Broadcom NetLink BCM5787M Gigabit LAN

No setup required, it just needs the tg3 module.


Suspension and hibernation

In the early days, there were a bunch of different hacks that you had to perform in order to be able to suspend/hibernate your 6510b. Nowadays, all you should need is the following:

sudo pacman -S pm-utils

That will install the pm-utils package which contains the programs pm-suspend, pm-hibernate, etc. To suspend to RAM, just do the following:

sudo pm-suspend

...and to hibernate...

sudo pm-hibernate

Pretty straight-forward! There is also a "hybrid", called pm-suspend-hybrid. What this does is that it does everything it needs to hibernate and then suspends the computer instead of shutting it down, as it normally would when hibernating! So if you do not run out of power during this suspended state, you can start the computer up again as if it was a normal supension—if you do run out of power, it would just act like a normal hibernation.

FireWire

FireWire is supported out of the box, however, for FireWire HD support, you might need to load the sbp2 module (that is, if you are using the common stack, since a new one is in the works and already present in the kernel). You have the common stack if you run stock Arch kernels.


AuthenTec AES2501 fingerprint reader

See fprint.

Tactile strip

This laptop sports a fancy tactile strip, providing some extra buttons as well as volume control (toggling mute and changing volume). I have not tried yet to get hal working for my multimedia keys yet, the present solution works fine. Enter keytouch: The HP NC6320 settings (pre-supplied by keytouch) seem to work just fine for muting & adjusting the volume. The 'Help' key (left to the radio switch) fires up your DE's help center if everything goes well, the button to the right is recognised too (you have to configure it though ;-)). As a fancy plus, you'll get a nice OSD when you mute/unmute or change volume.

lspci output

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: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:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (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 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
02:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)


lsusb output

Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc. 
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 003: ID 03f0:171d Hewlett-Packard 
Bus 001 Device 001: ID 0000:0000

The AuthenTec device is the fingerprint reader, the Hewlett-Packard one is the Bluetooth module.