From: Greg KH <gregkh@linuxfoundation.org>
To: Roman Mamedov <rm@romanrm.net>
Cc: linux-usb@vger.kernel.org
Subject: Re: Not enough bandwidth for new device state -- with Etron USB3 controller only
Date: Thu, 22 Apr 2021 07:49:38 +0200 [thread overview]
Message-ID: <YIEOcvePnzGlQtoy@kroah.com> (raw)
In-Reply-To: <20210421223732.27080321@natsu>
On Wed, Apr 21, 2021 at 10:37:32PM +0500, Roman Mamedov wrote:
> Hello,
>
> I have a mouse and keyboard plugged into a 4-port USB 2.0 hub, plugged into a
> 10-meter extender (which seems to also appear as an USB 2.0 hub).
>
> When this combination is plugged into "Etron Technology, Inc. EJ168 USB 3.0 Host
> Controller (rev 01)", it fails to work:
>
> [Wed Apr 21 21:48:03 2021] usb 2-2: new high-speed USB device number 2 using xhci_hcd
> [Wed Apr 21 21:48:03 2021] usb 2-2: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
> [Wed Apr 21 21:48:03 2021] usb 2-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> [Wed Apr 21 21:48:03 2021] usb 2-2: Product: USB 2.0 Hub
> [Wed Apr 21 21:48:03 2021] hub 2-2:1.0: USB hub found
> [Wed Apr 21 21:48:03 2021] hub 2-2:1.0: 4 ports detected
> [Wed Apr 21 21:48:04 2021] usb 2-2.4: new high-speed USB device number 3 using xhci_hcd
> [Wed Apr 21 21:48:04 2021] usb 2-2.4: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
> [Wed Apr 21 21:48:04 2021] usb 2-2.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> [Wed Apr 21 21:48:04 2021] usb 2-2.4: Product: USB2.0 Hub
> [Wed Apr 21 21:48:04 2021] hub 2-2.4:1.0: USB hub found
> [Wed Apr 21 21:48:04 2021] hub 2-2.4:1.0: 4 ports detected
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: new low-speed USB device number 4 using xhci_hcd
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: New USB device found, idVendor=046e, idProduct=52c5, bcdDevice= 1.23
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: Product: USB Multimedia Keyboard
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: Manufacturer: BTC
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: Not enough bandwidth for new device state.
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.3: can't set config #1, error -28
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: new low-speed USB device number 5 using xhci_hcd
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: New USB device found, idVendor=0957, idProduct=0006, bcdDevice= 3.10
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: Product: ADNS-3080 Mouse
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: Manufacturer: Agilent Mouse
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: Not enough bandwidth for new device state.
> [Wed Apr 21 21:48:04 2021] usb 2-2.4.4: can't set config #1, error -28
> [Wed Apr 21 21:48:11 2021] usb 2-2: USB disconnect, device number 2
> [Wed Apr 21 21:48:11 2021] usb 2-2.4: USB disconnect, device number 3
> [Wed Apr 21 21:48:11 2021] usb 2-2.4.3: USB disconnect, device number 4
> [Wed Apr 21 21:48:11 2021] usb 2-2.4.4: USB disconnect, device number 5
>
> But works just fine when plugged into the onboard "Advanced Micro Devices,
> Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller":
>
> [Wed Apr 21 21:48:31 2021] usb 4-4: new high-speed USB device number 3 using ehci-pci
> [Wed Apr 21 21:48:31 2021] usb 4-4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
> [Wed Apr 21 21:48:31 2021] usb 4-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> [Wed Apr 21 21:48:31 2021] usb 4-4: Product: USB 2.0 Hub
> [Wed Apr 21 21:48:31 2021] hub 4-4:1.0: USB hub found
> [Wed Apr 21 21:48:31 2021] hub 4-4:1.0: 4 ports detected
> [Wed Apr 21 21:48:32 2021] usb 4-4.4: new high-speed USB device number 4 using ehci-pci
> [Wed Apr 21 21:48:32 2021] usb 4-4.4: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
> [Wed Apr 21 21:48:32 2021] usb 4-4.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> [Wed Apr 21 21:48:32 2021] usb 4-4.4: Product: USB2.0 Hub
> [Wed Apr 21 21:48:32 2021] hub 4-4.4:1.0: USB hub found
> [Wed Apr 21 21:48:32 2021] hub 4-4.4:1.0: 4 ports detected
> [Wed Apr 21 21:48:32 2021] usb 4-4.4.3: new low-speed USB device number 5 using ehci-pci
> [Wed Apr 21 21:48:32 2021] usb 4-4.4.3: New USB device found, idVendor=046e, idProduct=52c5, bcdDevice= 1.23
> [Wed Apr 21 21:48:32 2021] usb 4-4.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [Wed Apr 21 21:48:32 2021] usb 4-4.4.3: Product: USB Multimedia Keyboard
> [Wed Apr 21 21:48:32 2021] usb 4-4.4.3: Manufacturer: BTC
> [Wed Apr 21 21:48:33 2021] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:13.2/usb4/4-4/4-4.4/4-4.4.3/4-4.4.3:1.0/0003:046E:52C5.0006/input/input33
> [Wed Apr 21 21:48:33 2021] hid-generic 0003:046E:52C5.0006: input,hidraw2: USB HID v1.10 Keyboard [BTC USB Multimedia Keyboard] on usb-0000:00:13.2-4.4.3/input0
> [Wed Apr 21 21:48:33 2021] input: BTC USB Multimedia Keyboard System Control as /devices/pci0000:00/0000:00:13.2/usb4/4-4/4-4.4/4-4.4.3/4-4.4.3:1.1/0003:046E:52C5.0007/input/input34
> [Wed Apr 21 21:48:33 2021] input: BTC USB Multimedia Keyboard Consumer Control as /devices/pci0000:00/0000:00:13.2/usb4/4-4/4-4.4/4-4.4.3/4-4.4.3:1.1/0003:046E:52C5.0007/input/input35
> [Wed Apr 21 21:48:33 2021] hid-generic 0003:046E:52C5.0007: input,hiddev0,hidraw3: USB HID v1.10 Device [BTC USB Multimedia Keyboard] on usb-0000:00:13.2-4.4.3/input1
> [Wed Apr 21 21:48:33 2021] usb 4-4.4.4: new low-speed USB device number 6 using ehci-pci
> [Wed Apr 21 21:48:33 2021] usb 4-4.4.4: New USB device found, idVendor=0957, idProduct=0006, bcdDevice= 3.10
> [Wed Apr 21 21:48:33 2021] usb 4-4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [Wed Apr 21 21:48:33 2021] usb 4-4.4.4: Product: ADNS-3080 Mouse
> [Wed Apr 21 21:48:33 2021] usb 4-4.4.4: Manufacturer: Agilent Mouse
> [Wed Apr 21 21:48:33 2021] input: Agilent Mouse ADNS-3080 Mouse as /devices/pci0000:00/0000:00:13.2/usb4/4-4/4-4.4/4-4.4.4/4-4.4.4:1.0/0003:0957:0006.0008/input/input37
> [Wed Apr 21 21:48:33 2021] hid-generic 0003:0957:0006.0008: input,hidraw4: USB HID v1.10 Mouse [Agilent Mouse ADNS-3080 Mouse] on usb-0000:00:13.2-4.4.4/input0
>
> Any ideas? Is this a bug?
Not a bug, this is how USB works. Your first hub really does not have
enough bandwidth for that device. Well, we think it doesn't, the
calculation for that is really really tricky and we error on the side of
"let's not take the risk and just disable the device to be safe".
Get a better hub :)
thanks,
greg k-h
next prev parent reply other threads:[~2021-04-22 5:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-21 17:37 Not enough bandwidth for new device state -- with Etron USB3 controller only Roman Mamedov
2021-04-22 5:49 ` Greg KH [this message]
2021-04-22 11:08 ` Roman Mamedov
2021-04-22 11:15 ` Greg KH
2021-04-22 14:21 ` Alan Stern
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=YIEOcvePnzGlQtoy@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=rm@romanrm.net \
/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