Hi. I am trying to get usbip working with the RasPi as server and a Debian Squeeze (one generation earlier than Wheezy) computer as client. I started out with a method found on Sourceforge, but that didn't work out.
Then I found this page and used secretagent's method of July 12, but first installed a swapfile as explained in cubii's July 20 post. The usbip setup proceeded without errors, and usbip list -l
gives a result that looks OK. When I issued sudo usbip bind --busid 1-1.2
, usbip returned bind device on busid 1-1.2: complete
. However, I think there's still a problem, because ...
Pi >sudo usbip --debug
usbipd: info: starting usbipd (usbip-utils 1.1.1)
usbipd: error: failed to open a listening socket
On the client, it wasn't going well until I forced it to install the 1.1.1 version of usbip from Wheezy, rather than 0.1.7-3 that is available in Debian Squeeze. The client can see something going on with the server...
Client >sudo usbip attach --host=192.168.0.120 --busid=1-1.2
(there was no error message)
Client >sudo usbip list --remote raspberrypi
Exportable USB devices
1-1.2: Hewlett-Packard : DeskJet F4100 Printer series (03f0:7e04)
: (Defined at Interface level) (00/00/00)
: 0 - Vendor Specific Class / unknown subclass / unknown protocol (ff/cc/00)
: 1 - Printer / Printer / Bidirectional (07/01/02)
: 2 - Vendor Specific Class / Vendor Specific Subclass / Vendor Specific Protocol (ff/ff/ff)
Looks pretty good, doesn't it?
on the client doesn't show any hint of a printer. I can't tell whether the problem is on the server, or the client, or both.
After more googling, I added a line usbipd: 192.168.0.0/28
to the Pi's /etc/hosts.allow
and then issued sudo exportfs -ra
. I also tried usbip -p
and usbip --port
on both the client & the server, but both of these returned a message indicating bad command syntax, even though the usbip man page says either of these is supposed to "List virtual USB port status."
Ideas? Thanks for any help & for the good info already posted here.
http://www.howtoforge.com/how-to-set-up ... bian-lenny