Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attaching a device to a Arch Linux WSL2 failed #909

Closed
Rottenbeer opened this issue Mar 30, 2024 · 1 comment
Closed

Attaching a device to a Arch Linux WSL2 failed #909

Rottenbeer opened this issue Mar 30, 2024 · 1 comment

Comments

@Rottenbeer
Copy link

Rottenbeer commented Mar 30, 2024

Hi!

I can't attach a device to my Arch Linux WSL2, but it works for Ubuntu:

PS C:\Users\rotte> usbipd attach --wsl "Ubuntu-22.04" -i 10c4:ea60 -a
usbipd: info: Device with hardware-id '10c4:ea60' found at busid '1-7'.
usbipd: info: Selecting a specific distribution is no longer required. Please file an issue if you believe that the default selection mechanism is not working for you.
usbipd: info: Using WSL distribution 'Ubuntu-22.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: info: Using IP address 172.24.64.1 to reach the host.
usbipd: info: Starting endless attach loop; press Ctrl+C to quit.
WSL Attached
C:\Users\rotte> usbipd attach --wsl Arch -i 10c4:ea60 -a
usbipd: info: Device with hardware-id '10c4:ea60' found at busid '1-7'.
usbipd: info: Selecting a specific distribution is no longer required. Please file an issue if you believe that the default selection mechanism is not working for you.
usbipd: info: Using WSL distribution 'Arch' to attach; the device will be available in all WSL 2 distributions.
usbipd: error: Mounting 'C:\Program Files\usbipd-win\WSL' within WSL failed.

PS C:\Users\rotte> wsl --list --verbose
NAME STATE VERSION
*Ubuntu-22.04 Running 2
Arch Stopped 2

PS C:\Users\rotte> usbipd attach --help usbipd-win 4.1.0

Even though you say, that it's not necessary to specify a Linux Distribution, I'd soon like to remove the Ubuntu WSL and fear I can't attach the usb device afterwards?

@dorssel
Copy link
Owner

dorssel commented Mar 30, 2024

Duplicate of #856

It's been fixed in the master branch. You can find the installer here https://github.com/dorssel/usbipd-win/actions/runs/8413402184

@dorssel dorssel closed this as completed Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants