Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

hiby: backlight: use framebuffer blanking instead of PWM on hosted targets

This enables deeper sleep. On touchscreen devices (HiBy R1) it shuts down both screen and touch (touchscreen needs few seconds before it's actually disabled)

Change-Id: I5e8a7dae840227ddf4433daa461cc7124db7676a

authored by

Roman Artiukhin and committed by
Solomon Peachy
7bc85604 476d23ac

+3 -1
+3 -1
firmware/target/hosted/backlight-unix.c
··· 43 43 "/sys/class/backlight/backlight_pwm0/brightness"; 44 44 45 45 static const char * const sysfs_bl_power = 46 - "/sys/class/backlight/backlight_pwm0/bl_power"; 46 + /* Framebuffer powers off both touch (if available) and screen */ 47 + "/sys/class/graphics/fb0/blank"; 48 + 47 49 #else 48 50 static const char * const sysfs_bl_brightness = 49 51 "/sys/class/backlight/pwm-backlight.0/brightness";