diff --git a/configs/openrc/sxmo-pinephone b/configs/openrc/sxmo-pinephone index b6b93e6..77fb51e 100644 --- a/configs/openrc/sxmo-pinephone +++ b/configs/openrc/sxmo-pinephone @@ -3,4 +3,4 @@ description="Enable user access to pinephone hardware kernel interface" command="chmod" -command_args="a+rw /sys/module/8723cs/parameters/rtw_scan_interval_thr /sys/devices/platform/backlight/backlight/backlight/brightness /sys/power/state /sys/devices/platform/soc/1f00000.rtc/power/wakeup /sys/power/mem_sleep /sys/bus/usb/drivers/usb/unbind /sys/bus/usb/drivers/usb/bind /sys/class/leds/red:indicator/brightness /sys/class/leds/blue:indicator/brightness /sys/class/leds/green:indicator/brightness /sys/class/leds/white:flash/brightness /dev/rtc0" +command_args="a+rw /sys/module/8723cs/parameters/rtw_scan_interval_thr /sys/devices/platform/backlight/backlight/backlight/brightness /sys/power/state /sys/devices/platform/soc/1f00000.rtc/power/wakeup /sys/power/mem_sleep /sys/bus/usb/drivers/usb/unbind /sys/bus/usb/drivers/usb/bind /sys/class/leds/red:indicator/brightness /sys/class/leds/blue:indicator/brightness /sys/class/leds/green:indicator/brightness /sys/class/leds/white:flash/brightness /dev/rtc0 /sys/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/power/wakeup /sys/class/wakeup/*" diff --git a/programs/sxmo_screenlock.c b/programs/sxmo_screenlock.c index bc0cced..0535a01 100644 --- a/programs/sxmo_screenlock.c +++ b/programs/sxmo_screenlock.c @@ -151,14 +151,14 @@ configuresuspendsettingsandwakeupsources() "enabled" ); - // Enable IRQ wakeup source (incoming call) 5.8 - fprintf(stderr, "Enable 5.8 IRQ wakeup source\n"); + // Enable IRQ wakeup source (incoming call) 5.10 + fprintf(stderr, "Enable 5.10 IRQ wakeup source\n"); writefile( "/sys/devices/platform/gpio-keys/power/wakeup", "enabled" ); - // Enable IRQ wakeup source (incoming call) 5.9 + // Enable IRQ wakeup source (incoming call) 5.9 (no longer exists in 5.10) fprintf(stderr, "Enable 5.9 IRQ wakeup source\n"); writefile( "/sys/devices/platform/soc/1c28c00.serial/serial1/serial1-0/power/wakeup",