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

connect to other USB Servers using USBIP from inside WSL #1087

Open
om327 opened this issue Dec 11, 2024 · 0 comments
Open

connect to other USB Servers using USBIP from inside WSL #1087

om327 opened this issue Dec 11, 2024 · 0 comments

Comments

@om327
Copy link

om327 commented Dec 11, 2024

Hello,

Sorry this is a very daft question but i'm trying to connect to a USB device in WSL from a RPi runing usbip.

I can pass the device between two RPis, from an RPi to a multipass instance running on Win10 and can also pass the directedly connected device on Win10 to WSL through your usbipd-win package which is awesome!

To allow this to work I've recompiled the standard WSL2 Kernel (5.15.153) tobake in and include the recommended USB and serial modules in the new kernel. In a previous post you mentioned it would be possible to connect from WSL to another IP address using usbip attach -r <IP_ADDRESS> -b <BUS_ID>.

Unfortunately no matter what i do i can't seem to install and run usbip from within WSL - How did you manage to install it?

I know I'm probably missing something simple but since its a port of the stndard ubuntu kernel i can't directly apt install usbip or indirectly from linux-tools-generic/common. I've even tried locally compliling usbip and installing on WSL but still no joy!

As a side, is it also possible to use usbipd-win to connect my RPi USB device to the windows side rather than WSL?

Many thanks!
Ollie

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

1 participant