Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


To 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.


sure, 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/u...

[1] https://gist.github.com/4ab23675ab69162934ce75b52bd1d290


Thank you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: