Re: [PATCH] toshiba_acpi: Add full hotkey support

From: Andrey Borzenkov
Date: Sat Mar 07 2009 - 02:27:31 EST


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.

--
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/