-
On a few occasions I ended up in the following state:
Last time I had this was probably after I used CTRL-C twice a few seconds apart to stop usbipd-win which was running via console. usbipd-win/Usbipd/UsbDevice.cs Line 14 in 5fbbf6b ) Does two times CTRL-C react differently than just one time CTRL-C? I can remove the device from the persisted list with:
But have not found a command to get the device listed in the connected list. Edit (2024-09-10):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See answer here #1024
I don't think so.
Probably the device comes back as a "different device" due to the sudden port reset that happens after detach. Some devices don't like such a reset in the middle of normal operations and then require a power cycle. Normally (when you just use the device on the host) you never notice, because once the device is connected, only the host driver initializes the device once. But when using In short: Windows thinks the device is now a different device, until you physically unplug/replug. A port reset should do the same, but for some devices an actual full power cycle is needed. If you don't need the device on the host, you can use In your example above, maybe the 1-3 device and the persisted device are actually the same physical device, but Windows doesn't recognize them as the same. This is probably also the reason why it assigns different COM port numbers. Or else, the persisted device is "gone" altogether and Windows no longer enumerates it in the active device list until you power cycle the device. |
Beta Was this translation helpful? Give feedback.
See answer here #1024
I don't think so.
usbipd-win
just uses System.CommandLine and its default CTRL-C handler. And whenusbipd-win
quits, it does nothing more than detach all devices "as if" you detached them manually withusbipd detach
.Probably the device comes back as a "different device" due to the sudden port reset that happens after detach. Some devices don't like such a reset in the middle of normal operations and then require a power cycle. Normally (when you just use the de…