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)

andree 2009-09-22 20:23

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by techdork (Post 331723)
I truly hope that Nokia will fix whatever the "several HW bugs" exist and plan for a model that will support USB OTG. This device without USB support to me is simply a high performance phone, not a "high performance mobile computer" as advertised.

The question still remains .. would it be at all possible to provide USB peripheral support with some sort of software and hardware hack? I've yet to see this question definitively answered.

if you read pg 88 of this:
http://focus.ti.com/general/docs/lit...umber=sprufd4b

you'll find the TESTMODE register mentioned before.. unless nokia did something nasty to the hardware, this *could* make the usb host possible (maybe with some external usb bus powering workarounds)..

however if the hardware is crippled, don't hold your breath for the n900 to get 'fixed' during it's liftime by nokia.. you can only wait for n910 or similary... next year or later :)

Jack6428 2009-09-22 20:30

Re: N900 will not allow USB OTG!
 
so you guys are telling me i can't plug in a keyboard via USB ?
Only via bluetooth?

andree 2009-09-22 20:41

Re: N900 will not allow USB OTG!
 
nobody knows yet, except for nokia hardware devs - who probably won't tell anyway... :)

thecursedfly 2009-09-22 21:09

Re: N900 will not allow USB OTG!
 
sorry for bringing up something allready posted but it's for visibility; isn't what's shown here a possible solution to the USB host problem?
http://talk.maemo.org/showthread.php...503#post331503

(only possible problem would be that this system requires electricity, but it covers the case of HDs and DVD players, where you need electricity anyway..)

plus the mentioned "testmode", to see if it exists and works in some way.

probably we'll have a more definitive answer in a couple of months...

BruceL 2009-09-22 21:15

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by andree (Post 331738)
if you read pg 88 of this:
http://focus.ti.com/general/docs/lit...umber=sprufd4b

you'll find the TESTMODE register mentioned before..

This looks hopeful. Who knows how to set a USB register like this?

Code:

The test modes are entered by writing to the TestMode register (offset address 0x40F).
Code:

The Force Host test mode enables the user to instruct the core to operate in Host mode, regardless of
whether it is actually connected to any peripheral i.e. the state of the CID input and the LINESTATE and
HOSTDISCON signals are ignored. (While in this mode, the state of the HOSTDISCON signal can be read
from bit 7 of the DevCtl register.)
This mode, which is selected by setting bit 7 within the Testmode register, allows implementation of the
USB TEST_FORCE_ENABLE (7.1.20). It can also be used for debugging PHY problems in hardware.
While the FORCE_HOST bit remains set, the core will enter Host mode when the Session bit is set and
remain in Host mode until the Session bit is cleared even if a connected device is disconnected during the
session. The operating speed while in this mode is determined for the setting of the FORCE_HS and
FORCE_FS bits of the Testmode register in Section 1.1.4.11.


NvyUs 2009-09-22 21:17

Re: N900 will not allow USB OTG!
 
i just want to say just b/c on nokia specs its says microSD supported upto 16GB it dont mean anything bigger wont work. i have older phones saying 4GB is limit but bigger ones work with it,
i think nokia just test and go by whats out at the time and whats being mass produced.

techdork 2009-09-22 21:35

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by NvyUs (Post 331771)
i just want to say just b/c on nokia specs its says microSD supported upto 16GB it dont mean anything bigger wont work. i have older phones saying 4GB is limit but bigger ones work with it,
i think nokia just test and go by whats out at the time and whats being mass produced.

No offense, but I totally do not see what that has to do with the topic of this thread, other than an attempt at a thread hijack :s

gerbick 2009-09-22 21:38

Re: N900 will not allow USB OTG!
 
Based on the sheer amount of workarounds described in hardware, some would nullify a warranty on the spot.

I think that a software method to get files between phones is actually ideal. I already use one on the iPhone, so doing it this way would mean less of a hardware purchase requirement on my end.

qole 2009-09-22 22:02

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by Jack6428 (Post 331740)
so you guys are telling me i can't plug in a keyboard via USB ?
Only via bluetooth?

No, you can't plug in a keyboard via bluetooth either. ;) :p

Mara 2009-09-22 22:06

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by BruceL (Post 331770)
This looks hopeful. Who knows how to set a USB register like this?

Code:

The test modes are entered by writing to the TestMode register (offset address 0x40F).
Code:

The Force Host test mode enables the user to instruct the core to operate in Host mode, regardless of
whether it is actually connected to any peripheral i.e. the state of the CID input and the LINESTATE and
HOSTDISCON signals are ignored. (While in this mode, the state of the HOSTDISCON signal can be read
from bit 7 of the DevCtl register.)
This mode, which is selected by setting bit 7 within the Testmode register, allows implementation of the
USB TEST_FORCE_ENABLE (7.1.20). It can also be used for debugging PHY problems in hardware.
While the FORCE_HOST bit remains set, the core will enter Host mode when the Session bit is set and
remain in Host mode until the Session bit is cleared even if a connected device is disconnected during the
session. The operating speed while in this mode is determined for the setting of the FORCE_HS and
FORCE_FS bits of the Testmode register in Section 1.1.4.11.


Take a look at page 167 where they talk about emulating the VBUS signal... this may be more "clean" method of trying to get the controller into host mode?

Also, when I read the document it is apparent that the OMAP USB pins are not designed to be connected directly to the USB port. It needs some tranceiver chip between. I'm not sure if there are any other limitations on that tranceiver chip that prevent the host mode from working? (I don't think so, but you never know...)


All times are GMT. The time now is 12:09.

vBulletin® Version 3.8.8