Notices


Reply
Thread Tools
Posts: 468 | Thanked: 605 times | Joined on Jun 2006
#31
I would like to use this USB/IP idea to connect a DVB-T adapter to the N900.

But I also found a PCTV DVBT Wlan solution:
http://www.pctvsystems.com/Products/...B/Default.aspx

How do you think will this device transfer the streams? couls be a simple video stream over RTSP, or they could use something like a USB over IP solution.

I need the latter because ultimately I want to view pay-tv channels, so I need "direct" access to the DVB-T adapter in order to de-scramble the streams.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,259 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#32
Same problem as Bernard
Code:
request failed at peer, 1
usbip err: vhci_attach.c: 324 (query_import_device) recv op_common
usbip err: vhci_attach.c: 362 (attach_device) query

Last edited by MohammadAG; 2010-02-26 at 11:30.
 
Posts: 9 | Thanked: 3 times | Joined on Jul 2007
#33
Originally Posted by MohammadAG View Post
Same problem as Bernard
Code:
request failed at peer, 1
usbip err: vhci_attach.c: 324 (query_import_device) recv op_common
usbip err: vhci_attach.c: 362 (attach_device) query
I also noticed the same problem and tried to debug the software. So instead of
usbipd -D
I started the daemon with
usbipd -d
to get debug information. And then usbip seems to work fine
Now I have virtually connected USB mouse on my PC. And also worked between two Ubuntu PCs. Haven't tried yet with N900.
 
Posts: 468 | Thanked: 605 times | Joined on Jun 2006
#34
I believe that -d or -D does not matter.
if the error occurs, you should kill the usbip deamon en restart it with the sudo usbipd -D command. after that it also works for me.
I also tested it on the n900, but that does not yet work. I do get a port 0 attached message, and there is a second USB device when I run lsusb, but when I look in output of dmesg, I see a lot of errors. (bad cable etc. etc.)

Maybe it was because I tried to send a USB stick to the N900, and maybe it lacks the proper drivers. I will try a keyboard and/or mouse tomorrow.
 
Posts: 362 | Thanked: 425 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.
 
Posts: 1 | Thanked: 0 times | Joined on Sep 2012
#36
Just came across your thread googling about usb over network solution.. Guys, have anybody tried http://www.net-usb.com/ in action?
 
Posts: 2 | Thanked: 0 times | Joined on Feb 2017
#37
I use the alternative solution to access USB over IP network - www.eltima.com/usb-over-ip/
The solution helped me a lot, but I bought it with the promocode and there was 30% off.
 
Posts: 2 | Thanked: 0 times | Joined on Feb 2017
#38
Originally Posted by Flop View Post
Just came across your thread googling about usb over network solution.. Guys, have anybody tried net-usb.com in action?
Yes, I did use it. It is Eltima Solution. It helped me a lot to access my USB devices over network.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:17.