Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On linux: `ddcutil setvcp 0x10 + <value>` to increase brightness (and - <value> to lower it). Ymmv.


Alternatively, you could use kernel module to expose it as standard backlight control: https://milek7.pl/ddcbacklight/ddcci_bl.c

    insmod ddcci_bl.ko
    modprobe i2c-dev
    echo ddcci_bl 0x37 > /sys/bus/i2c/devices/i2c-2/new_device     (replace i2c-2 with bus number for your monitor)


Disabling Secure Boot so you can have control of your monitors seems very 2020.


That's not necessary. There is ddcci-dkms which can be built against the running kernel and signed as all the other modules. I use it on both Ubuntu (via shim + grub) and Arch (via direct boot).

This allows controlling the screen brightness from the usual places (gnome power menu thingy or via light for the i3 crowd). See the Arch Linux Wiki for more info [0].

Arch : ddcci-driver-linux-dkms (aur)

Ubuntu : ddcci-dkms

[0] https://wiki.archlinux.org/index.php/Backlight#External_moni...


An eye saver with this ultra lightweight 16" USB-C travel monitor I picked up.

On resume from suspend the monitor always dims down to some ridiculously low setting, and without `ddcutil` I'd have to manually adjust the brightness via hardware toggle. As a workaround for the limitation of the monitor I just have a bash script that invokes `ddcutil` on resume from suspend - wonderful :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: