View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#225
Originally Posted by joerg_rw View Post
[2010-10-31 11:44:28] <PaulFertser> So heh, i get first really working hostmode here (with my own patches)
Congrats Paul :-D
Brilliant work!

yes, next thing pending is a Alpha release :-D


[2010-10-31 13:18:58] <PaulFertser> DocScrutinizer: "released" my scripts to the "Files" section.
...
[2010-10-31 13:29:00] <PaulFertser> And i need to actually change the patch to a saner way, the code should be the same for both CONNECT irq and manual connect request.
[2010-10-31 13:29:18] <PaulFertser> Also i need to sort it out about FS/HS mess. Currently only LS works reliably.
...
[2010-10-31 13:34:58] <PaulFertser> I see no sense in releasing something that doesn't work with mass storage.




[2010-11-03 23:30:10] <PaulFertser> DocScrutinizer: funny thing, i've somewhat reproduced your result of connect after writing TESTMODE=0
[2010-11-03 23:34:36] <PaulFertser> DocScrutinizer: this trick (disable FORCE_HOST) doesn't work with my FR but i wonder if it enables to get true HS.
[2010-11-03 23:35:07] <DocScrutinizer> possibly
[2010-11-03 23:37:02] <DocScrutinizer> I guess my log of successfully connecting to memstick should be 2.0 though, as they won't sell a 1.1 2GB stick, will they?
[2010-11-03 23:41:32] <PaulFertser> DocScrutinizer: probably so, i'm testing myself atm.
[2010-11-03 23:44:31] <PaulFertser> Nov 4 01:44:07 192.168.1.132 kernel: [ 458.688720] usb 1-1: new high speed USB device using musb_hdrc and address 25
[2010-11-03 23:44:39] <PaulFertser> Heh so it works
[2010-11-03 23:46:07] <DocScrutinizer> on N900? \o/
[2010-11-03 23:46:14] <PaulFertser> With my latest kernel and b51fe29c61a2fa167513b2ecdb0fffcb30eab6d6 reverted (just reenable the HS) and this sequence: hoston (TESTMODE<-FORCE_HOST, disable IRQs), booston, echo A > /proc/drivers/musb_hdrc (TESTMODE<-0), that's ****ing all needed it seems.
[2010-11-03 23:46:36] <DocScrutinizer> lemme post that :-D

[2010-11-03 23:46:56] <PaulFertser> DocScrutinizer: and LS is still supported with "hoston; booston; mconnect"

[2010-11-03 23:47:18] <PaulFertser> (where mconnect being echo F > ... and it does the same that CONNECT irq does)
[2010-11-03 23:48:57] <PaulFertser> Apparently some minor delays needed between booston and echo A.
[2010-11-03 23:49:26] <PaulFertser> Yep, hoston; booston; sleep 1; echo A > /proc/driver/musb_hdrc
[2010-11-03 23:57:52] <DocScrutinizer> only question now: will it blend, err properly disable hostmode and revert to normal operation?
[2010-11-04 00:00:34] <PaulFertser> Ok, pushed.
[2010-11-04 00:01:27] <PaulFertser> DocScrutinizer: yes, works fine after "boostoff; hostoff; start bme".


We'll get this into kernel soonish :-D. No need to patch hostmode.py


[Do 4. November 2010] |[10:12:48] <DocScrutinizer>| ok, til tonight I might find the time to finalize jrbme script with hostmode and vbus control (plus maybe charging, bq27200 reports, logging, notifications, etc)
[Do 4. November 2010] |[10:13:06] <DocScrutinizer>| so we should see an Alpha this week
[Do 4. November 2010] |[10:13:29] <PaulFertser>| Sounds great
[Do 4. November 2010] |[10:14:16] <DocScrutinizer>| I thought about red flashing indicator LED for notifying VBUS boost is eating battery (in hostmode)

alas I have to cope with this thread here

then
[Do 4. November 2010] |[21:26:18] <MohammadAG_>| DocScrutinizer, don't use the python version, please
[Do 4. November 2010] |[21:26:24] <MohammadAG_>| And don't use noob packaging :P
...
[Do 4. November 2010] |[21:37:27] <MohammadAG>| sigh, why do I even discuss this **** with you
[Do 4. November 2010] |[21:37:32] <MohammadAG>| you always argue with invalid facts
[Do 4. November 2010] |[21:37:44] <MohammadAG>| I'm getting bored of all of this
[Do 4. November 2010] |[21:37:55] <DocScrutinizer51>| sorry then

So I decided not to bother anymore about this thread and other annoying debates, and rather take some days off

cya all in a week or sth


if you want to express your excitement, please don't spam this thread! there's a thanks button right down there ->
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-11-05 at 01:43.
 

The Following 28 Users Say Thank You to joerg_rw For This Useful Post: