usbip in 16.04 broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usbip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
when trying to list some shared usb-device the following error occures (Problem since 14.04)
sudo modprobe vhci-hcd
sudo usbip --list 192.168.xxx
- 192.168.xxx
usbip err: usbip_network.c: 119 (usbip_
usbip err: vhci_attach.c: 202 (query_
usbip err: vhci_attach.c: 417 (show_exported_
Hence, it seems still not possible under ubuntu to attach usb devices via usbip?!
usbip version (0.1.7-3). (apt-get install usbip)
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
Codename: xenial
uname -a
Linux kubuntu 4.4.0-2-generic #16-Ubuntu SMP Thu Jan 28 15:44:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
As explained here: usbip.sourcefor ge.net/ #download
http://
Since Linux-3.17 the package 'usbip' is obsolete and does not work. If used, usbip will not function.
Solution: Finally remove the package usbip, it is absolutely missleading.
Instead use the procedure described below in order to run usbip: /github. com/solarkenned y/wiki. xkyle.com/ wiki/USB- over-IP- On-Ubuntu
Original post: https:/
On both machines (server and client) remove any libusbip* and usbip* packages then install the linux-tools- generic:
apt-get install linux-tools-generic
On the server, where you want to share the USB-Ports:
modprobe usbip_host
In order to make this persistent:
echo 'usbip_host' >> /etc/modules
Then start the usbip-daemon: lib/linux- tools/` uname -r`/usbipd
/usr/
Then bind the desired USB-Ports in order to share them over the network (in this case 1-1.3) lib/linux- tools/` uname -r`/usbip list -l lib/linux- tools/` uname -r`/usbip bind -b 1-1.3
/usr/
/usr/
On the client, where you want to use the USB-Ports:
modprobe vhci-hcd
In order to make this persistent:
echo 'vhci-hcd' >> /etc/modules
Then attach the desired USB-Port from the remote machine (in this case 1-1.3): lib/linux- tools/` uname -r`/usbip list -r $remote_host lib/linux- tools/` uname -r`/usbip attach -r $remote_host -b 1-1.3
/usr/
/usr/
I consider this bug report as open as long as the package usbip resides in the repositories.