FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
83 stars 10 forks source link

[FEATURE REQ] Configure used VCP code #37

Closed Ashymad closed 4 years ago

Ashymad commented 4 years ago

Sadly not every manufacturer conforms to the specification and on some monitors brightness might be controlled by some other VCP code than 0x10. On my external Fujitsu monitors OSD "Brightness" is controlled by VCP code 0x6b (Backlight Level: White), while 0x10 changes something called "Black Level" in the OSD, which I would rather set at a constant value, high values of this make everything unreadable.

FedeDP commented 4 years ago

Hi! Thanks for opening the issue! This is a nice idea indeed, that surely needs to be implemented :) I hope to include it for the next release (no eta unfortunately!). In the meantime you can patch your clightd4.0 sources :)

Ashymad commented 4 years ago

In the meantime you can patch your clightd4.0 sources :)

Yup, that's what I'm doing right now :)

FedeDP commented 4 years ago

Fixed by commit 14d0bded9d14921939f4dd40e857c292010aba10. Is is exposed as a cmdline parameter ("--vpcode 0xYY"): you can simply override default clightd service with your own (https://askubuntu.com/questions/659267/how-do-i-override-or-configure-systemd-services) and you should be good to go. It is still in devel branch though. This will appear in next release! Thank you again!

FedeDP commented 4 years ago

And wiki page updated: https://github.com/FedeDP/Clightd/wiki/Getting-Started#cmdline-parameters :)