1. 17 3月, 2010 1 次提交
  2. 28 2月, 2010 1 次提交
  3. 26 2月, 2010 6 次提交
  4. 16 2月, 2010 1 次提交
  5. 05 2月, 2010 1 次提交
  6. 27 12月, 2009 3 次提交
  7. 16 12月, 2009 10 次提交
  8. 10 12月, 2009 9 次提交
  9. 04 12月, 2009 1 次提交
  10. 25 11月, 2009 3 次提交
  11. 27 9月, 2009 1 次提交
  12. 21 9月, 2009 3 次提交
    • H
      thinkpad-acpi: name event constants · 67bcae6e
      Henrique de Moraes Holschuh 提交于
      Reduce the number of magic numbers in the driver... note that they
      were all explained and documented already.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      67bcae6e
    • H
      thinkpad-acpi: add internal hotkey event API · 8b468c0c
      Henrique de Moraes Holschuh 提交于
      Add an internal API to the driver, to allow subdrivers to request and
      receive HKEY 0x1000 events.  This API will be used by the backlight
      (brightness up/down) and upcoming ALSA mixer (volume up/down/mute)
      subdrivers.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      8b468c0c
    • H
      thinkpad-acpi: hotkey event driver update · 0d922e3b
      Henrique de Moraes Holschuh 提交于
      Update the HKEY event driver to:
      
      1. Handle better the second-gen firmware, which has no HKEY mask
         support but does report FN+F3, FN+F4 and FN+F12 without the need
         for NVRAM polling.
      
         a) always make the mask-related attributes available in sysfs;
         b) use DMI quirks to detect the second-gen firmware;
         c) properly report that FN+F3, FN+F4 and FN+F12 are enabled,
            and available even on mask-less second-gen firmware;
      
      2. Decouple the issuing of hotkey events towards userspace from
         their reception from the firmware.  ALSA mixer and brightness
         event reporting support will need this feature.
      
      3. Clean up the mess in the hotkey driver a great deal.  It is
         still very convoluted, and wants a full refactoring into a
         proper event API interface, but that is not going to happen
         today.
      
      4. Fully reset firmware interface on resume (restore hotkey
         mask and status).
      
      5. Stop losing polled events for no good reason when changing the
         mask and poll frequencies.  We will still lose them when the
         hotkey_source_mask is changed, as well as any that happened
         between driver suspend and driver resume.
      
      The hotkey subdriver now has the notion of user-space-visible hotkey
      event mask, as well as of the set of "hotkey" events the driver needs
      (because brightness/volume change reports are not just keypress
      reports in most ThinkPad models).
      
      With this rewrite, the ABI level is bumped to 0x020500 should
      userspace need to know it is dealing with the updated hotkey
      subdriver.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      0d922e3b