HP WMI driver

From: Jörg-Volker Peetz
Date: Mon Mar 14 2011 - 11:25:15 EST


Hi Matthew,

concering the hp-wmi driver I would like to answer a few questions.

My GNU/Linux Debian system with a self compiled custom kernel 2.6.37.3 is
running on a HP Pavilion DV7-4151sg notebook (dmidecode output, DSDT, and kernel
config attached).
I activated the driver on my HP notebook in order to achieve several goals:
(1) make the rfkill hardware button work
(seems to work according to the output of rfkill list and acpi_listen)
(2) make the buttons for lowering and increasing display brightness work
(do not work, no output with acpi_listen)
(3) the display back side has an illuminated "hp" logo which I would like to
be able to switch off (alone or together with the display) to save a
little energy
How can I found out if these functionality is achievable via ACPI WMI functions
or somehow else?
What would I have to change in hp-wmi.c?

By the way, I see the following messages in dmesg concerning WMI (these messages
did not appear before 2.6.37.4):

ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits)
(20101013/dsopcode-597)
ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node
ffff88011be42320), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAD] (Node
ffff88011be42500), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits)
(20101013/dsopcode-597)
ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node
ffff88011be42320), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAD] (Node
ffff88011be42500), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
ACPI Error: Field [D128] at 1040 exceeds Buffer [NULL] size 160 (bits)
(20101013/dsopcode-597)
ACPI Error: Method parse/execution failed [\_SB_.WMID.HWMC] (Node
ffff88011be42320), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAD] (Node
ffff88011be42500), AE_AML_BUFFER_LIMIT (20101013/psparse-537)
hp-wmi: probe of hp-wmi failed with error -22

Any help is appreciated.
Best regards,
Jörg-Volker.

P.S.: Please excuse the previous unready e-mail with the wrong subject.

Attachment: DSDT.dsl.gz
Description: Unix tar archive

Attachment: config-2.6.37.3.gz
Description: Unix tar archive

Attachment: dmidecode.gz
Description: Unix tar archive