Hi,
I'm strying to use USBIP to export a steering wheel. Both machines run Ubuntu
7.10, and I successfully compiled the kernel modules and utilities for them. I
can bind the device on "machine1" (where it's plugged to), but when I attach to
it from "machine2" the connection gets reset. I also tried with an usb mouse,
and gets the same result.
Here is the system log from machine1:
[86762.237094] usbip: USB/IP Stub: register a new interface (bus 3 dev 2 ifn 0)
[86778.068288] usbip: stub up
[86778.944560] /home/raulo/src/usbip/linux/trunk/drivers/2.6.22/stub_rx.c:
set_configuration is not fully supported yet
[86778.944564]
[86778.944568] usbip: set_configuration: devnum 2 1
[86778.946411] stub_rx : ***ERROR***
(/home/raulo/src/OSS/usbip/usbip/linux/trunk/drivers/2.6.22/stub_rx.c,446)
stub_rx_pdu: recv a header, 0
[86778.947463] usbip: stopped by a call of usb_kill_urb()because of cleaning up
a virtual connection
[86778.968296] input: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) as
/class/input/input12
[86778.968351] input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse
with IntelliEye(TM)] on usb-0000:00:1d.2-1
And from machine2:
[ 8281.307631] usbip: rhport(0) sockfd(3) devid(196610) speed(1)
[ 8281.521086] usb 3-1: new low speed USB device using vhci_hcd and address 17
[ 8281.694485] usb 3-1: new low speed USB device using vhci_hcd and address 18
[ 8281.867405] usb 3-1: new low speed USB device using vhci_hcd and address 19
[ 8281.930389] usb 3-1: configuration #1 chosen from 1 choice
[ 8281.941399] vhci_rx : ***ERROR***
(/home/david/src/usbip/linux/trunk/drivers/2.6.22/vhci_rx.c,206) vhci_rx_pdu:
receiving pdu failed! size is 0, should be 48
[ 8281.941783] usbip: vhci_tx signal catched
[ 8281.941848] usbip: stop threads
[ 8281.941855] usbip: release socket
[ 8281.941857] usbip: disconnect device
Now I read on the forums about problems with device reset, but does this apply
to HID devices too? Anyone succeeded in sharing a mouse, keyboard, joystick?
thanks,
david
|