lkml.org 
[lkml]   [2008]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to show ACPI key events
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


\
 
 \ /
  Last update: 2008-11-18 18:21    [W:0.062 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site