[an error occurred while processing this directive]

Linux on a HP zd8000 series laptop

Linux On Laptops

 

 

 

 

 

Introduction

I recently purchased a zd8000 series Pavilion laptop from HP. This page details what works, what doesn't, and some configuration issues.

 

zd8000zd8000

 

Components (from HP's website)

 

A quick table on what works

Feature/Hardware Status
X Works using "vesa" driver in Xorg 6.7.0 and "radeon" driver in Xorg 6.8.2
Sound Works with some minor issues, see below
PCMCIA Works
Modem Not tested
Network (ethernet) Works
Network (wireless) Works with some modifications
DVD Writer Works
Bluetooth Works
Firewire Not tested, but hardware detected
Flash Media Device No worky
Application Keys Volume related keys only

 

Output of lspci

00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Processor to I/O Controller (rev 0e)
00:01.0 PCI bridge: Intel Corporation 915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 0e)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
0b:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
0b:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0b:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
0b:00.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
0b:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0b:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Installation

When I got the laptop it came with Windows XP Home edition. After booting into Windows to finish laptop configuration, I booted the system using Knoppix 4.0.2 so that I could resize the XP NTFS partition using QtParted and make room for Linux.

Resizing using QtParted and Knoppix 4.0.2

Assuming you've downloaded the Knoppix image and burned it to CD/DVD, boot the laptop using the disk and wait for knoppix to finish coming up. Once done, click the "K" in the lower left corner of the screen, go to the "System" menu, and choose "QtParted". Select your NTFS partition, right click and choose resize, then enter the size in MB that you want the partition. Then just click File -> Commit, and you're done. You can reboot into Windows to verfiy the partition size has changed.

Installing Linux

I chose to install Fedora Core 4 on the system, but for some reason the LCD would blank out everytime I tried to install. Fortunately FC 2 installed with no problems. In FC2 the only available display driver for X was "vesa", and the maximum resolution was 1280x1024. Because of the troubles installing FC4 using the CDs, I used yum and ugraded to FC3, and from there to FC4. The upgrades had no problems. The notes below are based on the system running FC4.

Update: To install FC4 from installation media and avoid the "white screen of death", when the install CD boots, start linux as "linux nofb".

X

With FC4 I've used the "radeon" driver to push the display up to 1152x864. I also installed the proprietary ATI Radeon drivers, which took the display up to its full 1440x900 resolution. It could also be that I didn't have the radeon driver configured correctly to get the max resolution. My ATI xorg.conf is located here, and the radeon (open source) configuration is located here. The only real difference between the two is that the radeon does not provide 3D support, and movies/videos don't play at the full 1400x900 resolution, there are black bars on the sides.

According to ATI's website TV out works with the proprietary drivers. I have yet to get any output from the S-video out on the laptop.

Update: It looks like user error was holding down output from the S-Video out. TV out worked once the proper mode lines were added to xorg.conf. See the link above for the updated ATI xorg.conf. Xv overlay had to be disabled for xine or mplayer output to show up on the TV.

Networking

The integrated network device is a Realtek RTL-8139 100MB device. The relevant driver is the 8139too.

The integrated wireless card is the Broadcom AirForce One 54g. Since there is no native Linux driver for this device the only option is to use a separate WiFi card or the ndiswrapper driver. Check the list of supported cards to locate the correct driver. Simply search for the PCI ID of the device, in this case 14e4:4318. Then follow the installation instructions. It was ridiculously easy.

Update: After upgrading to the 2.6.17 kernel, I found that the Broadcom device is now supported by the kernel (this version and higher). The relevant driver is called bcm43xx and is originally from the Broadcom 43xx Open Source project site.

Unfortunately, you'll still need the Windows drivers so that you can extract the firmware from the bcmwl5.sys file using the bcm43xx-fwcutter tool from the website mentioned above. After that, the device should be recognized as 'eth1' and work just as it did under ndiswrapper.

Sound

The sound driver is the snd-intel8x0. This worked find with the initial 2.6.9 kernel I was running, but failed after an upgrade to the 2.6.14. The error I would get was

amixer: Unable to find simple control 'PCM-2',0

amixer: Unable to find simple control 'DRC Range',0

This was corrected by adding the following to /etc/rc.local:

# sound card fix for 2.6.14
rmmod snd_intel8x0
modprobe snd_intel8x0

Modem

Supported by the snd-intel8x0m driver in kernel 2.6.13 and above (alsa 1.0.9b and above), but to get any actual usage out of it you need the slmodem package.

Cpuspeed

This laptop comes with a desktop P4 processor, so the fan is continuously running and the processor is generating lots of heat unless you enable cpuspeed. Once it was enabled the system ran a lot quieter and cooler. Here's my /etc/cpuspeed.conf:

JOR=1
VMINOR=1

# uncomment this and set to the name of your CPUFreq module
DRIVER="p4-clockmod"

# Let background (nice) processes speed up the cpu
OPTS="$OPTS -n"


PCMCIA/FlashMedia Reader (6-in-1)

No problems with pcmcia, but the Flash reader is currently unusable

Bluetooth

Not tested and not sure if the ndiswrapper enabled it. Perhaps when I get some more free time on my hands.

Update: I configured bluetooth using the guidelines located at Guru Labs and now the bluetooth device is identified and scans successfully.

I used openOBEX and KDE Bluetooth to pair with my cell phone and browse it as if it were another filesystem.

powerslave: ~$ hcitool dev
Devices:
        hci0    00:10:C6:E5:42:5A

powerslave: ~$ hcitool scan
Scanning ...
        00:02:EE:2E:E9:25       Nokia 6820

Touchpad

Works well with synaptics driver. See the xorg.conf files for configuration.

The touchpad has horizontal ridges on its right side, with up/down arrows at each end. In KDE at least, if you tap on the /\ arrow it acts as a center mouse button click, even if you have 3 button emulation turned on. Tapping on the \/ arrow acts as a right click.

Application keys

These keys are located at the top of the keyboard. There is a "volume down", "mute", "volume up", "dvd", and "music". The volume related keys can be enabled in Gnome using the Keyboard Shortcuts dialog (Desktop -> Desktop Preferences -> Keyboard Shortcuts).

In KDE, I went into kcontrol -> Region & Accessibility -> Keyboard Layout, and changed the layout from "Microsoft Natural" to "Microsoft Natural Keyboard Pro / Microsoft Interet Keyboard Pro". I then restarted KDE and the volume keys worked.

The "dvd" and "music" keys don't seem to send keycodes that the system recognizes, so at this time they're unusable.

Miscellaneous

lm_sensors: only the eeprom driver worked, basically giving memory information.

/etc/modprobe.conf

# ethernet
alias eth0 8139too

# sound
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2&gt&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-intel8x0

# usb
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

# ndiswrapper for broadcom 
alias wlan0 ndiswrapper

# I2C module options
alias char-major-89 i2c-dev

Another page covering the zd8000 is located here.

 

[an error occurred while processing this directive]