digitaltrails / ddcutil-service

A Dbus ddcutil server for control of DDC Monitors/VDUs
GNU General Public License v2.0
11 stars 1 forks source link

Sometimes the high byte of VCP values may contain garbage. #21

Closed digitaltrails closed 3 months ago

digitaltrails commented 5 months ago

Sometimes the high byte of VCP values may contain garbage. Currently ddcutil-service combines the high and low bytes and returns them. In order to avoid returning invalid high bytes, the service needs to consult the VCP code's metadata and only return the high byte if it has one. If the VCP is just a single byte, it should be in the low byte and the high byte should be set to zero.

See digitaltrails/vdu_controls#84