jiegec / usbip

A Rust library to run a USB/IP server
MIT License
255 stars 25 forks source link

Flash drive and webcam cannot be mounted on Linux #44

Open petrokolchin opened 5 months ago

petrokolchin commented 5 months ago

After starting the server, I try to connect a USB drive or a webcam on a Linux client, I see them in the list of devices via lsusb or usblist -r, I can make an attachment, but I can’t use these devices in the system, the webcam gives an error when starting, and the flash card is not displayed, maybe I configured the server incorrectly?

Снимок экрана 2024-01-16 в 17 44 57 Снимок экрана 2024-01-16 в 17 40 18 Снимок экрана 2024-01-16 в 17 39 27 Снимок экрана 2024-01-16 в 17 36 49
h7x4 commented 5 months ago

Hello @petrokolchin, thank you for reporting the issue.

Could you tell us the version of the library you're using, either by commit hash or version number? Logs from the server using RUST_LOG=trace would also be helpful.

If you happen to be running version 0.7.0, I suspect this might be an issue related to #39

petrokolchin commented 5 months ago

Hello! Version 0.7.1 logs.txt

Here is the log when I connect the webcam Sorry if the log is too big, I copied all the contents, thanks.

petrokolchin commented 5 months ago

Here is the log when I connect the USB flash drive

Снимок экрана 2024-01-17 в 13 01 01

log_usb_flashdrive.txt