Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 12:04:43 Nishanth Menon wrote: > I think there was some unfortunately choice of words used in the > thread. It is TI intention to support community effort [...] > software, unfortunately these modes do not tend to be well tested and > the typical "official disclaimer" is "Not fo

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:59:40 Bin Liu wrote: > The musb ug says the testmde is not used in normal operation, so my > opinion is force_host should not be used for hacking n900 host mode if > this is for real product development or support. You're aware N900 OS aka maemo is a) FOSS, and b) EOL at lea

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:08:08 Bin Liu wrote: > Hi, > > On Thu, Jun 09, 2016 at 11:25:57PM +0200, joerg Reisenweber wrote: > > On Thu 09 June 2016 15:58:56 Bin Liu wrote: > > > But I am not sure how this will fix n900 host mode problem, since > > > testmod

Re: Nokia N900: musb is in wrong state after boot

2016-06-09 Thread joerg Reisenweber
On Thu 09 June 2016 15:58:56 Bin Liu wrote: > But I am not sure how this will fix n900 host mode problem, since > testmode is not used in normal operation. Please see http://talk.maemo.org/showthread.php?p=685367 and http://maemo.org/packages/view/hostmode-gui/ which indeed is _no_ normal hostmo

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 15:04:02 Sergei Shtylyov wrote: > On 6/8/2016 1:02 PM, Felipe Balbi wrote: > >> * Pali Rohár [160607 05:53]: > Tony, what do you think about that patch? > >>> > >>> Tony, PING > >> > >> Yeah I don't know, AFAIK we don't have a generic way to > >> force MUSB to change mod

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 13:02:00 Felipe Balbi wrote: > Hi, > > Tony Lindgren writes: > > Yeah I don't know, AFAIK we don't have a generic way to > > force MUSB to change mode without ID pin. If you have figured > #define MUSB_TEST_FORCE_HOST 0x80 > > Can someone confirm on MUSB's docs (and actual r

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 11:21:13 Tony Lindgren wrote: > Do you have some pointer > to the "certain resistor value on ID to GND" spec? Is it maybe part of > the carkit related parts of the USB spec? ""Three additional ID pin states are defined[4] at the nominal resistance values of 124 kΩ, 68 kΩ, a

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 09:41:46 Tony Lindgren wrote: > Then for supporting the USB host mode.. We should add regulator support > to the USB PHY driver so if the ID pin is grounded, the PHY driver enables > the VBUS regulator. That too seems to need some coordination between the > drivers/phy/phy-tw

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 09:40:07 Pali Rohár wrote: > On Tuesday 19 January 2016 12:33:15 Tony Lindgren wrote: > > Hi, > > > > * Pali Rohár [160109 07:16]: > > > Hello, > > > > > > when I boot 4.4.0-rc7+ kernel compiled with g_nokia into zImage on Nokia > > > N900 into userspace then usb gadget (g