About

The dv6k_laptop is a Linux kernel driver for the HP dv6xxx series of laptops.

Deprecation Notice

This driver is deprecated, please use the video, button, etc.. modules from linux-acpi instead.

Source code

dv6k_laptop-003.tar.bz2

Supported models

I only tested on my HP dv6535ep laptop but it should work with other dv6500 models. If you find that it works on your model, please send me an email.

This is known to work on the dv6535ep:
CPU Temperature reading;
Backlight driver (hotkeys not working, yet);
LID status;
WIFI button status

How it works

All data is read/written to the ACPI Embedded Controller. If you want to support more devices, disassemble the dsdt table and inspect the EC region. To test EC registers there is a cool script named acer_ec.pl
Also, the Acer's application QBCTRL.exe which is bundled with windows knows something about changing screen brightness through WMI (See _HID HPQ0006).

Dependencies

You will need CONFIG_BACKLIGHT_CLASS_DEVICE and CONFIG_ACPI

Running

Reading backlight intensity:
cat /sys/class/backlight/hp_dv6k/actual_brightness

Changing backlight intensity:
echo xx > /sys/class/backlight/hp_dv6k/brightness

Reading cpu temperature, wifi status..
See files under /sys/devices/platform/dv6k_laptop

Testing

Just remove the DMI check on the module_init function. WARNING: May harm your computer!