Skip to contentSkip to conversation

how to show ACPI key events

DISCUSSION Andrey Vul 3 participants 3 messages Nov 18, 2008

lore
Share & tools
lore

Andrey Vul

author
#0 lore raw

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?

Quoted 1 line

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

#1 lore raw
Quoted 6 lines · Andrey Vul

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?

Signature · 2 lines
Jiri Kosina
SUSE Labs
#2 lore raw
In reply to Andrey Vul
Quoted 6 lines · Andrey Vul

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.

Signature · 1 line
Matthew Garrett | [email protected]