Re: HP WMI laptop extras driver

From: Matthew Garrett
Date: Fri Oct 31 2008 - 09:29:42 EST


On Fri, Oct 31, 2008 at 02:24:44PM +0100, Daniel Perzynski wrote:

> I have HP Pavilion HDX9494nr. That laptop has many additional keys like CD
> Eject, Treble and Bass regulation, Quick Play section (DVD,TV,Quick Play). When
> I'm pressing those buttons (after loading hp-wmi driver) I see in kernel
> messages that I've pressed a key with the code xxxxxx. How can I map those
> events to actions (for example pressing CD Eject I would like to map to unmount
> /dev/cdrom command). Do we need to add my key codes to hp-wmi.c program or
> there is another program which can translate those key codes to actions?

Can you include the exact messages that you get when pressing each
button?

Thanks,
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/