On Mon, Oct 26, 2020 at 06:20:25PM +0100, Tobias Heider wrote: > The diff below wires the ofw backlight commands to ws_get_param/ws_set_param > and makes wsconsctl backlight/brightness work on my machine using radeondrm. This commit fixed brightness on my PowerBook5,8 but broke display.contract in that wsconsctl(8) not fails for this knob:
# wsconsctl display.contrast wsconsctl: WSDISPLAYIO_GETPARAM: Operation not permitted display.contrast=0.00% # wsconsctl display.contrast wsconsctl: WSDISPLAYIO_GETPARAM: Operation not permitted display.contrast=4294967293.4294967293%