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.91k stars 113 forks source link

1.3.0 on Windows doesn't detect USB changes #128

Closed sagacity closed 1 year ago

sagacity commented 1 year ago

Disclaimer: First time user of your tool, so I may be imagining things :)

Version 1.3.0 of display_switch doesn't seem to detect any USB changes, at least on Windows 11. Nothing shows up in the logs (even with debug logging enabled via RUST_LOG=debug).

Version 1.2.0 works fine with logging like 09:58:55 [DEBUG] (1) display_switch::app: Detected device change. Removed device: "0bda:5412".

I haven't spent any time on bisecting dependencies to figure out what's going on, but happy to assist if you cannot reproduce the issue.

chris400 commented 1 year ago

For me 1.3.0 does not detect changes on Windows 10 either.

1.2.0 works fine on both Windows 10 and Windows 11.

haimgel commented 1 year ago

Confirm the bug, I can replicate it. Looking into it this week.