linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure
Date: Fri, 25 Mar 2016 22:09:44 +0100	[thread overview]
Message-ID: <20160325210944.GA26394@amd> (raw)
In-Reply-To: <CAB=otbQdpEtsXg2etX+3YYjrTfPYGtdKJo_V_rtfNb+VNV7g-w@mail.gmail.com>

Hi!

> OK, so at last I finished charging of my N900; found 1.8V USB
> to UART adapter and soldered it to the phone.
> 
> I managed to boot N900 with working USB gadget (builtin g_ether)
> in boardfile mode, can ping it from PC and transfer data. I don't
> see any issue (except of musb name issue in twl phy driver, I've
> already sent a fix for that: https://lkml.org/lkml/2016/3/24/670 )
> 
> Pavel, I still don't see how you've got your issue, please share
> more detials

Ok, let me try. I undid all the changes in drivers/phy drivers/usb and
include/linux/usb . I have all the gadget stuff built-in, so that I
could use nfsroot, but this is boot from mmcblk.

gzipped config is attached.

PC is unable to work with the gadget:

[256526.716099] usb 2-1: new full-speed USB device number 52 using
uhci_hcd
[256526.832091] usb 2-1: device descriptor read/64, error -32
[256527.052095] usb 2-1: device descriptor read/64, error -32
[256527.268160] usb 2-1: new full-speed USB device number 53 using
uhci_hcd
[256527.388121] usb 2-1: device descriptor read/64, error -32
[256527.608116] usb 2-1: device descriptor read/64, error -32
[256527.824170] usb 2-1: new full-speed USB device number 54 using
uhci_hcd
[256527.851175] usb 2-1: device descriptor read/8, error -32
[256527.975175] usb 2-1: device descriptor read/8, error -32
[256528.188133] usb 2-1: new full-speed USB device number 55 using
uhci_hcd
[256528.218184] usb 2-1: device descriptor read/8, error -32
[256528.343183] usb 2-1: device descriptor read/8, error -32
[256528.444314] usb usb2-port1: unable to enumerate USB device

Dmesg from the n900 is attached as /tmp/delme.gz. I did _not_ apply
the patch from https://lkml.org/lkml/2016/3/24/670 , yet, as I'm using
devicetree boot.

Best regards,

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.gz
Type: application/gzip
Size: 24252 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160325/4926a928/attachment-0002.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delme.gz
Type: application/gzip
Size: 9443 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160325/4926a928/attachment-0003.gz>

  reply	other threads:[~2016-03-25 21:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 21:26 usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure Pavel Machek
2016-03-18  7:47 ` Ruslan Bilovol
2016-03-18  9:32   ` Pavel Machek
2016-03-18 20:20   ` Pavel Machek
2016-03-21 11:51     ` Marek Szyprowski
2016-03-23 12:21       ` Pavel Machek
2016-03-24  0:45         ` Ruslan Bilovol
2016-03-25  3:21           ` Ruslan Bilovol
2016-03-25 21:09             ` Pavel Machek [this message]
2016-03-26 21:32               ` Ruslan Bilovol
2016-03-26 21:59                 ` Ruslan Bilovol
2016-03-27 20:26                 ` Pavel Machek
2016-03-27 21:44                   ` Ruslan Bilovol
2016-03-28 21:33                     ` Pavel Machek
2016-04-01 14:38                     ` Pavel Machek
2016-03-25 21:15             ` Pavel Machek
2016-03-26 21:41               ` Ruslan Bilovol
2016-03-25 21:30             ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160325210944.GA26394@amd \
    --to=pavel@ucw.cz \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).