Virtual (linux kernel) usb mass storage device
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
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.
linux linux-kernel usb
add a comment |Â
up vote
1
down vote
favorite
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.
linux linux-kernel usb
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 at 13:37
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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.
linux linux-kernel usb
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.
linux linux-kernel usb
asked Jun 25 at 12:16
Alex Hoppus
1309
1309
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 at 13:37
add a comment |Â
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 at 13:37
1
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 at 13:37
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 at 13:37
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451751%2fvirtual-linux-kernel-usb-mass-storage-device%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 at 13:37