Open PowerShell and list USB devices attached to your Windows machine with the command: usbipd wsl list.Ensure that a WSL command line is open (so the VM is active) and attach your USB device. ![]() Edit the /etc/sudoers file associated with your Linux distro to allow permission: sudo visudo and then find the secure_path section, at the beginning of the path section, add the tools location: /usr/lib/linux-tools/5.4.0-77-generic.Install the USBIP tools and hardware database by opening your distro (ie Ubuntu) and running sudo apt install linux-tools-5.4.0-77-generic hwdata.Install the USBIPD-WIN project (download and run the usbipd-win_x.msi installer file). ![]() To connect a USB device to a Linux distribution running via WSL 2: While it is possible to mount a drive using WSL 2, support for connecting USB devices to WSL, like a flash drive or SD card reader, is not natively supported in WSL.Ĭonnecting USB devices to WSL IS now supported using the USBIPD-WIN opensource project however.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |