Translation(s): none

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Models covered
?EliteBook 8540w, p/n NU486AV This designation applies to a number of different configurations of laptop produced by HP. This page applies to the following configuration:

Sub-components :

Overall Status

Core Components

[ATTACH]

Boot Standard Kernel:

{OK}

LAN network card:

{OK}

Detect CD/DVD:

{OK}

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

{OK}

Hibernation

/!\

Sleep / Suspend

/!\

Xorg

{OK}

- OpenGL

{OK}

- Resize-and-Rotate(randr)

{OK}

Switch to External Screen

[?]

Mouse

- Built-in (Trackpoint)

[?]

- Built-in (Touchpad)

[?]

Modem

[?]

Wireless/Wifi

X-(

Bluetooth

{OK}

Keyboard's Hotkeys

[?]

Camera

{OK}

USB3

[?]

Firewire

[?]

Media Card Reader

{OK}

Express Card

[?]

Smart Card

[?]

eSata

{OK}

Ambient light sensor

{i}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a non-free driver and or firmware

Important Note

Using BIOS version: 68CVD V. F.0E

Configuration

Kernel

kacpid bug

There is a bug where the kernel's kacpid thread uses almost 100% of a single CPU core. The fix is to add this to /etc/rc.local:

Note that this bug only happened once I installed the Nvidia X.org video driver.

More details here:

Display

Laptop has an nVidia Corporation GT216 [NVS 5100M] video chip. The Nouveau X.org driver works fine with one exception. Suspend/hibernate do not work with the nouveau x.org driver which is the default driver for new installs

Using the proprietary Nvidia drivers will allow the system to suspend/hibernate and resume successfully. To install:

  1. Install nvidia-kernel-dkms and all of its dependencies
  2. Back up your current xorg.cong
  3. Replace your current xorg.conf with:

    Section "Module"
        Load        "glx"
    EndSection
    
    Section "Device"
        Identifier  "Video Card"
        Driver              "nvidia"
    EndSection
  4. Reboot

Audio

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
  PCI ID 8086:3b56 
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
  PCI ID 10de:0be2

Crackly sound at reboot or shutdown. Suspect that audio output from chip to amp is not being put in an high impedance state when the drivers are being disabled.

Keyboard hotkeys

Toggling the touchpad on/off button sometimes causes a strange focus problem where the keyboard presses are not going to the window on top. The only fix is to switch to the console and back. Only happens the first time the button is pressed in a login session.

I suspect that the touchpad button is related to the general problems with the pointing devices covered in the next section.

Mouse

Power Management

Hibernation fails miserably using the Nouveau X.org driver.

Installing the Nvidia driver will allow the system to sleep and wake up but most of the time it wakes with a black screen. Switching to the virtual terminal (CTRL-ALT-Fx) that has X.org running will get you back to the desktop.

The /var/log/pm-suspend.log log showed:

...
/usr/lib/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
success.
Sun Mar 27 10:19:30 CDT 2011: performing suspend
Sun Mar 27 10:27:48 CDT 2011: Awake.
Sun Mar 27 10:27:48 CDT 2011: Running hooks for resume
/usr/lib/pm-utils/sleep.d/99video resume suspend:Couldn't get a file descriptor referring to the console
VT_DISALLOCATE: Device or resource busy
deallocvt: could not deallocate console 63
Returned exit code 1.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
...

To fix this create /etc/pm/config.d/10no-vt-switch:

ADD_PARAMETERS=" --quirk-no-chvt "

Ethernet

Found that it does not work with my low-end gigabit switch( DLink DGS-2208 ). Trouble negotiating a link. First time this has happened with the switch. Unsure if it is a hardware or driver issue.

WiFi

Requires non-free drivers and firmware. See: iwlwifi. Install the firmware-iwlwifi package from the non-free repository.

Works fine.

Modem

Ambient Light Sensor

This feature which will automtically adjust the screen brighness acording to the amient light level. To turn it on now:

  1. sudo modprobe hp-wmi

  2. echo 1 | sudo tee -a  /sys/devices/platform/hp-wmi/als

To enable this feature permanently follow these steps:

  1. Add a line containing "hp-wmi" to /etc/modules.conf
  2. Add the following line to /etc/rc.local:

    echo 1 > /sys/devices/platform/hp-wmi/als


System Summary

lspci

00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00005000-00005fff
        Memory behind bridge: d2000000-d30fffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
        Capabilities: [88] Subsystem: Hewlett-Packard Company Device [103c:1521]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Kernel driver in use: pcieport

00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at d7524000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 05)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 34
        Memory at d7500000 (32-bit, non-prefetchable) [size=128K]
        Memory at d752a000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 6020 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] PCI Advanced Features
        Kernel driver in use: e1000e

