haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.85k stars 112 forks source link

windows USBView for device detection #24

Open 0xpr03 opened 3 years ago

0xpr03 commented 3 years ago

Might be worth to add USBView for Windows to the possible tools to find your USB device. Helped me to view the USB hierarchy and find out that the (authors) USB Switch itself disconnects on switch. Thus I can just detect the switch itself instead of my mouse.

haimgel commented 3 years ago

Ideally, I'm thinking of something in the app itself that could provide useful info in the logs. E.g. if it logged device name / type together with its vendor ID / device ID, that would probably be sufficient: use the USB switch to switch away and back, note the reported devices connected / disconnected, and voilla!

However, if meanwhile you'd like to submit a patch against the readme, I won't be against it :-)