4 ms·
ive done the same on Linux using udev rules and a simple usb switch. i use it for a VM with a physical GPU attached and it worked great ever since.
by mercora 6y ago
ive done the same on Linux using udev rules and a simple usb switch. i use it for a VM with a physical GPU attached and it worked great ever since.
- zwayhowder 6y agoTo paraphrase the internet. Sample configs or it didn't happen! Seriously, I'd love to see this. I have had mixed results with udev and no idea where to start to send an input switch command to my monitor.
- mercora 6y agosure, i used this[0] for the hotpluging part and these[1] are the udev rules :) in order to switch inputs you should take a look at ddcutil... [0] https://github.com/olavmrk/usb-libvirt-hotplug/blob/master/usb-libvirt-hotplug.sh https://github.com/olavmrk/usb-libvirt-hotplug/blob/master/u... [1] https://gist.github.com/4ab23675ab69162934ce75b52bd1d290 https://gist.github.com/4ab23675ab69162934ce75b52bd1d290
- zwayhowder 6y agoThank you.