winddcutil
This implements a slightly different API, so the commands are similar to what's below, but not quite the same.
Run everything with sudo
.
List displays:
ddcutil detect
Show all VCP feature codes for a display:
# Pipe to less for easier viewing and searching
ddcutil capabilities --display 1 | less
# Or grep what you want
ddcutil capabilities --display 1 | grep -i brightness
Get a VCP value for a display, this will also show value ranges:
ddcutil getvcp 10 --display 1
Set a VCP value:
# 10 is the VCP code, 30 is the value to be set
ddcutil setvcp 10 30 --display 1
At some point it may be worth trying https://frdmtoplay.com/using-ddccontrol-as-a-non-root-user/ to create a
ddc
group for the i2c monitor devices to run withoutsudo
. (Preferably with Ansible)