Re: [patch] add INPUT key reporting to thinkpad_acpi

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

 



On Mon, 21 May 2007, Bastien Nocera wrote:
> On Mon, 2007-05-21 at 13:37 +0100, Richard Hughes wrote:
> > On Mon, 2007-05-21 at 09:26 -0300, Henrique de Moraes Holschuh wrote:
> > > On Mon, 21 May 2007, Richard Hughes wrote:
> > > > > You get full credits, of course, and I will wait an ACK from you before I
> > > > > push it anywhere.  It was your idea, and your patch probably is just fine as
> > > > > far as "it works" goes, so you get to comment and offer suggestions before I
> > > > > merge it.
> > > > 
> > > > One comment I was about to make, are the INPUT events emitted even
> > > > without a "echo enable,0xffff >/proc/acpi/ibm/hotkey"?
> > > 
> > > No, they are not.
> > 
> > Ick. 
> 
> Ick indeed. It should really be automatic (ie. no need to poke anywhere
> to get the events back to user-space).

No way, no how.  The firmware often does better at it.

> For the additional keys, I mentioned to Richard using "KEY_F13" and
> above (really depending on the number of functions keys on those
> keyboards), for keys which can't be easily mapped to existing keycodes.

Not nice.  It is not a KEY_F13, I am not going to map to it by default.
What if someone plugs a USB keyboard that does have F13..F24 ?

> X probably doesn't know about those keys, thus doesn't pass them on. We

I was looking at the console, not X.  I know X does filtering of its own.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux