Hi Red_Lion, MisteR2, Ayuthia, gali98, and everyone,
Aren't these at least some of our Bezel Buttons? Starting at line 79 in the unpatched hp-wmi.c:
Code:
static struct key_entry hp_wmi_keymap[] = {
{KE_SW, 0x01, SW_DOCK},
{KE_KEY, 0x02, KEY_BRIGHTNESSUP},
{KE_KEY, 0x03, KEY_BRIGHTNESSDOWN},
{KE_KEY, 0x20e6, KEY_PROG1},
{KE_KEY, 0x2142, KEY_MEDIA},
{KE_KEY, 0x231b, KEY_HELP},
{KE_END, 0}
Clearly this is the swivel hinge:
Code:
{KE_SW, 0x01, SW_DOCK},
Which with the patch adds 'tablet' to the switch (SW).
Are these the Brightness buttons on the keyboard?:
Code:
{KE_KEY, 0x02, KEY_BRIGHTNESSUP},
{KE_KEY, 0x03, KEY_BRIGHTNESSDOWN},
Edit: Doesn't seem likely since the keyboard Brightness keys function without the hp-wmi module installed. So what are they?
So is this the non-functioning Rotate button?:
Code:
{KE_KEY, 0x20e6, KEY_PROG1},
This seems to be the "Q" (Media) button:
Code:
{KE_KEY, 0x2142, KEY_MEDIA},
Although The keycode for the "Q" button is 201 in xev in Intrepid. Or I suppose it could be the DVD button.
This may be the Mobility Center button:
Code:
{KE_KEY, 0x231b, KEY_HELP},
Which is the other non-functioning button.
Any thoughts? There isn't an exact one to one correspondence. But it seems quite a coincidence that there is the swivel hinge accompanied by 4 buttons in the hp-wmi keymap.
Bookmarks