Page 1 of 1

USB control of a CRT

Posted: Mon May 13, 2024 4:47 pm
by Koston

I have a relatively "new" CRT with a USB port for software-based OSD. This means it's possible to adjust monitor settings via software.

Someone has made a tool for doing this: https://github.com/ondrej-zary/usbmonctl
And here's a compiled binary for MiSTer: https://0x0.st/XKyO.zip

Example:

Code: Select all

#!/usr/bin/env zsh

fset()
{
    local DEV="/dev/usb/hiddev0"
    usbmonctl -s F,"$@" $DEV
}

fset 0x16=227   # Red gain
fset 0x18=222   # Green gain
fset 0x1A=217   # Blue gain
fset 0x12=180   # Contrast

Re: USB control of a CRT

Posted: Mon May 13, 2024 5:21 pm
by thorr

Neat! It would be cool if it was integrated with a colorimeter.