I am currently trying to build the usbip on the Raspberry Pi (currently having the Pi 2 model B) but without success.
I've also tried the "brother" project of usbip but it is long now abandoned.
Do you have a how-to or a quick solution on how to run it on the PI?
Thank you
Evangelos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Added lines to load module and launch demon at startup in rc.local
insmod /path/to/module/ipusb-host.ko
nohup ipusbd > /root/.ipusb.log &
Client: Windows 10 (if client is linux one should definitely use usbip)
Boot with "Disable driver signature enforcement"
shutdown /o /r, troubleshootings, advanced option, startup settings
Install drivers as described in USAGE file from win-kmod
install client
Launch it and add server ip/name
Attach device works.
Detach crashes gui.
The guy requiring this setting will soon make further test about sharing USB devices
Hello to the team,
I am currently trying to build the usbip on the Raspberry Pi (currently having the Pi 2 model B) but without success.
I've also tried the "brother" project of usbip but it is long now abandoned.
Do you have a how-to or a quick solution on how to run it on the PI?
Thank you
Evangelos
Server: Raspbian "Jessie"
Kernel 3.18 for rpi2 (by default only one with headers)
Followed step by step: https://sourceforge.net/p/ipusb/wiki/ipusb/
And: https://sourceforge.net/p/ipusb/wiki/ipusb-kmod/
Added lines to load module and launch demon at startup in rc.local
insmod /path/to/module/ipusb-host.ko
nohup ipusbd > /root/.ipusb.log &
Client: Windows 10 (if client is linux one should definitely use usbip)
Boot with "Disable driver signature enforcement"
shutdown /o /r, troubleshootings, advanced option, startup settings
Install drivers as described in USAGE file from win-kmod
install client
Launch it and add server ip/name
Attach device works.
Detach crashes gui.
The guy requiring this setting will soon make further test about sharing USB devices
Tip: Udev rule to auto bind device automagically
/etc/udev/rules.d/01-usbip.rules
ACTION=="add", SUBSYSTEMS=="usb", ATTR{idVendor}=="xxxx", ATTR{idProduct}=="yyyy", RUN+="/usr/local/bin/usbip_udev.sh bind xxxx yyyy"
/usr/local/bin/usbip_udev.sh
#!/bin/sh
bus=$(ipusb list -l | sed -n "/busid.${2}:${3}/ { s/. busid //; s/ .*$//; p}")
Hope this to be useful to someone, even thread is very old.
If rpi2 provided 3.14 kernel, then would probably use "usbip" instead.
Last edit: Samuel Bauer 2016-03-04