public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech-AlSwsSmVLrQ@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	akpm-3NddpPZAyC0@public.gmane.org,
	erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Re: [patch 1/1] thinkpad fn+fx key driver
Date: Sat, 25 Sep 2004 19:55:02 +0200	[thread overview]
Message-ID: <20040925175500.GA1798@ucw.cz> (raw)
In-Reply-To: <20040925112219.GC4039-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

On Sat, Sep 25, 2004 at 01:22:20PM +0200, Pavel Machek wrote:

> > > Having vol+/vol- keys would be  very welcome. This daemon would
> > > have to understand scancodes for a lot of
> > > different keyboards, but perhaps
> > > that is easy enough to create incrementally.
> > 
> > The Volume+ and Volume- keys are actually pretty standardized and the
> > kernel recognizes them out of the box on 95% of machines.
> 
> Hmm, yes, on my machines vol- generates ^[[26~, mute ^[[25~ and vol+ nothing.

Have you tried evtest? It might be just a keymap issue.

> > The daemon could but wouldn't have to take care of uploading the correct
> > scancode->keycode tables to the kernel.
> 
> Hmm, okay. 
> 
> Is it possible to have somehow get both keycodes and translated keys?
> I guess I might want to define ctrl-alt-= as vol+ and ctrl-alt-- as
> vol- for machines that do not have hardware keys.

That's something to be handled in userspace.

> Do you have example code using event interface, somewhere?
 
Yes, the evtest source is a good example. It's in the inpututils RPM or
in the linuxconsole.sf.net CVS.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

  parent reply	other threads:[~2004-09-25 17:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  5:16 [patch 1/1] thinkpad fn+fx key driver Brown, Len
     [not found] ` <F7DC2337C7631D4386A2DF6E8FB22B300179B935-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-09-23 11:24   ` Vojtech Pavlik
     [not found]     ` <20040923112457.GB1083-+ZI9xUNit7I@public.gmane.org>
2004-09-23 12:31       ` Timo Hoenig
2004-09-24 13:41       ` Pavel Machek
     [not found]         ` <20040924134118.GA467-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-09-24 14:22           ` Vojtech Pavlik
     [not found]             ` <20040924142248.GA2593-+ZI9xUNit7I@public.gmane.org>
2004-09-25 11:22               ` Pavel Machek
     [not found]                 ` <20040925112219.GC4039-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-25 17:55                   ` Vojtech Pavlik [this message]
     [not found]                     ` <20040925175500.GA1798-+ZI9xUNit7I@public.gmane.org>
2004-09-27 13:40                       ` Randy.Dunlap
2004-09-28 10:00               ` Hiroshi Miura
     [not found]                 ` <87acvak912.wl%miura-yiisDzvROlQdnm+yROfE0A@public.gmane.org>
2004-09-28 10:06                   ` Pavel Machek
     [not found]                     ` <20040928100617.GB916-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-09-28 12:30                       ` Hiroshi Miura
     [not found]                         ` <877jqek22r.wl%miura-yiisDzvROlQdnm+yROfE0A@public.gmane.org>
2004-09-29  4:25                           ` Hiroshi Miura
2004-09-29  4:33                       ` Hiroshi Miura
2004-10-01 17:32           ` Stefan Seyfried
     [not found]         ` <1096112154.10736.10.camel@localhost.localdomain>
     [not found]           ` <1096112154.10736.10.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-09-25 17:56             ` Vojtech Pavlik
     [not found]               ` <20040925175618.GB1798-+ZI9xUNit7I@public.gmane.org>
2004-09-26 18:54                 ` Karol Kozimor
     [not found]                   ` <20040926185454.GA7960-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-09-28  8:55                     ` Pavel Machek

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=20040925175500.GA1798@ucw.cz \
    --to=vojtech-alswssmvlrq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=akpm-3NddpPZAyC0@public.gmane.org \
    --cc=erik-aH8aFkyL5XJBDgjK7y7TUQ@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=pavel-AlSwsSmVLrQ@public.gmane.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