Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Keyboard mappings



On Tue, 23 Jan 2007 11:25:27 +0900 (JST)
Curt Sampson <cjs@example.com> wrote:

> On Tue, 23 Jan 2007, Dave M G wrote:
> 
> > I tried this, and whenever I pressed the special keys, instead of their 
> > output being trapped in xev, it would actually do the action. i.e. pressing 
> > the "Sleep" button put the computer to sleep, and even upon waking it up 
> > again, there was no recorded response in the xev output.
> 
> Sounds like these keys are not generating keyboard events, but are
> generating some other sort of events that are trapped in some other way.
> Probably these are APM or ACPI events. I other words, the system doesn't
> see these as "keyboard keys," but sees them as separate buttons, as with
> the power button.

There used to be a gnome tool (daemon) a while ago (was called acid or
something similar) that mapped these key events to acpi events.
With the /sys filesystem it's just a simple operation like
`echo mem >/sys/power/state`.
For example the sleep/power/wake buttons on my keyboard still show up
under xev, though they are not configured properly.

Attachment: signature.asc
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links