USB/IP - a way to connect USB devices to your N900
in the thread http://talk.maemo.org/showthread.php?p=489589
we've learned that it will be almost impossible to connect USB devices directly to the N900 USB port. An alternative idea came up: USB over IP, which uses an external computer or special hub in which the devices are plugged in. The hub forwards all USB IO to the N900. This solution does already work for Linux and Windows desktops http://usbip.sourceforge.net/ the relevant posts in the other thread are http://talk.maemo.org/showpost.php?p...&postcount=573 http://talk.maemo.org/showpost.php?p...&postcount=575 http://talk.maemo.org/showpost.php?p...&postcount=578 http://talk.maemo.org/showpost.php?p...&postcount=579 http://talk.maemo.org/showpost.php?p...&postcount=583 the microcontroller idea was discussed independently in http://www.mail-archive.com/maemo-de.../msg20603.html USB/IP was not mentioned |
Re: USB/IP - a way to connect USB devices to your N900
I came accross a view more posts about a USB over IP solution.
http://www.virtualinsanity.com/index...g/usb-over-ip/ http://www.incentivespro.com/ |
Re: USB/IP - a way to connect USB devices to your N900
Do not have a N900 but usbip will be very useful am sure.
I had compiled in scratchbox and installed the modules on my N800(needed libwrap and libsysfs also), with my Linux desktop serving as the USBIP Server. Am able to list and attach the remote usb device on my N800. Havent played around with it much more though or checked the error with the usb.ids. server:~# usbip_bind_driver --list List USB devices - busid 4-1 (045e:008a) 4-1:1.0 -> usbhid 4-1:1.1 -> usbhid - busid 5-8 (058f:6335) 5-8:1.0 -> usbip Client side(N800) ./usbip --list 1xx.xx.xxx.xx(server ip) usbip err: vhci_attach.c: 586 (main ) open usb.ids - 1xx.1xx.xx.xxx 5-8: unknown vendor : unknown product (058f:6335) : /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-8 : (Defined at Interface level) (00/00/00) : 0 - unknown class / unknown subclass / unknown protocol (08/06/50) ./usbip --port usbip err: vhci_attach.c: 586 (main ) open usb.ids 8 ports available Port 00: <Port in Use> at High Speed(480Mbps) unknown vendor : unknown product (058f:6335) 2-1 -> usbip://1xx.xxx.xx.xxx:3240/5-8 (remote devid 0005001d (bus/dev 005/029)) 2-1:1.0 used by usb-storage /sys/class/scsi_device/0:0:0:0/device ......................... netstat -tapn (on server) tcp6 0 0 1xx.1xx.xx.xxx:3240 1xx.xxx.xxx.xx:58989 ESTABLISHED |
Re: USB/IP - a way to connect USB devices to your N900
This makes my "N8x0 as USB server" even more attractive to me. If someone can get the usbip server working on the N8x0 tablets and the client working on the N900, the n8x0 could easily share usb ports over wifi with the n900... :)
I know... N8x0 is a big bulky extra thing to lug around... and not super-cheap, either... but still way smaller than a laptop, and with that big bright screen it has lots of other uses besides USB host. |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
Now we only need to compile the USB modules for the N900... Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
-but small, I think one USB port would suffice. We should somehow suggest that. |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
(maybe 1x USB OTG and 1x USB device+charge) |
Re: USB/IP - a way to connect USB devices to your N900
1 Attachment(s)
That's true, but if they made such a gadget they would have the upper hand over let's say other "mobile" charger manufacturers like Energizer for example that provide one charger for multiple devices - especially because this would bring USB OTG for Symbian as well (provided they offer an app for that)
Example based on: Nokia Extra Power DC-8 |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
it would require a chipset which runs Linux 2.6 and is fast enough to handle the transfer speeds. This would be a non-trivial engineering effort. The chargers and batteries, however, are low-tech, low-cost, disposable devices assembled in China. It would be better to keep the USB/IP hub as a separate device which could be connected to any USB micro power source. |
Re: USB/IP - a way to connect USB devices to your N900
But wouldn't you like to have the USB/IP portable? I know that the device pictured is too small to be accurate.
I was thinking about some sort of wireless self-powered usb hub that would allow charging too if that would be needed. |
Re: USB/IP - a way to connect USB devices to your N900
yes, it should not be larger than the N900 itself and should have it's own
battery. Input voltage range should be such that you can connect both LiPoly and normal AA cells. you mean wireless charging? :D that would be nice (Tesla would love it). I think a wired connection to the N900 should be default (as if the the hub was a desktop computer) and wireless could be optional (it's probably too slow). Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
What i am thinking is that the device should have atleast 2 USB ports, 1 Ethernet port, chargeable as well, builtin wifi transmitter which will ofcourse transmit USB data as well as internet (received through ethernet). The size could be like as normal wireless router available in the market. Usb port should also be able to charge N900. The batery life of the devicse should be atlease 3 to 4 hours.
Is it possible :-) |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
http://www.gumstix.com/store/catalog...roducts_id=226 http://www.gumstix.com/store/catalog...roducts_id=230 would even give you DVI output. now you only need to provide 5V input, e.g. http://gizmodo.com/gadgets/gadgets/m...ger-177527.php |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
you would have to install a Linux kernel with USB/IP enabled on the flash mem. (it's almost the same chipset as on the N900 - so could even port Maemo to it) for power supply you could also try http://www.eneloop.info/products/mobile-boosters.html |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
If it works by pluging it in directly we should keep it simple and small IMHO. Once we have a working full-size "female" USB port all imaginable adapters and converters could be plugged in. Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
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. |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
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. |
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 Code:
request failed at peer, 1 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) |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
maybe it must be started as root or is the firewall enabled? |
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 |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
protocol. |
Re: USB/IP - a way to connect USB devices to your N900
Just wondering if this is the same technology.
|
Re: USB/IP - a way to connect USB devices to your N900
Quote:
the user-space programs are not open-source. I wonder how that company survives as they seem to offer only freeware. |
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 |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
Re: USB/IP - a way to connect USB devices to your N900
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. |
Re: USB/IP - a way to connect USB devices to your N900
Same problem as Bernard
Code:
request failed at peer, 1 |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
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. |
Re: USB/IP - a way to connect USB devices to your N900
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. |
Re: USB/IP - a way to connect USB devices to your N900
I have tried to use N900 as WiFi USB Server for a Windows Client but it not works.
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) |
Re: USB/IP - a way to connect USB devices to your N900
Just came across your thread googling about usb over network solution.. Guys, have anybody tried http://www.net-usb.com/ in action?
|
Re: USB/IP - a way to connect USB devices to your N900
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. |
Re: USB/IP - a way to connect USB devices to your N900
Quote:
|
All times are GMT. The time now is 08:17. |
vBulletin® Version 3.8.8