Thread
:
USB/IP - a way to connect USB devices to your N900
View Single Post
Fabry
2011-09-06 , 22:19
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#
35
I have tried to use N900 as WiFi USB Server for a Windows Client but it not works.
On N900 (Power Kernel v48) I have done:
Used h-e-n to power and enumerate an Usb Stick (full usb 2.0)
Connected N900 to Access Point
Loaded the needed usbip modules and started the usbip deamon:
sudo gainroot
modprobe usbip
modprobe usbip_common_mod
usbipd -D
Shared the Usb Stick:
usbip_bind_driver --usbip 1-1
On Windows (Seven x64 with UsbIp driver installed) I have done:
Listed remote usb device:
C:\Users\xxxx\usbip_windows_v0.2.0.0_signed>usbip -l 192.168.x.3
This works correctly and reports:
- 192.168.x.3
1-1: SanDisk Corp. : Cruzer Micro 256/512MB Flash Drive (0781:5151)
: /sys/devices/platform/musb_hdrc/usb1/1-1
: (Defined at Interface level) (00/00/00)
: 0 - Mass Storage / SCSI / Bulk (Zip) (08/06/50)
Attached the remote usb device:
C:\Users\xxxx\usbip_windows_v0.2.0.0_signed>usbip -a 192.168.x.3 1-1
This not works, it hangs for some seconds and then it returns an error:
new usb device attached to usbvbus port 1
usbip err: usbip_windows.c: 374 (write_to_dev) read from sock ret 0 not equal a usbip_header
After the error something crashes on N900 because there isn't anymore shared usb device and the command lsusb hangs if executed.
I must reboot N900 to fix it
I have tried 2 o 3 times with different Usb devices, with always same results (and crashes)
Last edited by Fabry; 2011-09-06 at
22:22
.
Quote & Reply
|
The Following User Says Thank You to Fabry For This Useful Post:
Wikiwide
Fabry
View Public Profile
Send a private message to Fabry
Find all posts by Fabry