The Following 2 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-03
, 22:20
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#722
|
|
2010-05-03
, 22:44
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#723
|
Hey guys, I'm really happy to see some progress here!
My thoughts:
Would it be possible to power the USB peripherials with an external power source?
For example, with a special USB cable. (Like the ones they used with the 770?)
That way, the N900 would only need to do the communication, and the battery would be thankful also.
(Just my 2 cents)
The Following 4 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-04
, 07:31
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#724
|
The Following 4 Users Say Thank You to egoshin For This Useful Post: | ||
|
2010-05-04
, 10:37
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#725
|
Yes, it's possible. That's what the term 'externally powered hostmode" in previous posts refers to. You can even charge the N900 while it's in hostmode.
Or you decide to crank up the bq24150 internal power source and drain the battery of N900 to momentarily read out a USB memstick abroad, or provide power to a USB keyboard while on the train. This wouldn't eat unbearable amounts of power
cheers
jOERG
|
2010-05-04
, 12:10
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#726
|
Could you be so kind as to tell me how to do it? (Or at least point me to a post which tells?)
BTW, what is bq24150?
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2010-05-04
, 13:25
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#727
|
Too early for him to give out instructions, first someone has to fix the driver as he said.
From this thread alone you should know it handles battery management and mode switches.
|
2010-05-04
, 14:06
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#728
|
I tested VBUS handling by TWL4030 and ISP1707 and got some conclusions.
1. The real USB control is done by combination of ISP1707 + CPU USB (musb) interface communicating via ULPI bus. It is partly transparent - session start/end is detected by 1707 and sent to CPU hardware. TWL4030 actually is used as for misc purpose (it has no ULPI and can't do an efficient data transfer but handles a lot of another functions like KBD, sound etc). The VBUS is going to it only for BME server convenience (at least it reads VBUS directly from twl4030-usb driver).
2. Combination 1707+ARM CPU USB doesn't handle HOST mode because 1707 chip doesn't recognize HOST mode (ID pin is not grounded). I don't know yet - can it be changed by properly setup of DM_PULLUP in 1707, it needs some testing
3. However, ARM CPU USB has a possibility to FORCE HOST mode in spite of 1707 signaling. ARM CPU USB core enters in HOST mode. Needs testing.
4. I didn't look into BME server issue but it seems that disconnect BME server from VBUS high in HOST mode is pretty simple because it uses a separate VBUS signal from TWL4030. However, I observed a drop in VBUS voltage which I believe is a result of transferring the whole system into "charge" mode. I base on Joerg's experiments that suspending BME server prolongs VBUS high, so - it is not a result of CHRG_DET signal from ISP1707 to BQ24150 but manual BME server intervention.
The Following 2 Users Say Thank You to blue_led For This Useful Post: | ||
|
2010-05-04
, 14:11
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#729
|
The Following 4 Users Say Thank You to javispedro For This Useful Post: | ||
|
2010-05-04
, 14:17
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#730
|
Oh, so the news that it doesn't support it by hardware, were false?
Nice to know.
Is the driver in question open source?
Is there another one which could be ported instead?
What's the glitch with the current one?
Finally, isn't there anyone in the "compiling custom kernels" thread who could help out with this?
After all, they've got USB over IP support, and other nice stuff.
Thx for explaining.
(I tried to keep up, I followed the first 50 or so pages of this thread, but after it became pointless moaning, I didn't. It is good to see some real progress. )
Tags |
awesomeness in the works, boulevard of broken deals, host, i am the dealbreaker, inspector gadget lies, mobidapter is a scam, nokia fanbois, otg, over 9000, usb, usbcontrol |
|
Though the jitter will come from higher frequency ripple which is easily filtered by something like a low ESR 10uF inside N900, rather than a crappy 120uF retrofitted on the outside to a semi-broken cable that has a incontinuity in wave impedance where you added the capacitor.
TBH that spec from USB.org is kinda crap, as a 120uF doesn't say anything about the source impedance of the VBUS feed without such a monster C. In fact a ultrafast hard regulator for VBUS may do a vastly better job on suppressing ripple and glitches than a 10.000uF with a relatively high ESR.
I think we shouldn't get defocused from the real problems by such geeky niche concerns. Believe me, hostmode will be fine and everybody happy, even without big C
cheers
jOERG