00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at d7529000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d7520000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel

00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: d7400000-d74fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:1521]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=43, sec-latency=0
        I/O behind bridge: 00003000-00004fff
        Memory behind bridge: d3400000-d73fffff
        Prefetchable memory behind bridge: 00000000d7700000-00000000d78fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:1521]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=44, subordinate=44, sec-latency=0
        Memory behind bridge: d3300000-d33fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:1521]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.7 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 [8086:3b50] (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=45, subordinate=45, sec-latency=0
        Memory behind bridge: d3200000-d32fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:1521]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0, IRQ 20
        Memory at d7528000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=46, subordinate=4a, sec-latency=32
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: d3100000-d31fffff
        Prefetchable memory behind bridge: 00000000d8000000-00000000dbffffff
        Capabilities: [50] Subsystem: Hewlett-Packard Company Device [103c:1521]

00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b07] (rev 05)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f] (rev 05) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 35
        I/O ports at 6048 [size=8]
        I/O ports at 6054 [size=4]
        I/O ports at 6040 [size=8]
        I/O ports at 6050 [size=4]
        I/O ports at 6000 [size=32]
        Memory at d7527000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci

00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d7526000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-

01:00.0 VGA compatible controller [0300]: nVidia Corporation GT216 [NVS 5100M] [10de:0a2c] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 5000 [size=128]
        Expansion ROM at d3080000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nouveau

01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be2] (rev a1)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d3000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: HDA Intel

44:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6200 [8086:4239] (rev 35)
        Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN [8086:1311]
        Flags: bus master, fast devsel, latency 0, IRQ 36
        Memory at d3300000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 58-94-6b-ff-ff-da-f0-e4
        Kernel driver in use: iwlagn

45:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03) (prog-if 30)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at d3200000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [90] MSI-X: Enable- Count=8 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
        Capabilities: [150] #18
        Kernel driver in use: xhci_hcd

46:06.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 06) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 64, IRQ 20
        Memory at d3101000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: firewire_ohci

46:06.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 25)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0, IRQ 22
        Memory at d3105000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
        Kernel driver in use: sdhci-pci

46:06.2 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 14)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0, IRQ 5
        Memory at d3104000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
        Kernel driver in use: ricoh-mmc

46:06.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 14)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        Flags: bus master, medium devsel, latency 0, IRQ 5
        Memory at d3103000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

46:06.4 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev bb)
        Subsystem: Hewlett-Packard Company Device [103c:1521]
        !!! Invalid class 0880 for header type 02
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at d3102000 (32-bit, non-prefetchable) [size=256]
        Bus: primary=46, secondary=47, subordinate=4a, sec-latency=176
        Memory window 0: d8000000-dbfff000 (prefetchable)
        Memory window 1: dc000000-dffff000
        I/O window 0: 00002000-000020ff
        I/O window 1: 00002400-000024ff
        16-bit legacy interface ports at 0001

46:06.5 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel driver in use: yenta_cardbus

ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
        Flags: bus master, fast devsel, latency 0

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null

Bus 003 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         3 
  iProduct                2 xHCI Host Controller
Bus 001 Device 004: ID 04f2:b15e Chicony Electronics Co., Ltd 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                1 HP Webcam [2 MP Macro]
      (Bus Powered)
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  (Bus Powered)
Bus 001 Device 003: ID 03f0:231d Hewlett-Packard 
  bDeviceClass          224 Wireless
  bDeviceProtocol         1 Bluetooth
  iProduct                2 HP Integrated Module
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  bDeviceClass            9 Hub
  bDeviceProtocol         1 Single TT
  iProduct                0 
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 EHCI Host Controller

USB Host controllers entries (without OHCI, UHCI, EHCI) are removed too.

Resources

Attachments

Some configuration files and sample outputs.

  • [get | view] (2011-03-11 03:07:04, 7.9 KB) [[attachment:dmidecode.HP_EliteBook_8540w_NU486AV.txt]]
 All files | Selected Files: delete move to page copy to page

Credits