dorssel / usbipd-win

Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
GNU General Public License v3.0
3.31k stars 204 forks source link

Connecting a Intel RealSense Depth Camera D415 #983

Open Mokaz opened 5 days ago

Mokaz commented 5 days ago

I'm trying to connect a RealSense D415 Depth Camera, but it does not attach correctly. I have tried using bind with --force, but it still does not show up in WSL when using lsusb image

Running usbipd attach --wsl --busid 2-17: image

Firewall rule inbound: image

Firewall rule outbound: image

I'm running Ubuntu 22.04.4 LTS

dorssel commented 5 days ago

What is the version of usbipd-win? And of your Windows host?

Mokaz commented 4 days ago

usbipd-win 4.2.0 and Windows 11 Pro 23H2 22631.3737

dorssel commented 4 days ago

Are you using 'networkingMode=mirrored' or the default bridged mode?

Mokaz commented 4 days ago

Default bridged mode. I haven't changed any settings.

dorssel commented 4 days ago

Are you using any third party security software? Something seems to be blocking the network connection from WSL back to the host.

Mokaz commented 3 days ago

Well yes, that could very well be the problem. I'm using a work pc, and there are IT security programs installed. I'll contact IT and ask about it. If unblocking the ports is not an option, do you have any other suggestions for connecting the camera to WSL?

dorssel commented 2 days ago

You can use an ssh reverse tunnel. Look through older (possible closed) issues about this subject.