maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Accessories (https://talk.maemo.org/forumdisplay.php?f=17)
-   -   USB/IP - a way to connect USB devices to your N900 (https://talk.maemo.org/showthread.php?t=41870)

Farooq 2010-01-23 16:28

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by titan (Post 490605)
step by step - first we need to verify that USB/IP can work in the N900 kernel
and that the speed over USBnet or wifi is sufficiently fast.
Then it will be a DIY solution until someone is willing to mass produce it.

titan will u work on this or do u know any one already working on this?

titan 2010-01-23 16:52

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by Farooq (Post 490609)
titan will u work on this or do u know any one already working on this?

I don't have to resources to work on the hardware implementation (200 EUR is too much for a USB host for me) but I'd be glad to help everyone who wants to work on it or can find a less expensive way to implement it.
The modifications on the N900 and testing with a normal Linux desktop should be
possible as soon as we can compile custom N900 kernels again.

Bernard 2010-01-27 13:10

Re: USB/IP - a way to connect USB devices to your N900
 
I tried to set up the USBIP connection using Ubuntu karmic on my desktop and laptop according to this tutorial:

http://www.howtoforge.com/how-to-mod...over-ip-server

But I'm having troubles.
At the very end when you try to establish the connection using
Code:

sudo usbip -a <server-ip> X-Y
I get this error, no matter what device I try (I tried a USBstick, a USB to serial converter and a DVB-T stick):
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 tried it the other way around, switching the USBIP server and client, but I get the same error.
Anybody have any ideas?
When I have this working I will try to get the N900 working as a client.

Edit:
Using windows as a client I get a similar problem (in usbip.c instead of vhci_attach.c)

titan 2010-01-28 11:02

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by Bernard (Post 497384)
get this error, no matter what device I try (I tried a USBstick, a USB to serial converter and a DVB-T stick):
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


it seems that it cannot even contact your usbipd on your server.
maybe it must be started as root or is the firewall enabled?

meep 2010-01-28 21:20

Re: USB/IP - a way to connect USB devices to your N900
 
Just a thought, could you use an n900 with this over wifi?

http://www.ebuyer.com/product/184686

Cheers

titan 2010-01-28 21:38

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by meep (Post 500048)
Just a thought, could you use an n900 with this over wifi?
http://www.ebuyer.com/product/184686

look interesting but I suspect it does'nt use the open USB/IP but some proprietary
protocol.

Konceptz 2010-02-05 16:05

Re: USB/IP - a way to connect USB devices to your N900
 
Just wondering if this is the same technology.

titan 2010-02-05 16:20

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by Konceptz (Post 512034)
Just wondering if this is the same technology.

It seems to be the same idea, but a different protocol.
the user-space programs are not open-source.
I wonder how that company survives as they seem to offer only freeware.

titan 2010-02-05 16:23

Re: USB/IP - a way to connect USB devices to your N900
 
FYI: there is now a new N900 kernel with USB/IP support
http://talk.maemo.org/showthread.php?p=511207

Konceptz 2010-02-05 16:45

Re: USB/IP - a way to connect USB devices to your N900
 
Quote:

Originally Posted by titan (Post 512049)
It seems to be the same idea, but a different protocol.
the user-space programs are not open-source.
I wonder how that company survives as they seem to offer only freeware.

I think they are waiting for a hardware manufacturer to pick them up and mass produce?


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8