Re: [PATCH] toshiba_acpi: Add full hotkey support

Andrey Borzenkov
2009-03-07T07:27:29Z

Matthew Garrett wrote:

> + {KE_KEY, 0x13d, KEY_SLEEP},
> + {KE_KEY, 0x13e, KEY_SUSPEND},

I have two buttons marked with memory and disk pictures. When I press the
first one HAL emits "sleep" button event, for the the second one HAL emits
"hibernate" event. I am using KDE4 and neither works :) According to KDE4
developer, they implement "suspend" button as suspend to RAM. Just trying to
clarify which key this should be and whether HAL should be fixed. (I opened
bug report for KDE4)

> + {KE_KEY, 0x13f, KEY_SWITCHVIDEOMODE},

I wonder, who is supposed to act upon it? Is there any generic user space
agent who implements video output switching?

> + {KE_KEY, 0x140, KEY_BRIGHTNESSDOWN},
> + {KE_KEY, 0x141, KEY_BRIGHTNESSUP},
> + {KE_KEY, 0x142, KEY_WLAN},

Ditto. Theoretically Toshiba even supports turning off radio via HCI, but it
is again not clear who should actually initiate it.