You are not logged in.

#1 2018-06-19 17:10:23

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Device not responding to setup address

At the end of my dmesg: https://pastebin.com/6JySVFch I see a few lines starting with:

    4.026754] usb 1-10.3: new low-speed USB device number 9 using xhci_hcd
    4.028866] usb 1-10.3: Device not responding to setup address.

which I believe I saw when the machine booted up now (into CLI). How am I to determine what device is causing this?

Here is https://pastebin.com/Ci0EDNXg is lsusb and usb-devices. This:

Bus 001 Device 003: ID 046d:c246 Logitech, Inc. Gaming Mouse G300

works fine. smile

Offline

#2 2018-06-19 19:24:25

seth
Member
Registered: 2012-09-03
Posts: 50,929

Re: Device not responding to setup address

lsusb -t

But it seems to be the card reader.

Offline

#3 2018-06-19 19:59:33

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

Here:

$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 5: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 5: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 6: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 6: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 8: Dev 4, If 3, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 8: Dev 4, If 1, Class=Printer, Driver=usblp, 480M
    |__ Port 8: Dev 4, If 2, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 8: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 10: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Mass Storage, Driver=usb-storage, 480M

I also that it was the card reader, but it's also a USB hub and it works fine -- I just plugged in a USB stick into the reader/hub and mounted it no problem.

Everything seems to work, that's what's odd....

Offline

#4 2018-06-19 20:00:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Device not responding to setup address

seth wrote:
lsusb -t

But it seems to be the card reader.

Why do you blame the card reader?  We know it accepted an address during negotiation since it was subsequently able to report its HIP, PID, and Product Name Strings

I would think we want to be looking at the device that attached to the bus that doesn't show up in lsusb.
Also, I note that it shows up as a low speed device.  That means all the pre-digital communications that occur by biasing the bus, and switching in terminators -- a choreographed sequence of operations that identify whether it is a low speed, full speed, or high speed device.   I doubt that, what ever it is, is a low speed device.  It seems almost that the bus is loaded down by the device and the device is just not responding to the digital "hello" sent by the controller.

Are there any devices that you think should be on the bus that are not?  Use process of elimination, if it is in the output, it enumerated.

On the other hand, you have 6 devices on that bus already; and one of them is a hub.  Is that an external hub?  Is it powered?  Are you drawing too much current from the bus?
Perhaps something on the bus is behaving badly and is preventing your device from communicating. 

Can you unplug everything from the bus and try the devices, one at a time, to ensure they enumerate individually?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2018-06-19 20:03:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Device not responding to setup address

Everything seems to work, that's what's odd....

Then, perhaps the issue is that the bus is loaded down with enough devices that the bus is being pulled down during idle to the extent that the controller thinks it saw a new device, and tried (and failed) to enumerate it.  Note that this should not happen if everyone on the bus follows to rules.  For USB, that can be a big if.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2018-06-19 20:04:49

seth
Member
Registered: 2012-09-03
Posts: 50,929

Re: Device not responding to setup address

Why do you blame the card reader?

Because it is :-P
The deep structure of the device alone hints such.

I assume the errors are from trying to access the sub devices of the hub - there are none and the hub doesn't properly terminate/responds.
This is unlikely a problem.

If you want, you can compare the behavior w/ the card reader stuffed w/ some cards.

Offline

#7 2018-06-20 10:59:08

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

The reader/hub just had a micro USB cord plugged in with nothing attached. I removed that from the reader/hub and then detached the reader/hub itself from the PC and then reattached it. I see now:

[11185.891669] perf: interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 79800
[11782.888413] usb 1-10.4: USB disconnect, device number 11
[38385.017618] perf: interrupt took too long (3146 > 3127), lowering kernel.perf_event_max_sample_rate to 63300
[64534.794321] usb 1-10: USB disconnect, device number 5
[64534.794327] usb 1-10.1: USB disconnect, device number 6
[64583.834289] usb 1-10: new high-speed USB device number 12 using xhci_hcd
[64583.975601] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[64583.975608] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[64583.975612] usb 1-10: Product: USB2.0 Hub
[64583.976889] hub 1-10:1.0: USB hub found
[64583.977179] hub 1-10:1.0: 4 ports detected
[64584.257650] usb 1-10.1: new high-speed USB device number 13 using xhci_hcd
[64584.350281] usb 1-10.1: New USB device found, idVendor=058f, idProduct=6362, bcdDevice= 1.26
[64584.350287] usb 1-10.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[64584.350292] usb 1-10.1: Product: Mass Storage Device
[64584.350296] usb 1-10.1: Manufacturer: Generic
[64584.350300] usb 1-10.1: SerialNumber: 058F312D81B
[64584.351869] usb-storage 1-10.1:1.0: USB Mass Storage device detected
[64584.356606] scsi host4: usb-storage 1-10.1:1.0
[64585.378672] scsi 4:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[64585.379425] scsi 4:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[64585.380140] scsi 4:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[64585.380743] scsi 4:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[64585.385686] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[64585.390455] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[64585.391994] sd 4:0:0:2: [sde] Attached SCSI removable disk
[64585.392512] sd 4:0:0:3: [sdf] Attached SCSI removable disk

