I've tried various ways to control screen brightness and standby/screen off in Raspberry OS (based on Debian Bookworm), but without luck.
Is there a proven way to turn the screen on/off via dpms for example or to control backlight from the OS without hardware additions?
7inch HD screen off/backlight brightness control in Debian Bookworm
Hello,
In the Bookworm system, you can try using the following commands to turn the screen off/on:
Note: Replace HDMI-A-1 with your device's name. If you're not sure what your device's name is, you can find it using the following command:
To display information about connected devices:
Note: If you run this command without SSH, you don’t need to add the prefix WAYLAND_DISPLAY=wayland-1.
In the Bookworm system, you can try using the following commands to turn the screen off/on:
Code: Select all
WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --off
WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --on
To display information about connected devices:
Code: Select all
kmsprint | grep Connector