1. 01 Jul, 2020 1 commit
  2. 23 Jun, 2020 1 commit
  3. 22 Jun, 2020 1 commit
    • Martin Kepplinger's avatar
      remove usr/bin/power_key.py · 73895838
      Martin Kepplinger authored
      The /usr/bin/power_key.py script basically does 2 things:
      
      * set a devfreq governor once (and handle frequencies but only on old kernels)
      * shut down the system when the power button is being pressed for ca. 2 seconds
      
      The first task is to be replaced via a simple udev rule. The second one
      is being tracked by OS-issues#146
      and will be replaced by a GUI anyways.
      
      This solves problems with the power_key script:
      * it is not syncronised with the display system.
      * it is a nightmare to maintain and keep working
      
      In my tests, the long-press shutdown mechanism didn't work anymore, but if
      it does for you, this will remove it (temporarily, see the above issue).
      Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
      73895838
  4. 09 Jun, 2020 6 commits
  5. 23 Apr, 2020 2 commits
  6. 22 Apr, 2020 1 commit
  7. 06 Apr, 2020 1 commit
  8. 05 Apr, 2020 1 commit
  9. 03 Apr, 2020 1 commit
    • Martin Kepplinger's avatar
      power_key.py: make compatible with 5.6 and later and the devkit · 71f71c1c
      Martin Kepplinger authored
      devfreq is being handled differently on our kernels. With 5.6+ frequency
      is switched automatically by the kernel for devfreq, when the powersave
      governor is set. So in that case we only to that (done by udev in the future).
      
      This also makes devfreq settings compatible with the devkit again because
      it reads the minimum frequency which is different than on the phone,
      from sysfs.
      
      Also, we particularly handle 5.6-rc based kernel versions that
      include a broken devfreq implementation / setup. starting with version
      5.6.0 we need to increment the ABI version to 2.
      71f71c1c
  10. 01 Apr, 2020 1 commit
  11. 30 Mar, 2020 1 commit
  12. 28 Mar, 2020 1 commit
  13. 23 Mar, 2020 4 commits
  14. 06 Mar, 2020 1 commit
  15. 03 Mar, 2020 5 commits
  16. 02 Mar, 2020 1 commit
  17. 26 Feb, 2020 1 commit
    • Martin Kepplinger's avatar
      power_key: use 25Mhz devfreq when screen off when not on Linux 5.3 · 586e9d78
      Martin Kepplinger authored
      As on Linux 5.6 this is totally stable for me on Birch, I'd like to use 25Mhz
      instead of 100 when the screen is off.
      
      I ran "stress -c 2 -vm 2" while using the phone on the console and
      turning on the screen, browsing the web and the system kept usable
      the whole time.
      
      With this, the device cools down more quickly when the screen is
      off and improves battery time.
      
      For Linux 5.3 (only), we keep the current behaviour as 25Mhz doesn't seem
      to be stable there.
      Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <martin.kepplinger@puri.sm>
      586e9d78
  18. 24 Feb, 2020 4 commits
  19. 21 Feb, 2020 5 commits
  20. 20 Feb, 2020 1 commit