Re: nvram keys to userspace

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

 



On Wed, 16 May 2007, Richard Hughes wrote:
> On Wed, 2007-05-16 at 10:10 -0300, Henrique de Moraes Holschuh wrote:
> > The plan is to get all hotkeys sent to userspace through INPUT, using a
> > "hotkey fX" or something equally generic.  I can't translate from fn+f3 to
> > fn+battery, as that's model specific knowledge.
> 
> So you don't want to do any dmi-based matching in thinkpad_acpi at all?
> When the dmi kernel class is upstream this could be pretty easy,
> although I don't mind doing it in userspace with a keymap.

DMI matching in thinkpad-acpi for firmware bug workarounds, and also module
autoload is OK.  For model-specific knowledge related to hotkeys, it is not.
This is how upstream wants it, actually.

> > Well, worse come to worst, we can send them over ACPI.
> 
> Ick :-)

It may be the only choice.  Adding new keys to input is frowned upon...

-- 
  "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