Asked on Super User by Shaggydog, 1 year ago. No reply there for at least a week.
Checking for USB device disconnects on Windows (similar to journalctl on Linux)
I have these kiosk machines, (pretty much regular computers but in kiosk form factor), they have these built in USB scanners. The scanners keep disconnecting and reconnecting at random, and it's causing issues if the scanner happens to disconnect right before my application tries to use it. In journalctl on Linux the disconnects look like this: Mar 20 13:57:55 kr1 kernel: usb 1-6.1: USB disconnect, device number 16 Mar 20 13:57:56 kr1 kernel: usb 1-6.1: new full-speed USB device number 17 using xhci_hcd Mar 20 13:57:56 kr1 kernel: usb 1-6.1: New USB device found, idVendor=120b, idProduct=8207,
This question is one of 1 report of the same problem:
Checking for USB device disconnects on Windows (similar to journalctl on Linux)
Nobody has answered it yet, here or anywhere.
Related problems
Question by Shaggydog on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.