Does WSL2 Support lsusb?

I am trying to run lsusb commands on wsl2 with Ubuntu 20.04, no output is showing While

  • lsusb -V command gives output- lsusb (usbutils) 012
  • lsusb -t command gives output- /sys/bus/usb/devices: No such file or directory
1

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like