# External monitor brightness (DDC/CI) on GPUs that are not "VGA".
#
# ddcutil ships 60-ddcutil-i2c.rules, which grants the seated user access to
# the GPU's i2c buses -- but only when the GPU's PCI class is 0x030000 (VGA
# compatible controller). An AMD iGPU that is not the primary boot display
# enumerates as 0x038000 (Display controller) instead, so every DDC bus it
# exposes stays root-only and the Brightness service reads EACCES. Same grant,
# broadened to the class that hardware actually reports.
SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{class}=="0x038000", TAG+="uaccess"
