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)

sarahn 2010-01-06 17:42

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by cb22 (Post 451282)
Just recompiled and flashed a kernel with the changes above, unfortunately doing an
Code:

echo M > /proc/driver/musb_hdrc
for me had no effect whatsoever.


Is this forcing the twl4030 in addition to the omap3?

Siggen 2010-01-06 21:43

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by twoboxen (Post 455503)
Patched what, Maemo? If so, that would be awesome. And, perhaps only one of us should email him :) No need to piss him off!

I could not wait, I emailed him.
If anyone else does, or wants to that's up to you, but you are reading right here that its all ready been done :)

I will post an update if I get an answer :)

And to answer your question, it would be patching the Linux kernel to support USB OTG or USB functionality on the twl4030 chip :)

captainqtp 2010-01-06 22:40

Re: N900 will not allow USB OTG!
 
Sounds hopeful at least... I was wondering... why is there a program called usbcontrol in extras-devel? The description is "Enables USB Host port to use e.g. memory sticks, keyboards and mice." version 1.03, 5kb.

Was this only intended for the n8xx series?

Siggen 2010-01-06 22:51

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by captainqtp (Post 456373)
Sounds hopeful at least... I was wondering... why is there a program called usbcontrol in extras-devel? The description is "Enables USB Host port to use e.g. memory sticks, keyboards and mice." version 1.03, 5kb.

Was this only intended for the n8xx series?

As far as I know yes, but it was upped on the N900 repo's on a assumption it would work. Though I have only been active here for one or two days now, after I ordered my first maemo device ever the N900.

Siggen 2010-01-07 16:51

Re: N900 will not allow USB OTG!
 
On Wed, Jan 06 I wrote:
Quote:

Hello i am sorry to bother you, but do you know if the twl4030 USB chipset that is in the N900 supports USB OTG or being a USB host on hardware level?
I am basically asking if we will ever see USB host functionality on the N900 in the future.
This would help a lot in my humble homebrew coding and homebrew hardware development.
The reply was as follows:
Quote:

no it won't support host mode. ID pin is missing on that board and there's no way to force it to ground on SW side.

--
balbi

I have sent a new mail to ask about an external wire from the usb port to ground on the battery but my guess is to no avail :(

go1dfish 2010-01-07 17:01

Re: N900 will not allow USB OTG!
 
Given how weakly mounted the USB port seems to be I'm not so sure you want to be connecting/disconnecting peripherals much from it regardless:
http://talk.maemo.org/showthread.php?t=37107&page=9

Especially considering it is the only way to charge short of an external charger.

Siggen 2010-01-07 17:46

Re: N900 will not allow USB OTG!
 
Im only looking personally to connect a ps3 controller, pair it, and use it via bluetooth. (no not controll the ps3 with the n900)

this only reqires a short ammount of time, one time to pair, but requires host capability

andree 2010-01-07 23:03

Re: N900 will not allow USB OTG!
 
Siggen: could you add to the question, if Felipe knows about the TESTMODE register and esp. FORCE_HOST bit...? (It's described in section 23.1.4.11 of OMAP3430 tech. ref. manual, rev. D)... I'd ask myself, but I don't want to spam him...

titan 2010-01-09 09:22

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by cb22 (Post 451302)
Nope... Nothing. I even added a printk to verify that it was being called, and it was.

could you printk the register before and after setting the bit? does it change?

Siggen 2010-01-09 23:01

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by andree (Post 458347)
Siggen: could you add to the question, if Felipe knows about the TESTMODE register and esp. FORCE_HOST bit...? (It's described in section 23.1.4.11 of OMAP3430 tech. ref. manual, rev. D)... I'd ask myself, but I don't want to spam him...

Well it cant force the ID pin to ground anyway, so we are still not able to get host. :(

I'm sorry, he still has yet to answer my second e-mail. I will ask him if he is interested to talk about it though.


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

vBulletin® Version 3.8.8