I can control laptop brightness with `/sys/class/backlight/foo`, and my asus external monitor advertises capabilities over hdmi with `modprobe i2c-dev` and then `ddcutil capabilities`. Apparently this is governed by something called MCCS. You can find more info on the arch wiki.