https://wiki.archlinux.org/api.php?action=feedcontributions&user=Sduckett&feedformat=atomArchWiki - User contributions [en]2024-03-28T19:50:01ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=HP_Compaq_6510b&diff=72298HP Compaq 6510b2009-07-17T14:04:28Z<p>Sduckett: /* Issues */</p>
<hr />
<div>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.<br />
<br />
= Hardware specifications =<br />
* Intel Core 2 Duo T7100 / T7300<br />
* 2 GB of DDR2 533 Mhz SO-DIMM<br />
* 14.1" 1280x800 WXGA / 1440x900 WXGA+ TFT<br />
* Intel GMA965GM chipset with X3100 onboard GPU<br />
* IPW3945 a/b/g wireless LAN miniPCI with wireless hardware switch<br />
* Broadcom Tigon Gigabit LAN adapter<br />
* Infineon <span title="Trusted Platform Module" style="border-bottom:1px dotted">TPM</span><br />
* AuthenTec AES2501 fingerprint reader<br />
* built-in Bluetooth<br />
* cardreader (supporting SD, MemoryStick, ea.)<br />
* 4x USB 2.0<br />
* 1x FireWire 400 4-pin connector<br />
<br />
= Setup =<br />
<br />
== Intel Core 2 Duo ==<br />
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).<br />
<br />
<br />
== X3100 onboard GPU ==<br />
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:<br />
[stijn@lysithea ~]$ cat /sys/class/graphics/fb0/modes<br />
U:1024x768p-75<br />
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.<br />
<br />
There are modified PKGBUILDs and patches to fix that, but the URLs provided on this page before don't 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.<br />
<br />
== IPW3945 ABG wireless LAN ==<br />
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.<br />
<br />
<b>Note:</b> each driver needs different firmware!<br />
<br />
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.<br />
<br />
== Broadcom NetLink BCM5787M Gigabit LAN ==<br />
No setup required, it just needs the tg3 module.<br />
<br />
<br />
== Suspension and hibernation ==<br />
<br />
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:<br />
<br />
sudo pacman -S pm-utils<br />
<br />
That will install the pm-utils package which contains the programs pm-suspend, pm-hibernate, etc. To suspend to RAM, just do the following:<br />
<br />
sudo pm-suspend<br />
<br />
...and to hibernate...<br />
<br />
sudo pm-hibernate<br />
<br />
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 don't 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.<br />
<br />
== FireWire ==<br />
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.<br />
<br />
<br />
== AuthenTec AES2501 fingerprint reader ==<br />
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><br />
There is a utility called [http://reactivated.net/fprint/wiki/Main_Page fprint] available, together with a libfprint library it depends on. Both are packaged for Arch Linux. The fprint program is still called fprint_demo for the moment, but it works :-).<br />
Integration with the login manager seems possible - for that you'll need amongst others the pam_fprint module installed (find a PKGBUILD [http://aur.archlinux.org/packages/pam_fprint/pam_fprint/PKGBUILD here]). Afer installing the package, run<br />
pam_fprint_enroll<br />
and follow the instructions to scan the finger you want to use for authentication. The next step is to configure PAM. First edit /etc/pam.d/login, and make the first lines look like this:<br />
#%PAM-1.0<br />
auth required pam_securetty.so<br />
auth requisite pam_nologin.so<br />
auth sufficient pam_fprint.so<br />
auth required pam_unix.so nullok<br />
auth required pam_tally.so onerr=succeed file=/var/log/faillog<br />
This will make PAM accept a successful fingerprint scan as a valid login token, if the scan fails, it will fall back to a password. From this moment on, you'll be able to log on with a scan on a tty - enter your username, press Enter, and scan the finger you told pam_fprint_enroll to use as default. VoilĂ :-).<br />
<br />
[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, but this is with the aes2501 kernelspace driver.<br />
<br />
== Tactile strip ==<br />
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 [[Extra_Keyboard_Keys#The_Keytouch_Program|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 ;-)).<br />
As a fancy plus, you'll get a nice OSD when you mute/unmute or change volume.<br />
<br />
== lspci output ==<br />
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)<br />
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)<br />
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)<br />
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)<br />
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)<br />
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)<br />
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)<br />
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)<br />
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)<br />
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)<br />
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)<br />
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)<br />
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)<br />
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)<br />
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)<br />
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)<br />
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)<br />
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)<br />
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)<br />
02:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02)<br />
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)<br />
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)<br />
<br />
<br />
== lsusb output ==<br />
Bus 007 Device 001: ID 0000:0000 <br />
Bus 006 Device 001: ID 0000:0000 <br />
Bus 005 Device 001: ID 0000:0000 <br />
Bus 004 Device 001: ID 0000:0000 <br />
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc. <br />
Bus 003 Device 001: ID 0000:0000 <br />
Bus 002 Device 001: ID 0000:0000 <br />
Bus 001 Device 003: ID 03f0:171d Hewlett-Packard <br />
Bus 001 Device 001: ID 0000:0000<br />
<br />
The AuthenTec device is the fingerprint reader, the Hewlett-Packard one is the Bluetooth module.<br />
<br />
= Issues =<br />
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.<br />
<br />
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:<br />
echo 1 > /proc/acpi/video/*/DOS<br />
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]. It seems this behaviour might be changed again with 2.6.24 (before 2.6.23 the value use to be 1 by default), but until it hits stable there is of course no certainty about that :-).<br />
<br />
This issue still presents itself on 2.6.29-ARCH (2009/07)<br />
<br />
== New XOrg ==<br />
<br />
This section is really straight-forward, but be aware that '''I don't understand most of this'''.<br />
<br />
After a lot of testing I managed to get everything (keyboard and mouse) running again in the new XOrg. '''I don't really understand everything that's going on''', but this is what you do:<br />
<br />
# Remove /etc/X11/xorg.conf (or simply rename it to something else -- just make sure it doesn't get loaded).<br />
# Install "xf86-input-evdev", "hal" and "dbus".<br />
# Add "hal" to the DAEMONS array in /etc/rc.conf. Mine looks like this: DAEMONS=(syslog-ng netfs hal cpufreq crond openntpd wicd sshd alsa mpd slim)<br />
# Note that "hal" loads "dbus" automatically, so you're probably better off not adding "dbus" at all. Also note that the order of the DAEMONS array ''does'' matter. Make sure you put "hal" pretty far back and make sure any XOrg related stuff (such as SLiM) are started ''after'' "hal".<br />
# Make this directory: /etc/hal/fdi/policy/10osvendor/<br />
# Enter the following into the file /etc/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi:<br />
<br />
<?xml version="1.0" encoding="ISO-8859-1"?><br />
<deviceinfo version="0.2"><br />
<device><br />
<match key="info.capabilities" contains="input.touchpad"><br />
<match key="info.product" contains="Synaptics TouchPad"><br />
<merge key="input.x11_driver" type="string">synaptics</merge><br />
<!-- Arbitrary options can be passed to the driver using<br />
the input.x11_options property since xorg-server-1.5. --><br />
<!-- EXAMPLE: --><br />
<merge key="input.x11_options.Device" type="string">/dev/input/mouse0</merge><br />
<merge key="input.x11_options.LeftEdge" type="string">120</merge><br />
<merge key="input.x11_options.LeftEdge" type="string">1700</merge><br />
<merge key="input.x11_options.RightEdge" type="string">5300</merge><br />
<merge key="input.x11_options.TopEdge" type="string">1700</merge><br />
<merge key="input.x11_options.BottomEdge" type="string">4200</merge><br />
<merge key="input.x11_options.FingerLow" type="string">25</merge><br />
<merge key="input.x11_options.FingerHigh" type="string">30</merge><br />
<merge key="input.x11_options.MaxTapTime" type="string">180</merge><br />
<merge key="input.x11_options.MaxTapMove" type="string">220</merge><br />
<merge key="input.x11_options.VertScrollDelta" type="string">100</merge><br />
<merge key="input.x11_options.MinSpeed" type="string">0.10</merge><br />
<merge key="input.x11_options.MaxSpeed" type="string">0.70</merge><br />
<merge key="input.x11_options.AccelFactor" type="string">0.00150</merge><br />
<merge key="input.x11_options.SHMConfig" type="string">on</merge><br />
<merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge><br />
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge><br />
<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge><br />
<merge key="input.x11_options.HorizEdgeScroll" type="string">1</merge><br />
<merge key="input.x11_options.TapButton1" type="string">1</merge><br />
<merge key="input.x11_options.TapButton2" type="string">2</merge><br />
<merge key="input.x11_options.TapButton3" type="string">3</merge><br />
</match><br />
<br />
<match key="info.product" contains="AlpsPS/2 ALPS"><br />
<merge key="input.x11_driver" type="string">synaptics</merge><br />
</match><br />
<match key="info.product" contains="appletouch"><br />
<merge key="input.x11_driver" type="string">synaptics</merge><br />
</match><br />
<match key="info.product" contains="bcm5974"><br />
<merge key="input.x11_driver" type="string">synaptics</merge><br />
</match><br />
</match><br />
</device><br />
</deviceinfo><br />
<br />
After you've followed all of these steps, make sure to restart "hal" and X (if you have already started it). If you don't know how to restart "hal", this is what you do:<br />
<br />
sudo /etc/rc.d/hal restart<br />
<br />
[[Category:Laptops (English)]]</div>Sduckett