Active Topics

 


Closed Thread
Thread Tools
Posts: 50 | Thanked: 26 times | Joined on Jun 2010
#1071
Have a look at this

http://translate.google.com/translat...&sl=auto&tl=en

What type of moding would be involved of my n900 to get usb host workin
As there is a pic showing mini usb to normal usb

Could someone explain
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#1072
Originally Posted by hcm View Post
could all of you please stop spamming this thread?

the patch is not well understood and even completely buggy as far as I can tell!!
the "it works!!11!" announcements are just random lucky people and it's not reproducible. So no reason to "beta-test", this is not even alpha.
I couldn't agree more.
The results we got so far were by using Sarahn's kernel patches which basically enable forcing the software statemachine of OTG driver into arbitrary states. Added on top of that on my suggestion was using FORCE_HOST musb core testmode, some patches (http://talk.maemo.org/showpost.php?p...&postcount=894 http://talk.maemo.org/showpost.php?p...&postcount=908) MohammadAG applied to a particular detail of ENUM (just commenting out the power negotiation bits, which I never suggested for a valid patch but just for testing purposes), plus a sequence of echo commands which somewhat were along the lines of what's been suggested in http://talk.maemo.org/showthread.php...914#post685914, in several other posts in this thread, and in IRC.
The result was a somewhat non-reproducible fake hostmode as of http://talk.maemo.org/showthread.php...115#post696115, which is fine to verify we face no hardware obstacles for hostmode, but it still suffers from the driver not knowing about generic hostmode and thus doing all sorts of OTG stuff, like e.g. detecting VBUS.

Alas since this legendary ""[2010-06-02 18:25:11] <MohammadAG> WOHOOOOOOOOOO"" everybody is caught in a mace of trying to get this kernel as described above into a state where we can reproduce this OTG tricking, by improving/fixing Sarahn's patches, and arbitrarily shuffling the sequence and timing of issuing the "echo X >foo" commands which force the OTG statemachine from one state to another.


This isn't really helping in inplementing a clean working generic hostmode as described here: http://talk.maemo.org/showthread.php...914#post685914
We need to implement a new state for the OTG statemachine, which is basically suspending the whole statemachine so it won't leave that state by e.g peripheral disconnect, drop / rise of VBUS, or any other of the events normal OTG deals with. This state needs to be entered on "echo host >mode", then should do all that's needed to put musb core, the interfaces and their power states, and PHY into hostmode.

Then, when in this state, all OTG related stuff like e.g. the power negotiating MohammadAG needed to comment out, white/blacklist, VBUS handling, etc, all can just be skipped by a "if !STATE_GENERIC_HOSTMODE { ... }"


As I understood from some comment from HCM, he's considering to implement such a clean generic hostmode state using FORCE_HOST from scratch, along the line suggested in http://talk.maemo.org/showthread.php...914#post685914, which I appreciate much and think is the right direction to reach the goal of a flawlessly working hostmode.

All fiddling with the patched testkernel based on OTG tricking/forcing is most probably a waste of time and energy

cheers
jOERG
__________________
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
 

The Following 14 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#1073
Joerg's post looks a nice closing remark.
If the other h-e-n developers agree, could some moderator please close this thread
as we continue the technical discussion at the "other place"?

Originally Posted by joerg_rw View Post
I couldn't agree more.
Alas since this legendary ""[2010-06-02 18:25:11] <MohammadAG> WOHOOOOOOOOOO"" everybody is caught in a mace of trying to get this kernel as described above into a state where we can reproduce this OTG tricking, by improving/fixing Sarahn's patches, and arbitrarily shuffling the sequence and timing of issuing the "echo X >foo" commands which force the OTG statemachine from one state to another.
This isn't really helping in inplementing a clean working generic hostmode as described here: http://talk.maemo.org/showthread.php...914#post685914
We need to implement a new state for the OTG statemachine, which is basically suspending the whole statemachine so it won't leave that state by e.g peripheral disconnect, drop / rise of VBUS, or any other of the events normal OTG deals with. This state needs to be entered on "echo host >mode", then should do all that's needed to put musb core, the interfaces and their power states, and PHY into hostmode.
...
cheers
jOERG
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#1074
before closing this thread ...
we also need a new bme reincarnate in ubme usb & battery management and must obey host mode setting
.............
and eventually peace will come into our souls

over & out
 

The Following 2 Users Say Thank You to blue_led For This Useful Post:
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#1075
Originally Posted by joerg_rw
due to noise and fora are BS by design, all the devels moved to the "other place"
this is the end
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#1076
I agree, let's move over to h-e-n and jrbme (for the few bothering about bme replacement). No particular notion about whether to close down here, but for sure tmo is a bad place for serious development coordination

cheers
jOERG
__________________
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
 

The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 50 | Thanked: 26 times | Joined on Jun 2010
#1077
What does that mean for the general public getting access to the ability to plug our usb devices like keyboards and hard drives etc into our n900????
 
Posts: 162 | Thanked: 24 times | Joined on Feb 2010 @ Essex, UK
#1078
It means we all must wait because it's still in progress. They have moved somewhere else because this thread is getting flooded so they can't have a serious discussion about developing this into a usable state. Great work so far guys.
__________________
"But when you’re living on the bleeding edge, you should not be surprised when you do, in fact, bleed."
 

The Following User Says Thank You to 6sicSIX For This Useful Post:
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#1079
Gentlemen, before closing it note that 2.6.34 has gotten some musb-related patches, including clearly host-aware musb_save_context stuff (signed by somebody@nokia for a start).

http://git.kernel.org/?p=linux/kerne...2eb5aaeae461b6
 

The Following 12 Users Say Thank You to javispedro For This Useful Post:
Posts: 5 | Thanked: 1 time | Joined on May 2010
#1080
All this to plug a keyboard in...correction, NOT to plug a keyboard in... N900 goes back on ebay today
 

The Following User Says Thank You to jimx For This Useful Post:
Closed Thread

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


 
Forum Jump


All times are GMT. The time now is 15:51.