2.6.32.27 is already pretty old. Quite some patches done since that version. Could you upgrade to a more recent version? (I am using 2.6.37.4 from openwrt r26276 with patches puled in from 2.6.38…, most recent openwrt trunk is using 2.6.39 )
(Not certain that this is the issue, but need to eliminate that potential issue.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I'm trying to setup usbip on a OpenWrt box, compiled and installed sucessfully
root@WR1043ND:/tmp/usbip# usbip_bind_driver -list
List USB devices
- busid 1-1 (0781:5539)
1-1:1.0 -> usb-storage
root@WR1043ND:/tmp/usbip# usbip_bind_driver -usbip 1-1
** (process:2717): DEBUG: 1-1:1.0 -> usb-storage
** (process:2717): DEBUG: unbinding interface
** (process:2717): DEBUG: write "add 1-1" to /sys/bus/usb/drivers/usbip/match_busid
** Message: bind 1-1 to usbip, complete!
but when I try to use the device on a Windows client machine it fails, and on the server's dmesg, I get this:
usbip 1-1:1.0: USB/IP Stub: register a new interface (bus 1 dev 3 ifn 0)
usbip 1-1:1.0: stub up
usbip: set_interface error: inf 0 alt 0, -145
Any help is appreciated
Which kernel version is you openWrt box using and which sort of USB device are you trying to use?
root@WR1043ND:~# uname -a
Linux WR1043ND 2.6.32.27 #3 Sat May 21 17:24:00 EDT 2011 mips GNU/Linux
The USB Device is a JMicron USB-IDE adapter (HDD case) with a 1.5Tb Seagate HDD. Tested a standard 8Gb pendrive with the same results.
2.6.32.27 is already pretty old. Quite some patches done since that version. Could you upgrade to a more recent version? (I am using 2.6.37.4 from openwrt r26276 with patches puled in from 2.6.38…, most recent openwrt trunk is using 2.6.39 )
(Not certain that this is the issue, but need to eliminate that potential issue.)