root@fritz:/var/mod/root# bind_driver --list
List USB devices
- busid 2-1 (1941:8021)
2-1:1.0 -> none
root@fritz:/var/mod/root# bind_driver --usbip 2-1
** (process:3667): DEBUG: 2-1:1.0 -> none
** (process:3667): DEBUG: write "add 2-1" to /sys/bus/usb/drivers/usbip/match_busid
** (process:3667): WARNING **: bind usbip at 2-1:1.0, failed
** (process:3667): WARNING **: bind usbip to 2-1, failed
** (process:3667): DEBUG: write "del 2-1" to /sys/bus/usb/drivers/usbip/match_busid
root@fritz:/var/mod/root#
root@fritz:/var/mod/root# dmesg | grep usb | tail -n 12
[<c2b5dfdc>] usbfs_update_special+0x16c0/0x1940 [usbcore]
INFO: task usbip_eh:2669 blocked for more than 120 seconds.
usbip_eh D 802fdf14 0 2669 2
[<c13e32e8>] stub_disconnect+0xac/0xd0 [usbip]
[<c2b53c70>] usb_register_driver+0x1a0/0x3b0 [usbcore]
[<c2b53ed4>] usb_driver_release_interface+0x54/0x80 [usbcore]
[<c2b53fe4>] usb_forced_unbind_intf+0x28/0x48 [usbcore]
[<c2b4ac10>] usb_reset_device+0xc4/0x6d0 [usbcore]
[<c13e3384>] stub_device_reset+0x78/0x118 [usbip]
[<c003e4f8>] event_handler_loop+0xb8/0x1d0 [usbip_common_mod]
[<c003e34c>] usbip_thread+0x78/0x9c [usbip_common_mod]
[<c2b5dfdc>] usbfs_update_special+0x16c0/0x1940 [usbcore]
root@fritz:/var/mod/root#
root@fritz:/var/mod/root# dmesg | grep usb
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host: norm_power_rate=
500 act_rate=100 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=11676 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_client: norm_power_rat
e=0 act_rate=0 mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=11676 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host2: norm_power_rate
=500 act_rate=0 mul=55 div=10 offset=0 NormP=2750 mW -> SumNormP=14699 mW
usbip_common_mod: module is from the staging directory, the quality is unknown,
you have been warned.
usbip_common_mod: usbip common driver1.0<4>usbip: module is from the staging dir
ectory, the quality is unknown, you have been warned.
usbip 2-1:1.0: this device 2-1 is not in match_busid table. skip!
usbcore: registered new interface driver usbip
usbip:Stub Driver for USB/IP:1.0
usbip 2-1:1.0: USB/IP Stub: register a new interface (bus 2 dev 2 ifn 0)
usbip 2-1:1.0: stub up
usbip: set_configuration (1) to 2-1
usbip: but, skip!
usbip: endpoint 0 is stalled
usb 2-1: unlink urb 83d21380
usbip: unlinked by a call of usb_unlink_urb()
usb 2-1: unlink urb 83d21380
usbip: unlinked by a call of usb_unlink_urb()
...
usb 2-1: unlink urb 83d21380
usbip: unlinked by a call of usb_unlink_urb()
usbip 2-1:1.0: recv a header, 0
INFO: task usbip_eh:2848 blocked for more than 120 seconds.
usbip_eh D 802fdf14 0 2848 2
[<c13bd2e8>] stub_disconnect+0xac/0xd0 [usbip]
[<c2b53c70>] usb_register_driver+0x1a0/0x3b0 [usbcore]
[<c2b53ed4>] usb_driver_release_interface+0x54/0x80 [usbcore]
[<c2b53fe4>] usb_forced_unbind_intf+0x28/0x48 [usbcore]
[<c2b4ac10>] usb_reset_device+0xc4/0x6d0 [usbcore]
[<c13bd384>] stub_device_reset+0x78/0x118 [usbip]
[<c13ad4f8>] event_handler_loop+0xb8/0x1d0 [usbip_common_mod]
[<c13ad34c>] usbip_thread+0x78/0x9c [usbip_common_mod]
INFO: task usbip_eh:2848 blocked for more than 120 seconds.
usbip_eh D 802fdf14 0 2848 2
[<c13bd2e8>] stub_disconnect+0xac/0xd0 [usbip]
[<c2b53c70>] usb_register_driver+0x1a0/0x3b0 [usbcore]
[<c2b53ed4>] usb_driver_release_interface+0x54/0x80 [usbcore]
[<c2b53fe4>] usb_forced_unbind_intf+0x28/0x48 [usbcore]
[<c2b4ac10>] usb_reset_device+0xc4/0x6d0 [usbcore]
[<c13bd384>] stub_device_reset+0x78/0x118 [usbip]
[<c13ad4f8>] event_handler_loop+0xb8/0x1d0 [usbip_common_mod]
[<c13ad34c>] usbip_thread+0x78/0x9c [usbip_common_mod]
root@fritz:/var/mod/root#
+ DAEMON=usbip
+ DAEMON_LONG_NAME=USB-IP
+ DAEMON_BIN=usbipd
+ . /etc/init.d/modlibrc
+ export PATH=/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : USB-IP
+ : usbip
+ : usbip_ENABLED
+ : /mod/etc/usbip.conf
+ : usbipd
+ : /var/run/usbipd.pid
+ [ -n usbip ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/usbip.cfg
+ [ ! -r /mod/etc/conf/usbip.cfg ]
+ . /mod/etc/conf/usbip.cfg
+ export USBIP_ALL=no
+ export USBIP_CUSTOM=
+ export USBIP_ENABLED=yes
+ export USBIP_HUBS=no
+ export USBIP_STORAGES=yes
+ modlib_start
+ local DAEMON_ENABLED=
+ [ == no ]
+ [ == inetd -a ! -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ [ -n ]
+ [ -x /etc/init.d/rc.inetd ]
+ echo usbip_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $USBIP_ENABLED
+ echo yes
+ [ yes == inetd ]
+ [ -n ]
+ local fn=/var/run/usbipd.pid
+ [ ! -s /var/run/usbipd.pid ]
+ return 3
+ start
+ modlib_startdaemon usbipd -D
Starting USB-IP ... done.
+ share
+ local USBIP_BUSID=
+ [ no == yes ]
+ [ yes == yes ]
+ sed -n s/^ *\([0-9\.-]*\)\:.* usb-storage$/\1/p
+ bind_driver --list
+ USBIP_BUSID=
+ [ no == yes ]
+ grep -vE ^ *#|^ *;|^ *$
+ echo
+ local USBIP_CUSTOM_CLEANED=
+ sed s/ */\n/g
+ echo
+ sort -u
+ local USBIP_BUSID=
+ return 0
+ exit 0
+ DAEMON=usbip
+ DAEMON_LONG_NAME=USB-IP
+ DAEMON_BIN=usbipd
+ . /etc/init.d/modlibrc
+ export PATH=/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : USB-IP
+ : usbip
+ : usbip_ENABLED
+ : /mod/etc/usbip.conf
+ : usbipd
+ : /var/run/usbipd.pid
+ [ -n usbip ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/usbip.cfg
+ [ ! -r /mod/etc/conf/usbip.cfg ]
+ . /mod/etc/conf/usbip.cfg
+ export USBIP_ALL=no
+ export USBIP_CUSTOM=
+ export USBIP_ENABLED=yes
+ export USBIP_HUBS=no
+ export USBIP_STORAGES=yes
+ modlib_start
+ local DAEMON_ENABLED=
+ [ == no ]
+ [ == inetd -a ! -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ [ -n ]
+ [ -x /etc/init.d/rc.inetd ]
+ tr [:lower:]- [:upper:]_
+ echo usbip_ENABLED
+ eval echo $USBIP_ENABLED
+ echo yes
+ [ yes == inetd ]
+ [ -n ]
+ local fn=/var/run/usbipd.pid
+ [ ! -s /var/run/usbipd.pid ]
+ return 3
+ start
+ modlib_startdaemon usbipd -D
Starting USB-IP ... done.
+ share
+ local USBIP_BUSID=
+ [ no == yes ]
+ [ yes == yes ]
+ sed -n s/^ *\([0-9\.-]*\)\:.* usb-storage$/\1/p
+ bind_driver --list
+ USBIP_BUSID= 1-1.2
1-1.3
+ [ no == yes ]
+ echo
+ grep -vE ^ *#|^ *;|^ *$
+ local USBIP_CUSTOM_CLEANED=
+ sort -u
+ sed s/ */\n/g
+ echo 1-1.2 1-1.3
+ local USBIP_BUSID=
1-1.2
1-1.3
+ bind_driver --usbip 1-1.2
+ bind_driver --usbip 1-1.3
+ return 0
+ exit 0
- busid 1-1 (1a40:0101)
1-1:1.0 -> hub
- busid 1-1.3 (0000:0000)
1-1.3:1.0 -> usb-storage
- busid 1-1.2 (067b:3507)
1-1.2:1.0 -> usb-storage
- busid 1-1 (1a40:0101)
1-1:1.0 -> hub
- busid 1-1.3 (0000:0000)
1-1.3:1.0 -> usbip
- busid 1-1.2 (067b:3507)
1-1.2:1.0 -> none
+ DAEMON=usbip
+ DAEMON_LONG_NAME=USB-IP
+ DAEMON_BIN=usbipd
+ . /etc/init.d/modlibrc
+ export PATH=/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : USB-IP
+ : usbip
+ : usbip_ENABLED
+ : /mod/etc/usbip.conf
+ : usbipd
+ : /var/run/usbipd.pid
+ [ -n usbip ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/usbip.cfg
+ [ ! -r /mod/etc/conf/usbip.cfg ]
+ . /mod/etc/conf/usbip.cfg
+ export USBIP_ALL=no
+ export USBIP_CUSTOM=
+ export USBIP_ENABLED=yes
+ export USBIP_HUBS=no
+ export USBIP_STORAGES=yes
+ modlib_start
+ local DAEMON_ENABLED=
+ [ == no ]
+ [ == inetd -a ! -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ [ -n ]
+ [ -x /etc/init.d/rc.inetd ]
+ echo usbip_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $USBIP_ENABLED
+ echo yes
+ [ yes == inetd ]
+ [ -n ]
+ local fn=/var/run/usbipd.pid
+ [ ! -s /var/run/usbipd.pid ]
+ return 3
+ start
+ modlib_startdaemon usbipd -D
Starting USB-IP ... done.
+ share
+ local USBIP_BUSID=
+ [ no == yes ]
+ [ yes == yes ]
+ sed -n s/^ *\([0-9\.-]*\)\:.* usb-storage$/\1/p
+ bind_driver --list
+ USBIP_BUSID=
+ [ no == yes ]
+ echo
+ grep -vE ^ *#|^ *;|^ *$
+ local USBIP_CUSTOM_CLEANED=
+ echo
+ sed s/ */\n/g
+ sort -u
+ local USBIP_BUSID=
+ return 0
+ exit 0
bind_driver --usbip 1-1.2
** Message: bind 1-1.2 to usbip, complete!
usbip -D fritz.box -l
usbip dbg: usbip_network.c: 223 (tcp_connect ) trying 192.168.10.1 port 3240
usbip dbg: usbip_network.c: 243 (tcp_connect ) connected to 192.168.10.1:324
- fritz.box
usbip dbg: usbip.c: 227 (query_exported_devices) exportable 0 devices
listen at [::]:3240
usbipd start (usbip 0.1.7 ($Id: stub_server.c 42 2007-09-07 12:07:51Z hirofuchi $))
connected from ::ffff:192.168.10.20:60461
Bind usbip.ko to a usb device to be exportable!
connected from ::ffff:192.168.10.20:60462
Bind usbip.ko to a usb device to be exportable!
not found requested device 1-1.3
List USB devices
- busid 1-1 (05e3:0608)
1-1:1.0 -> hub
- busid 1-1.2 (0951:168c)
- busid 1-1.3 (1131:1001)
** Message: bind 1-1.3 to usbip, complete!
Bist du sicher, dass du auf den Clients eine kompatible usbip-Version verwendest? Die Version in Freetz ist ja schon sehr alt...
The linux drivers and command line tools are now being maintained in the linux kernel tree.
The versions found here are not being maintained and thus obsolete.
For the most recent versions, please visit:
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=tree;f=drivers/staging/usbip
The git tree (git is the version control system used there instead of SVN):
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
The drivers were already in the kernel tree since version 2.6.28. The userspace tools have been moved on 20110520.