Skip to content

Instantly share code, notes, and snippets.

@petitJAM
Last active August 14, 2022 14:25
Show Gist options
  • Save petitJAM/6ae787064202f9a1b8b92adea1c0a805 to your computer and use it in GitHub Desktop.
Save petitJAM/6ae787064202f9a1b8b92adea1c0a805 to your computer and use it in GitHub Desktop.
`ddcutil` Cheat Sheet

ddcutil

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
@petitJAM
Copy link
Author

petitJAM commented Jun 15, 2022

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 without sudo. (Preferably with Ansible)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment