public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB keyboard does not work on DWC2 controller (on Raspberry Pi B)
Date: Tue, 18 Aug 2015 13:55:42 +0200	[thread overview]
Message-ID: <55D31D3E.1040405@free.fr> (raw)

Hi Stephen,

I want to add USB keyboard support to raspberry pi but I get the following error when I do 'usb start' with a keyboard plugged-in:
     unable to get device descriptor (error=-22)

Ethernet chip and mass storage devices are found.

I found this thread from February: http://lists.denx.de/pipermail/u-boot/2015-February/206593.html
which says:
**********
     This error is because the keyboard driver uses interrupt transfers, and
     these aren't implemented in DWC2
**********

But in  April, you added a patch series including "usb: dwc2: implement interrupt transfers".
But there is also a note:
**********
     With all these commits applied, both my USB keyboards (one LS Lenovo and
     one FS Dell) work correctly when there is no USB hub between the SoC and
     the keyboard; We still need split transactions to be implemented for hubs
     to work.
**********

So, I guess this is expected that USB keyboard does not work on DWC2 / RPi B since it uses a USB hub (SMSC LAN9512)?


Guillaume

             reply	other threads:[~2015-08-18 11:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 11:55 Guillaume Gardet [this message]
2015-08-19  3:00 ` [U-Boot] USB keyboard does not work on DWC2 controller (on Raspberry Pi B) Stephen Warren

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=55D31D3E.1040405@free.fr \
    --to=guillaume.gardet@free.fr \
    --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