I have plugged in a keyboard, mouse, printer and this reader/hub. No other USB devices are present. They all seem to work as well.

The reader/hub by the way is a $1.50 item from China that I bought years ago. It's USB 2.0 and a piece of junk, but it has worked fine for years. Well, the hub part has. the card reader slots don't work.

Offline

#8 2018-06-20 11:09:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: Device not responding to setup address

the card reader slots don't work

Then that's likely what is causing the error message. Does it matter to you? If not I would simply ignore it.

Online

#9 2018-06-20 11:27:01

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

It matters not at all, it was just surprising because I used this hub/reader on another machine for years with no such messages. I just built a new machine last week and for the first 5 days I also didn't see any such message.

Then suddenly yesterday, it showed up. So I thought to ask.

Instead, now I switched to another USB hub that I have, which cost more like $2.50 I think. Also works great however. smile

I removed the first hub from the end of the USB cable and plugged in the new one I saw this:

[66185.635436] usb 1-10: USB disconnect, device number 12
[66185.635443] usb 1-10.1: USB disconnect, device number 13
[66189.654062] usb 1-10: new high-speed USB device number 14 using xhci_hcd
[66189.795358] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[66189.795365] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[66189.795369] usb 1-10: Product: USB2.0 Hub
[66189.796645] hub 1-10:1.0: USB hub found
[66189.796922] hub 1-10:1.0: 4 ports detected
[66200.274554] usb 1-10-port1: Cannot enable. Maybe the USB cable is bad?
[66201.117910] usb 1-10-port1: Cannot enable. Maybe the USB cable is bad?
[66201.118227] usb 1-10-port1: attempt power cycle
[66201.710725] usb 1-10.1: new low-speed USB device number 17 using xhci_hcd
[66201.711172] usb 1-10.1: Device not responding to setup address.
[66201.917888] usb 1-10.1: Device not responding to setup address.
[66202.124055] usb 1-10.1: device not accepting address 17, error -71
[66202.197399] usb 1-10.1: new low-speed USB device number 18 using xhci_hcd
[66202.197887] usb 1-10.1: Device not responding to setup address.
[66202.404510] usb 1-10.1: Device not responding to setup address.
[66202.610734] usb 1-10.1: device not accepting address 18, error -71
[66202.611048] usb 1-10-port1: unable to enumerate USB device

How do you like that? It says "Maybe the USB cable is bad?" which I guess means "bad but actually works." So I tried a different USB cable with the 2nd hub and got:

[66497.965867] usb 1-10: USB disconnect, device number 14
[66519.674024] usb 1-10: new high-speed USB device number 19 using xhci_hcd
[66519.815330] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[66519.815337] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[66519.815341] usb 1-10: Product: USB2.0 Hub
[66519.816578] hub 1-10:1.0: USB hub found
[66519.816867] hub 1-10:1.0: 4 ports detected
[66520.100692] usb 1-10.1: new low-speed USB device number 20 using xhci_hcd
[66520.174039] usb 1-10.1: device descriptor read/64, error -32
[66520.354046] usb 1-10.1: device descriptor read/64, error -32
[66520.534013] usb 1-10.1: new low-speed USB device number 21 using xhci_hcd
[66520.607366] usb 1-10.1: device descriptor read/64, error -32
[66520.787372] usb 1-10.1: device descriptor read/64, error -32
[66520.894326] usb 1-10-port1: attempt power cycle
[66521.490689] usb 1-10.1: new low-speed USB device number 22 using xhci_hcd
[66521.491127] usb 1-10.1: Device not responding to setup address.
[66521.697882] usb 1-10.1: Device not responding to setup address.
[66521.903964] usb 1-10.1: device not accepting address 22, error -71
[66521.980683] usb 1-10.1: new low-speed USB device number 23 using xhci_hcd
[66521.981133] usb 1-10.1: Device not responding to setup address.
[66522.187880] usb 1-10.1: Device not responding to setup address.
[66522.394031] usb 1-10.1: device not accepting address 23, error -71
[66522.394335] usb 1-10-port1: unable to enumerate USB device

