Add USB Device Support
This ask is specifically for adding USB Device support to WSL - i.e. exposing USB busses and devices to the OS.
This is NOT an ask for adding the ability to communicate with external USB peripherals like phones, IoT boards, etc. - those asks are elsewhere:
USB serial & mounting of FAT*/NTFS formatted USB sticks is now supported in Insider build 16176:
Tom Lake commented
I can't access DFU devices from Bash to update firmware for some USB devices. From Bash, I'd like to be able to use all the ports (usb, serial, parallel) that exist on the host.
I agree this is not complete. It does not allow for tools such like dd
Tim Canham commented
Not completed - would like access for adb utility.
David Prothero commented
This isn't completed :(
Gary Keaney commented
What about mounting ext3 formatted removable drives?
I would not mark this task as complete. I still can't run lsusb or any libusb programs from inside the Bash prompt.
I disagree that this work is complete. The request was for access to USB busses and devices, not to be able to mount a USB drive. A specific example is the ability to run pyocd through WSL instead of powershell.
Robert Oeffner commented
Thank you for including this feature. Works great on my laptop with build 16176
@richturn Not quite what was asked. We ask for USB DEVICE support. Please read the original post again.
Felix Uhl commented
@richturn: Having access to USB mass storage is a good improvement, thank you so much for including it!
But I'd argue this doesn't make this task "completed", as it's about general access to USB devices of all classes and exposure of the USB device tree.
Lewis Pringle commented
I suggest adding support for webcams (because when I reported it as a bug people complained - and said to add it here). Honestly, I'm not sure this is important. But here is the bug report anyhow:
video4linux doesn't work
add webcam to system and
ls -l /sys/class/video4linux/
I have no particular preference as to which webcams are supported, but I guess Id' recommend whatever ones happen to be popular. Not pushing this - but i happen to have been testing a logitech webcam.
Russell Dempsey commented
I don't even care about accessing external USB or network drives.. I want to access my D drive which is where all my data is. For those of us that have an SSD where our OS is, and another larger drive where are apps, code, and non-OS files are.. this is a HUGE painpoint.
No USB is really a big pity. For some strange reason Microsoft does not allow USB forwarding for years in Hyper-V (I mean what is more important to provide needed feature for customers in the product or to loose customers because VMware and other hypervisors just work fine with this).
Now this one is brilliant idea and it is a dream to have one stable OS with both Windows/Linux possibilities.
Do it guys please ASAP.
Jean-Philippe Bégin commented
Would appreciate this support also
Yes please! I want to access my SD Card in my Surface Pro 3 with the Ubuntu Bash.
I would like to do fsck on my SDcard from windows..
Uninstalling Bash due to this.
Makes no sense that an external HDD connected trough USB is working, but a USB stick is not.
Gruxton Bakwash Williamson commented
No ability to read from usb drives/memory stick?
You have to be kidding!
should be added ASAP!
Please and thank you! Trying to do some IoT development with various MCUs and USB support would be most welcome.
This cannot be implemented soon enough. If I have a project so large that I must store it on an external drive, then I cannot work on it. :(