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

From: Tony Lindgren
Date: Tue Jan 26 2016 - 12:26:39 EST


* Pali RohÃr <pali.rohar@xxxxxxxxx> [160126 06:35]:
> On Thursday 21 January 2016 12:30:13 Tony Lindgren wrote:
> > * joerg Reisenweber <joerg@xxxxxxxxxxxx> [160121 11:35]:
> > > 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Î, and 36.5 kÎ, with respect to the ground pin. These
> > > permit the device to work with USB Accessory Charger Adapters that allows the
> > > OTG device to be attached to both a charger and another device simultaneously.
> > > [6]""
> > > https://en.wikipedia.org/wiki/USB_On-The-Go#OTG_micro_plugs
> >
> > OK thanks. So it's the "accessory charger" part of the
> > battery charging specification 1.1.
>
> So, Tony, do you have some idea what needs to be changed and how to fix
> peripheral mode after boot on Nokia N900?

No, I'm waiting to hear an educated guess from Felipe on this one.

> First I would like to have fully working peripheral mode on Nokia N900
> and then we can try to hack host mode (if possible).
>
> But peripheral mode is a must due to development, because it provides
> usb network or usb tty.

Totally.

Regards,

Tony