OK, so both cables and both hubs are "bad" and don't respond properly. But in the meantime they work, so I will just ignore this and we can all get back to work I guess. smile

Thank you.

Offline

#10 2018-06-20 14:14:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Device not responding to setup address

What happens if you attach something to a downstream port of the hubs?  Say, a mouse.  Do you still get errors?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2018-06-20 14:29:50

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

I put back the first cable as I like it better (it's longer) and put a USB drive in the second hub and then connected the hub and get:

[77550.099115] usb 1-10: new high-speed USB device number 41 using xhci_hcd
[77550.240457] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[77550.240464] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[77550.240469] usb 1-10: Product: USB2.0 Hub
[77550.241698] hub 1-10:1.0: USB hub found
[77550.241994] hub 1-10:1.0: 4 ports detected
[77550.522454] usb 1-10.4: new high-speed USB device number 42 using xhci_hcd
[77550.649225] usb 1-10.4: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.41
[77550.649231] usb 1-10.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[77550.649236] usb 1-10.4: Product: Mass Storage Device
[77550.649240] usb 1-10.4: Manufacturer: JetFlash
[77550.649243] usb 1-10.4: SerialNumber: 45ZUQYCV
[77550.650932] usb-storage 1-10.4:1.0: USB Mass Storage device detected
[77550.651356] usb-storage 1-10.4:1.0: Quirks match for vid 058f pid 6387: 400
[77550.651489] scsi host4: usb-storage 1-10.4:1.0
[77551.690076] scsi 4:0:0:0: Direct-Access     FlyDrive                  8.07 PQ: 0 ANSI: 2
[77551.691593] sd 4:0:0:0: [sdc] 1982464 512-byte logical blocks: (1.02 GB/968 MiB)
[77551.691772] sd 4:0:0:0: [sdc] Write Protect is off
[77551.691777] sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
[77551.691956] sd 4:0:0:0: [sdc] No Caching mode page found
[77551.691966] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[77551.697440]  sdc: sdc1 sdc2
[77551.698221] sd 4:0:0:0: [sdc] Attached SCSI removable disk

and of course lsblk shows the USB drive.

Offline

#12 2018-06-20 14:34:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Device not responding to setup address

....and no messages about a device not accepting an address.  I wonder if that error occurs when the driver tries to initialize stuff plugged into the hub, but finds nothing?

I may check that tonight when I have physical access to my machine.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2018-06-20 14:38:16

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

Just for fun, I now plugged in the original reader/hub with nothing attached, removed it and then plugged it in again with a USB drive attached:

[78004.452354] usb 1-10: new high-speed USB device number 43 using xhci_hcd
[78004.593723] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[78004.593725] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[78004.593726] usb 1-10: Product: USB2.0 Hub
[78004.594945] hub 1-10:1.0: USB hub found
[78004.595231] hub 1-10:1.0: 4 ports detected
[78004.875730] usb 1-10.1: new high-speed USB device number 44 using xhci_hcd
[78004.968422] usb 1-10.1: New USB device found, idVendor=058f, idProduct=6362, bcdDevice= 1.26
[78004.968429] usb 1-10.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[78004.968433] usb 1-10.1: Product: Mass Storage Device
[78004.968437] usb 1-10.1: Manufacturer: Generic
[78004.968441] usb 1-10.1: SerialNumber: 058F312D81B
[78004.972529] usb-storage 1-10.1:1.0: USB Mass Storage device detected
[78004.972860] scsi host4: usb-storage 1-10.1:1.0
[78005.990127] scsi 4:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[78005.990931] scsi 4:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[78005.991703] scsi 4:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[78005.992415] scsi 4:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[78005.995511] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[78005.996031] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[78005.996579] sd 4:0:0:2: [sde] Attached SCSI removable disk
[78006.001253] sd 4:0:0:3: [sdf] Attached SCSI removable disk
[78008.374419] usb 1-10: USB disconnect, device number 43
[78008.374426] usb 1-10.1: USB disconnect, device number 44
[78017.589059] usb 1-10: new high-speed USB device number 45 using xhci_hcd
[78017.730356] usb 1-10: New USB device found, idVendor=05e3, idProduct=0606, bcdDevice= 7.02
[78017.730363] usb 1-10: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[78017.730367] usb 1-10: Product: USB2.0 Hub
[78017.731609] hub 1-10:1.0: USB hub found
[78017.731899] hub 1-10:1.0: 4 ports detected
[78018.012346] usb 1-10.1: new high-speed USB device number 46 using xhci_hcd
[78018.105051] usb 1-10.1: New USB device found, idVendor=058f, idProduct=6362, bcdDevice= 1.26
[78018.105058] usb 1-10.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[78018.105062] usb 1-10.1: Product: Mass Storage Device
[78018.105066] usb 1-10.1: Manufacturer: Generic
[78018.105070] usb 1-10.1: SerialNumber: 058F312D81B
[78018.106627] usb-storage 1-10.1:1.0: USB Mass Storage device detected
[78018.112376] scsi host4: usb-storage 1-10.1:1.0
[78018.185716] usb 1-10.2: new high-speed USB device number 47 using xhci_hcd
[78018.312466] usb 1-10.2: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.41
[78018.312473] usb 1-10.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[78018.312478] usb 1-10.2: Product: Mass Storage Device
[78018.312481] usb 1-10.2: Manufacturer: JetFlash
[78018.312485] usb 1-10.2: SerialNumber: 45ZUQYCV
[78018.314113] usb-storage 1-10.2:1.0: USB Mass Storage device detected
[78018.314353] usb-storage 1-10.2:1.0: Quirks match for vid 058f pid 6387: 400
[78018.314422] scsi host5: usb-storage 1-10.2:1.0
[78019.136731] scsi 4:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[78019.137476] scsi 4:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[78019.138125] scsi 4:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[78019.138774] scsi 4:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[78019.140780] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[78019.142465] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[78019.142994] sd 4:0:0:2: [sde] Attached SCSI removable disk
[78019.147089] sd 4:0:0:3: [sdf] Attached SCSI removable disk
[78019.343420] scsi 5:0:0:0: Direct-Access     FlyDrive                  8.07 PQ: 0 ANSI: 2
[78019.344960] sd 5:0:0:0: [sdg] 1982464 512-byte logical blocks: (1.02 GB/968 MiB)
[78019.345142] sd 5:0:0:0: [sdg] Write Protect is off
[78019.345147] sd 5:0:0:0: [sdg] Mode Sense: 03 00 00 00
[78019.345314] sd 5:0:0:0: [sdg] No Caching mode page found
[78019.345323] sd 5:0:0:0: [sdg] Assuming drive cache: write through
[78019.350571]  sdg: sdg1 sdg2
[78019.352145] sd 5:0:0:0: [sdg] Attached SCSI removable disk

Offline

#14 2018-06-20 17:46:29

seth
Member
Registered: 2012-09-03
Posts: 50,929

Re: Device not responding to setup address

The reader/hub just had a micro USB cord plugged in with nothing attached. I removed that from the reader/hub

and the dmesg log you posted does not contain any errors after removing that cable.

Reminds me of an emergency call I once got (family friend) - his computer would not boot and complain about a bad usb device. Turned out he found his mouse wasn't working. He replaced it and instead of unplugging the old one he seriously cut the cable, so the open wires of the old mouse remained plugged into the system and caused that error.
Luckily he didn't try to replace his PSU…

Cheap HW is cheap, but the cheaper one actually seems to behave even better (or trigger a known quirk)
It only fails for the dead cable, while the $2.50 one doesn't even terminate itself.

Somebody should put 5000% tariffs or so on these things ;-P

Offline

#15 2018-06-20 17:50:42

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

From post #11 above, it's the old cable actually, with the 2nd hub. I think all these cheap little things are just unreliable, probably that's all it is.

Offline

#16 2018-06-20 17:52:19

seth
Member
Registered: 2012-09-03
Posts: 50,929

Re: Device not responding to setup address

No, I meant: what caused the initial error was the dead cable *attached to* the hub - *not* the cable attaching the hub.

Offline

#17 2018-06-20 17:59:28

CaptainKirk
Member
Registered: 2009-06-07
Posts: 391

Re: Device not responding to setup address

Oh.

Dude, now I get it. You mean the brand-new micro USB cable that I paid real money for is plugged in with nothing on the micro end. I only bought it to charge my cellphone in reality as I'm not even sure it's a data cable. You mean that cable appears dead to the PC.

Could well be. smile

Plugging in hub with it shows the error, but without it does not show the error.

Seems you got it, mate. smile

Offline

#18 2023-01-16 02:24:49

sevk
Member
From: CN
Registered: 2017-02-09
Posts: 31

Re: Device not responding to setup address

My keyboard also encountered this problem, I changed a USB hole. I found that the USB cable of my keyboard was broken, and maybe the GND shield was broken

Offline

#19 2023-01-16 14:33:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: Device not responding to setup address

Please note you are bumping a 4 year old thread.

Closing this old thread.

Online

Board footer

Powered by FluxBB