Enable the X11 DPMS extension and force the DRM connector off/on on blank and wake, including the lid-close and lockscreen paths that write backlight sysfs directly (driven by a backlight change udev rule and a small sync helper). DPMS timeouts stay at zero so unlocked auto-blanking remains off. Re-apply schedutil rate_limit_us=40000 after every powersave to schedutil governor switch, which recreates the kobject with the 6.44 s default, and drop the writes to nonexistent up_rate_limit_us / down_rate_limit_us files. Remove the dead iw power-save call: NetworkManager wifi.powersave=3 and the wcn36xx WIPHY_FLAG_PS_ON_BY_DEFAULT patch already report "Power save: on".
58 lines
3.4 KiB
Plaintext
58 lines
3.4 KiB
Plaintext
permit persist :wheel
|
|
permit nopass :wheel as root cmd busybox args poweroff
|
|
permit nopass :wheel as root cmd busybox args reboot
|
|
permit nopass :wheel as root cmd /bin/busybox args poweroff
|
|
permit nopass :wheel as root cmd /bin/busybox args reboot
|
|
permit nopass :wheel as root cmd poweroff
|
|
permit nopass :wheel as root cmd reboot
|
|
permit nopass :wheel as root cmd /sbin/poweroff
|
|
permit nopass :wheel as root cmd /sbin/reboot
|
|
permit nopass :wheel as root cmd /usr/bin/sxmo_wifitoggle.sh
|
|
permit nopass :wheel as root cmd sxmo_wifitoggle.sh
|
|
permit nopass setenv { SXMO_OS } :wheel as root cmd /usr/bin/sxmo_bluetoothtoggle.sh
|
|
permit nopass setenv { SXMO_OS } :wheel as root cmd sxmo_bluetoothtoggle.sh
|
|
permit nopass :wheel as root cmd rc-service args bluetooth restart
|
|
permit nopass :wheel as root cmd systemctl args restart bluetooth
|
|
permit nopass :wheel as root cmd tinydm-set-session
|
|
permit nopass :wheel as root cmd rc-service args eg25-manager stop
|
|
permit nopass :wheel as root cmd rc-service args eg25-manager start
|
|
permit nopass :wheel as root cmd rc-service args modemmanager stop
|
|
permit nopass :wheel as root cmd rc-service args modemmanager start
|
|
permit nopass :wheel as root cmd rc-service args modemmanager restart
|
|
permit nopass :wheel as root cmd systemctl args start eg25-manager
|
|
permit nopass :wheel as root cmd systemctl args stop eg25-manager
|
|
permit nopass :wheel as root cmd systemctl args start ModemManager
|
|
permit nopass :wheel as root cmd systemctl args stop ModemManager
|
|
permit nopass :wheel as root cmd systemctl args restart ModemManager
|
|
permit nopass :wheel as root cmd /usr/libexec/msm-modem-uim-selection
|
|
permit nopass :wheel as root cmd msm-modem-uim-selection
|
|
permit nopass :wheel as root cmd setup-timezone
|
|
permit nopass :wheel as root cmd /sbin/setup-timezone
|
|
permit nopass :wheel as root cmd /usr/sbin/setup-timezone
|
|
permit nopass :wheel as root cmd rtcwake
|
|
permit nopass :wheel as root cmd tee args -a /sys/power/wake_lock
|
|
permit nopass :wheel as root cmd tee args -a /sys/power/wake_unlock
|
|
permit nopass :wheel as root cmd tee args /sys/power/wakeup_count
|
|
permit nopass :wheel as root cmd tee args /sys/module/leds_msm8905_torch/parameters/next_reboot_mode
|
|
permit nopass :wheel as root cmd /usr/bin/tee args /sys/module/leds_msm8905_torch/parameters/next_reboot_mode
|
|
permit nopass :wheel as root cmd /usr/bin/sxmo_power.sh
|
|
permit nopass :wheel as root cmd sxmo_power.sh
|
|
permit nopass :wheel as root cmd /usr/bin/sxmo_sdcard.sh
|
|
permit nopass :wheel as root cmd sxmo_sdcard.sh
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-verify-passcode
|
|
permit nopass :wheel as root cmd bananarchy-verify-passcode
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-engmenu-exec
|
|
permit nopass :wheel as root cmd bananarchy-engmenu-exec
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-engmenu-ctl
|
|
permit nopass :wheel as root cmd bananarchy-engmenu-ctl
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-bt-obex
|
|
permit nopass :wheel as root cmd bananarchy-bt-obex
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-privacy-ctl
|
|
permit nopass :wheel as root cmd bananarchy-privacy-ctl
|
|
permit nopass :wheel as root cmd /usr/bin/bananarchy-display-power-sync
|
|
permit nopass :wheel as root cmd bananarchy-display-power-sync
|
|
permit nopass :wheel as root cmd /usr/bin/plymouth args quit
|
|
permit nopass :wheel as root cmd plymouth args quit
|
|
permit nopass :wheel as root cmd rc-service args hexagonrpcd-adsp-sensorspd stop
|
|
permit nopass :wheel as root cmd systemctl args stop hexagonrpcd-adsp-sensorspd
|