1

I want to test some code which interacts with usb mass storage device through libusb. Consider that on test sever I can't use real (hw) usb device. Also test infrastructure is running in a separate container (not in VM) so I can't create virtual usb device. Is there a way in linux kernel to simulate usb mass storage device? If you have any other idea how I can go on with this, please, share. Thank you.

  • 1
    Perhaps the usbip driver will do. It allows you to see a usb device over a network connection as if it was local. – meuh Jun 25 '18 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.