public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: B.R. Oake <broake@openmailbox.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] Mainline U-Boot, EHCI, usbkbd not working (workaround)
Date: Sun, 04 Jan 2015 18:21:58 +0000	[thread overview]
Message-ID: <54A984C6.50007@openmailbox.org> (raw)
In-Reply-To: <2396754.FY5fnKSFZ8@x64.localnet>

(This started on the linux-sunxi mailing list but will hopefully be
of interest on the U-Boot list)

On 04/01/15 13:45, Lars Doelle wrote:
> while testing with mainline u-boot, I came over the
> problem, that the USB keyboard is not recognized.
> 
> The device is an A20-OLinuXIno-LIME2. I used the
> current A20-OLinuXino-Lime2_defconfig for building.
> 
> In my understanding, the issue should be reproducible
> with all devices having an EHCI root hub.
> 
> ---
> sun7i# usb reset
> (Re)start USB...
> USB0:   USB EHCI 1.00
> scanning bus 0 for devices... cannot reset port 1!?
> 1 USB Device(s) found
> USB1:   USB EHCI 1.00
> scanning bus 1 for devices... 1 USB Device(s) found
>        scanning usb for storage devices... 0 Storage Device(s) found
> sun7i# usb tree
> USB device tree:
>   1  Hub (480 Mb/s, 0mA)
>      u-boot EHCI Host Controller 
>    
>   2  Hub (480 Mb/s, 0mA)
>      u-boot EHCI Host Controller 
> ---
> 
> As a workaround, i plugged an USB hub in between:
> [...]


I also have this problem.  I've tried three different USB keyboards on
an A20-Olinuxino-Micro and a Banana Pi, and I always get that error
"cannot reset port N!?" where N is whichever USB socket I've plugged
it into, and U-Boot cannot see the keyboard.  Once Linux has loaded,
the keyboard works without any trouble.

Can anyone suggest what is causing this?

Thank you,
B.R. Oake.

       reply	other threads:[~2015-01-04 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2396754.FY5fnKSFZ8@x64.localnet>
2015-01-04 18:21 ` B.R. Oake [this message]
2015-01-04 19:05   ` [U-Boot] [linux-sunxi] Mainline U-Boot, EHCI, usbkbd not working (workaround) Hans de Goede
2015-01-04 21:51     ` B.R. Oake
2015-01-05  2:49     ` Simon Glass
2015-01-05  3:05       ` Marek Vasut
2015-01-05  7:10       ` Hans de Goede
2015-01-05 16:34         ` Simon Glass
2015-12-13 10:30     ` John Morelli

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=54A984C6.50007@openmailbox.org \
    --to=broake@openmailbox.org \
    --cc=u-boot@lists.denx.de \
    /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