* No ACPI Sleep button events problem
@ 2007-08-17 16:01 Michał Majchrowicz
2007-08-18 5:35 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: Michał Majchrowicz @ 2007-08-17 16:01 UTC (permalink / raw)
To: linux-acpi
Hi.
I have a problem with Sleep button events. dmesg shows this:
ug 16 22:44:27 lapek ACPI: AC Adapter [ADP1] (off-line)
Aug 16 22:44:27 lapek ACPI: Battery Slot [BAT0] (battery present)
Aug 16 22:44:27 lapek ACPI: Power Button (FF) [PWRF]
Aug 16 22:44:27 lapek ACPI: Lid Switch [LID0]
Aug 16 22:44:27 lapek ACPI: Sleep Button (CM) [SLPB]
Moreover:
Aug 16 22:44:27 lapek input: Power Button (FF) as /class/input/input0
Aug 16 22:44:27 lapek input: Lid Switch as /class/input/input1
Aug 16 22:44:27 lapek input: Sleep Button (CM) as /class/input/input2
Aug 16 22:44:27 lapek input: AT Translated Set 2 keyboard as /class/input/input3
Aug 16 22:44:27 lapek input: SynPS/2 Synaptics TouchPad as /class/input/input4
When I do cat /dev/input/event* I can see events on input1 generated
by lid on input0 generated by power button but no events on input2 :(
In fact all events from Sleep button go input3 (normal keyboard input)
and are transleted to system trough this. Sleep button generates
KEY_SLEEP evnets which is catched by gnome-power-manager so I have
suspend functionality in X but no in "pure" console mode (no X
running). How can I make these events to be generated on input2?
Regards Michal.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: No ACPI Sleep button events problem
2007-08-17 16:01 No ACPI Sleep button events problem Michał Majchrowicz
@ 2007-08-18 5:35 ` Matthew Garrett
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2007-08-18 5:35 UTC (permalink / raw)
To: Michał Majchrowicz; +Cc: linux-acpi
On Fri, Aug 17, 2007 at 06:01:24PM +0200, Michał Majchrowicz wrote:
> When I do cat /dev/input/event* I can see events on input1 generated
> by lid on input0 generated by power button but no events on input2 :(
> In fact all events from Sleep button go input3 (normal keyboard input)
> and are transleted to system trough this. Sleep button generates
> KEY_SLEEP evnets which is catched by gnome-power-manager so I have
> suspend functionality in X but no in "pure" console mode (no X
> running). How can I make these events to be generated on input2?
Your sleep button doesn't generate ACPI events. There's nothing you can
do about this. It's perfectly normal on HPs, for instance.
--
Matthew Garrett | mjg59@srcf.ucam.org
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-18 5:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 16:01 No ACPI Sleep button events problem Michał Majchrowicz
2007-08-18 5:35 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).