I am trying to run lsusb commands on wsl2 with Ubuntu 20.04, no output is showing
While
lsusb -Vcommand gives output-lsusb (usbutils) 012lsusb -tcommand gives output-/sys/bus/usb/devices: No such file or directory
3 Answers
Currently it is not supported though the issue is being tracked on the WSL GitHub repository.
WSL2 is basically a fancy "stripped down" Ubuntu Hyper-V VM, so no no support possible for low-level actions like that
You can now use usbipd to gain access to the usb device from within WSL, see the official documentation.
I'm still having issues, but is going in the right direction.