It's extra magic.could not replicate that on a DUT also connected via RPI connect (but not using the official touch screen 2!).I've seen you can open Screen Configuration and use the Screen Layout Editor to control Brightness for a connected Touch Display 2. However, I found one bug, and have one suggestion for an improved experience:
..
Btw: setting the backlight brightness works for every device which exposes a 'backlight' driver via device tree. Iit appears under /sys/class/backlight/.../display_name, and then Screen Configuration makes the association and will update /sys/class/backlight/.../brightness as you change the value.
https://github.com/raspberrypi/linux/co ... dbd689aba6 added a /sys/class/backlight/<device>/display_name, and https://github.com/raspberrypi/linux/co ... abc0169620 populates it with the connector name.
It'll only work for DRM panel drivers where device tree has a backlight association, so we're talking DPI, DSI, LVDS (via DPI or DSI bridge) and SPI displays, but not HDMI.
Statistics: Posted by 6by9 — Thu Nov 07, 2024 4:55 pm