Skip to content
Snippets Groups Projects
  1. Feb 22, 2020
  2. May 30, 2019
    • Alan Swanson's avatar
      button-hotplug: add KEY_POWER2 handling · a4625978
      Alan Swanson authored
      
      For devices such as BTHOMEHUBV5A with both reset and restart buttons,
      its easily accessible restart button has been assigned to KEY_POWER
      power script to poweroff preventing accidental (or malicious) factory
      resets by KEY_RESTART reset script. However an easily accessible button
      immediately powering off the device is also undesirable.
      
      As KEY_RESTART is already used for reset script (and there's no
      KEY_REBOOT in Linux input events), use KEY_POWER2 for rebooting via new
      reboot script with 5 second seen delay.
      
      Fixes: FS#1965
      Signed-off-by: default avatarAlan Swanson <reiver@improbability.net>
      Signed-off-by: Petr Štetiar <ynezz@true.cz> [long line wrap]
      a4625978
  3. Oct 29, 2017
  4. Jun 24, 2017
  5. Oct 15, 2016
  6. Jun 07, 2016
  7. May 23, 2014
  8. May 14, 2014
  9. Jan 14, 2014
  10. Nov 07, 2013
  11. Jul 19, 2013
  12. Jul 04, 2013
  13. Jun 21, 2013
Loading