maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 will not allow USB OTG! (https://talk.maemo.org/showthread.php?t=31921)

convulted 2009-10-16 10:21

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by qole (Post 347572)
BruceL: No, no. No personal attacks intended. It's not you, it's me. Let's just be friends, OK?

Oooh so much love. Can I be friends too?
(I've been reading the runaway "Did Your N900 Ship Today?" thread and started getting a little bit silly myself...)

andrecg 2009-10-17 02:16

Re: N900 will not allow USB OTG!
 
Please see this blog:
http://blogs.forum.nokia.com/blog/ka.../usb-on-the-go

And this specification:
http://www.maxim-ic.com/appnotes.cfm/an_pk/1822/

And this cable:
http://www.cableuniverse.co.uk/catal...B-B-Cable.html

nashith 2009-10-17 02:46

Re: N900 will not allow USB OTG!
 
I just had to say something, does anybody except the USB Consortium know WHY they need to have USB-OTG and for what type of devices do they actually intend USB-OTG? If the N900 doesn't fit to the type of device then its alright, else we could partially blame Nokia for false marketing or not knowing what users want. This thread is getting so big, somebody please resolve this or just freeze it.

daperl 2009-10-17 14:37

Re: N900 will not allow USB OTG!
 
1 Attachment(s)
Quote:

Originally Posted by allnameswereout (Post 347591)
Furthermore, the spec says it is not allowed to support both powering via microUSB as well as host mode. This is limited on hardware layer.

Did you mean "charging" and not "powering?" Regardless, this statement is untrue even if I don't understand what you're trying to say. As an example, please read section "6. Accessory Charger Adapter" of "Battery Charging Specification, Revision 1.1." Here's a diagram of an OTG device acting as host while being charged:

Attachment 4399

pelago 2009-10-17 21:57

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by andrecg (Post 349267)

Thanks, but that's not for N900, is it?

allnameswereout 2009-10-17 22:46

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by daperl (Post 349586)
Did you mean "charging" and not "powering?"

"Powering" as in "empowering".

Quote:

Regardless, this statement is untrue even if I don't understand what you're trying to say. As an example, please read section "6. Accessory Charger Adapter" of "Battery Charging Specification, Revision 1.1." Here's a diagram of an OTG device acting as host while being charged:
Please refer to your source next time you quote from one.

Your example is the only exception I'm aware of.

MicroUSB revision says a USB OTG device may only have 1 MicroUSB connector which must be MicroUSB AB type.

Nokia N900 has MicroUSB type B which may only use EH mode.

If Nokia N900 had MicroUSB type AB it'd not be allowed to be used for charging and host mode using its same port without an accessory such as the one you state. In that case, one might as well carry a Nokia adapter for charging.

daperl 2009-10-18 02:29

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by allnameswereout (Post 349955)
Please refer to your source next time you quote from one.

Sorry, thanks.

Quote:

MicroUSB revision says a USB OTG device may only have 1 MicroUSB connector which must be MicroUSB AB type.

Nokia N900 has MicroUSB type B which may only use EH mode.

If Nokia N900 had MicroUSB type AB it'd not be allowed to be used for charging and host mode using its same port without an accessory such as the one you state. In that case, one might as well carry a Nokia adapter for charging.
If you're saying that the USB specs seem too brittle, I agree. Maybe backwards compatibility is causing some problems. That would be a bummer, because I like USB and I like backwards compatibility.

lmf 2009-10-19 18:25

Re: N900 will not allow USB OTG!
 
There is a possibility to add USB host to the n900.
This might sound weird, but we'll need a seccond device... an access point, which also runs Linux, and has a USB (host) port...
I did something similar a few months ago (on another device)

I've submited a few ideas to the PUSH program, and If I get lucky enough to be selected and get a n900 (or a discount), I'll try and implement a virtual usb port for the n900.
This way, you can connect a usb device to a specific (but cheap) USB enabled access point, whose "host port" is then "forwarded" to the n900, via WIFI.

keeping my fingers crossed.. ;)

qole 2009-10-19 19:05

Re: N900 will not allow USB OTG!
 
lmf: Sounds a bit like my idea... The N800 could be considered a "cheap USB enabled access point" these days... The problem is finding them...

allnameswereout 2009-10-19 20:52

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by lmf (Post 351580)
This might sound weird, but we'll need a seccond device... an access point, which also runs Linux, and has a USB (host) port...

[...]

This way, you can connect a usb device to a specific (but cheap) USB enabled access point, whose "host port" is then "forwarded" to the n900, via WIFI.

Thanks, but both ideas are already discussed in the thread, and various solutions are linked to. Each solution has their side effects.

For example, in the first example the 'second device which runs Linux' (does not _have_ to be Linux btw) is the actual 'client' because its the 'host'; the N900 is assumed a dumb device (EH). Can be solved by issuing remote CLI commands or SSH X11 forwarding. It also must have 2 USB ports: 1 for the N900, 1 for the USB device (printer, camera, HDD, ...).

The second solution provides much less bandwith. Its an option I can use right now e.g. my DSL modem can get a USB HDD attached.

A dedicated project for this might be best. I think it could even integrate the hosting of the 3"5 SATA. OTOH, I don't take USB for data transfers too seriously... eSATA, FW, (i)SCSI, FC for me. Perhaps ZFS + iSCSI is a nice solution.


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

vBulletin® Version 3.8.8