Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305242
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Pali Rohár <pali.rohar@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Nokia N900: musb is in wrong state after boot |
| Date | Sat, 09 Jan 2016 16:20:01 +0100 |
| Message-ID | <qP3t7-7kY-9@gated-at.bofh.it> (permalink) |
| X-Original-To | Tony Lindgren <tony@atomide.com>, Felipe Balbi <balbi@ti.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>, Sebastian Reichel <sre@kernel.org>, Aaro Koskinen <aaro.koskinen@iki.fi>, Pavel Machek <pavel@ucw.cz>, Nishanth Menon <nm@ti.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=Fuwt7dFtaQ+Jt/ygQg+xSajn6gTRlczCRufKpudLryE=; b=sFRFzmzGleLRFammwrmQ9GX/vJyfSke+7HQt9axQMAvb9he9UgO1P5nyV7opsoKTbe QkNC1HXJVkjLUYXrrCB6NyJyMkZiOExZGqggQSz26aZkJZ6hluCt77WGZkRc4hDl0w40 NUxMbRxBk7yYKQFwUKyZKFP8PiYGVqZsgtXs0jtrNe0YUCV0xLQgTmfcTeeSq//E9MaA KLODDxAirUtvflAPzx9bNPuX0463qKjt6hOQo43T2KsZlAJUqNmaUbmsyhwNfpihgqql x87Wn9CSmX4bNAIfOAdOFI4wQvxz/EHYfwtz5Mu3nTrAjt4QHolu+sqOijXU1LZX4uAg vmQQ== |
| X-Received | by 10.28.35.6 with SMTP id j6mr4645803wmj.80.1452352566257; Sat, 09 Jan 2016 07:16:06 -0800 (PST) |
| User-Agent | KMail/1.13.7 (Linux/3.13.0-71-generic; KDE/4.14.2; x86_64; ; ) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart2778546.AqUeO7hYx4"; protocol="application/pgp-signature"; micalg=pgp-sha1 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 248 |
| Organization | linux.* mail to news gateway |
| X-Original-Date | Sat, 9 Jan 2016 16:16:04 +0100 |
| X-Original-Message-ID | <201601091616.04193@pali> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1305242 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello, when I boot 4.4.0-rc7+ kernel compiled with g_nokia into zImage on Nokia N900 into userspace then usb gadget (g_nokia) does not work. Notebook, connected on other side does not see any usb device... Connecting and disconnecting cable does not change anything, still not work. But if I run this command $ echo peripheral > /sys/bus/platform/devices/musb-hdrc.0.auto/mode then gadget starts working. Other side see usb device and can use it. Also connecting and disconnecting usb cable working fine. After connecting it again, usb device OK. So it looks like musb is in some wrong state after boot if above command is not called. Any idea where is problem? In attachment is output from more musb sysfs entries (before and after calling that command) which I think could be useful. If you want to see more logs, let me know what. Note that host mode on Nokia N900 does not work because of HW design. For 2.6.28 Nokia's kernel there are special and ugly (!) patches which enable host mode together with userspace interaction. So it does not make sense to have other than peripheral mode enabled by default on Nokia N900... -- Pali Rohár pali.rohar@gmail.com
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Nokia N900: musb is in wrong state after boot Pali Rohár <pali.rohar@gmail.com> - 2016-01-09 16:20 +0100
csiph-web