reseting an input device due to sleep/resume cycle

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

 



Dmitry, input gurus,

When a ThinkPad does an sleep cycle, the firmware explicitly kills all
pending hotkey state.  That reminds me that I also need to do the same in
thinkpad-acpi.

How does one tell the input layer that it should clear its idea of the
current state of all events in a input device?  I couldn't find any
input_reset() function...

Or is such a reset not needed?  The recent issue with ACPI and EV_SW SW_LID
seems to indicate that in some cases these resets are indeed needed.  For
EV_SW, it appears that I'd have to interate over all my switches and reset
them.  But what about EV_KEY and the others?

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