From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966304AbcAZOfH (ORCPT ); Tue, 26 Jan 2016 09:35:07 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37377 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966203AbcAZOey (ORCPT ); Tue, 26 Jan 2016 09:34:54 -0500 Date: Tue, 26 Jan 2016 15:34:50 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Tony Lindgren Cc: joerg Reisenweber , Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ivaylo Dimitrov , Sebastian Reichel , Aaro Koskinen , Pavel Machek , Nishanth Menon Subject: Re: Nokia N900: musb is in wrong state after boot Message-ID: <20160126143450.GG25796@pali> References: <201601091616.04193@pali> <3690314.8jDXSUDcRZ@saturn> <20160121192113.GM19432@atomide.com> <8629381.KDSn8v3DtH@saturn> <20160121203012.GN19432@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160121203012.GN19432@atomide.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 21 January 2016 12:30:13 Tony Lindgren wrote: > * joerg Reisenweber [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? 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. -- Pali Rohár pali.rohar@gmail.com