Re: [gpm] Untangling the sleep hotkey mess
- From: Dmitry Torokhov <dmitry torokhov gmail com>
- To: Richard Hughes <hughsient gmail com>
- Cc: desktop_portables lists osdl org, gnome-power-manager-list gnome org, Yu Luming <luming yu intel com>, linux-acpi vger kernel org
- Subject: Re: [gpm] Untangling the sleep hotkey mess
- Date: Mon, 9 Jan 2006 16:14:40 -0500
On 1/9/06, Richard Hughes <hughsient gmail com> wrote:
>
> * All ACPI keyboard events would come through /proc/acpi/event as hkey's
> * You could change the brightness on *any* lcdpanel by doing a simple
> #echo 3 > /proc/acpi/video/brightness
> * You could get the number of brightness levels supported doing
> #cat /proc/acpi/video/brightness_levels
>
And what do you do if:
1. You don't have ACPI available (other platforms)
2. APM works better for some reason
3. The hotkey (sleep, power, etc) does not come from ACPI?
--
Dmitry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]