[RPi4] DDCUtil on LE 12.0.2

  • Hey there,

    I know there are two topics about this already, Namely Help installing DDCUTIL and Please add brightness control via ddcutil .

    However, even compiling on RPi-OS with the x11-compat disabled, leaves LE missing the necessary libraries.

    I would like to use it to power on/off my monitor, as well as potentially setting the active source and KVM-peripherals when it's being used. The monitor is a Philips 439P1/00 with neither CEC, nor DPMS. I can reach it through I2C/ddcutil on both RPI-OS and my Ubuntu Desktop.

    Is there a way I can run ddcutil or otherwise invoke the I2C-calls in LE/Kodi?

  • LE doesn't package i2c utilities into the core image as they're not normally required, but the System Tools bundle add-on in the LE repo contains i2c-tools. The user response in the first thread you linked Help installing DDCUTIL also suggests copying the ddcutil binary from an Ubuntu image worked, so perhaps Ubuntu compiles it static whereas RPiOS compiles it shared? You can avoid the need to install Ubuntu by downloading the .deb package from online resources and unpacking it with ar x file.deb on LE to get the binary, then use ldd to see if it's static and usable.

    NB: Another possibly useful thing is the "Turn Off" screensaver in the Kodi repo. It will normally trip shutdown/wake on a monitor instead of showing pretty things on-screen.