I want to control my monitors with a microcontroller via i2c and DDCI.
Before doing that I wanted to try it via command line to understand which i2c commands to send.
I used ddcutil to get the i2c bus number (i2c-3) and address of my monitor (0x50) then I used those to control the power mode (0xd6) of the monitor and set it to off (0x04).
[stefano@jarvis ~]$ ddcutil detect --verbose
Display 1
I2C bus: /dev/i2c-3
DRM connector: card0-DP-1
Driver: amdgpu
I2C address 0x50 (EDID) responsive: true
With all these informations I tried to use
i2cset -y 3 0x50 0xD6 0x04
but this doesn't work.
I tried to do the same thing via ddcutil with ddcutil setvcp d6 04 and that works.
Any idea what I'm doing wrong?