mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Andrey Vul <andrey.vul@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: how to show ACPI key events
Date: Tue, 18 Nov 2008 17:14:17 +0000	[thread overview]
Message-ID: <20081118171417.GA1295@srcf.ucam.org> (raw)
In-Reply-To: <e38d12ff0811171736h1238ee6at4bafe06dafff6378@mail.gmail.com>

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

      parent reply	other threads:[~2008-11-18 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  1:36 Andrey Vul
2008-11-18 12:13 ` Jiri Kosina
2008-11-18 17:14 ` Matthew Garrett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081118171417.GA1295@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=andrey.vul@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®