* how to show ACPI key events
@ 2008-11-18 1:36 Andrey Vul
2008-11-18 12:13 ` Jiri Kosina
2008-11-18 17:14 ` Matthew Garrett
0 siblings, 2 replies; 3+ messages in thread
From: Andrey Vul @ 2008-11-18 1:36 UTC (permalink / raw)
To: linux-kernel
I hacked atkbd.c to dump every keycode and enabled CONFIG_EVBUG yet
the Fn+F{1..12} and Fn+{arrow} keys don't register an event. Is there
a way to hack the ACPI drivers to dump keycodes?
>From hacking at the Windows drivers, pressing the hotkeys generates an
acpi event. How do I get the acpi key events dumped?
One-liners if possible, please.
--
Andrey Vul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to show ACPI key events
2008-11-18 1:36 how to show ACPI key events Andrey Vul
@ 2008-11-18 12:13 ` Jiri Kosina
2008-11-18 17:14 ` Matthew Garrett
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2008-11-18 12:13 UTC (permalink / raw)
To: Andrey Vul; +Cc: linux-kernel
On Mon, 17 Nov 2008, Andrey Vul wrote:
> I hacked atkbd.c to dump every keycode and enabled CONFIG_EVBUG yet
> the Fn+F{1..12} and Fn+{arrow} keys don't register an event. Is there
> a way to hack the ACPI drivers to dump keycodes?
>
> From hacking at the Windows drivers, pressing the hotkeys generates an
> acpi event. How do I get the acpi key events dumped?
Shouldn't just running 'acpidump' be sufficient for you?
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to show ACPI key events
2008-11-18 1:36 how to show ACPI key events Andrey Vul
2008-11-18 12:13 ` Jiri Kosina
@ 2008-11-18 17:14 ` Matthew Garrett
1 sibling, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2008-11-18 17:14 UTC (permalink / raw)
To: Andrey Vul; +Cc: linux-kernel
On Mon, Nov 17, 2008 at 08:36:02PM -0500, Andrey Vul wrote:
> I hacked atkbd.c to dump every keycode and enabled CONFIG_EVBUG yet
> the Fn+F{1..12} and Fn+{arrow} keys don't register an event. Is there
> a way to hack the ACPI drivers to dump keycodes?
>
> From hacking at the Windows drivers, pressing the hotkeys generates an
> acpi event. How do I get the acpi key events dumped?
If there's a driver for your machine, acpidump or just watch
/proc/acpi/events (and then port the driver to create an input device
and use that instead). If there's no existing driver, you get to write
one. There's no standard spec for sending hotkeys over ACPI, other than
sleep, power and lid.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-18 17:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-18 1:36 how to show ACPI key events Andrey Vul
2008-11-18 12:13 ` Jiri Kosina
2008-11-18 17:14 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®