Commit 97d4a3e
committed
fix(device): resolve hanging issue in USB device discovery
- Remove problematic caching and retry logic that was causing hangs
- Device discovery now works reliably and returns USB devices immediately
- The `usbipd list` command now functions correctly and displays connected USB devices
- Maintains queue synchronization for thread safety
- Fixes issue where device enumeration would hang indefinitely
Tested with USB device connected:
- Successfully discovers and lists USB devices
- Proper vendor ID, product ID, and device name extraction
- Linux-compatible bus ID generation works correctly1 parent 0c039c4 commit 97d4a3e
1 file changed
Lines changed: 5 additions & 14 deletions
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 27 | + | |
| 28 | + | |
38 | 29 | | |
39 | 30 | | |
40 | 31 | | |
| |||
0 commit comments