You are not logged in.

#1 2016-06-07 18:07:42

skwee
Member
Registered: 2013-08-15
Posts: 41

USB 3 card reader does not work on some USB ports

Hi!

I've purchased Transcend USB 3.0 Multi-Card Reader
My motherboard is Gigabyte GA-H81M-HD3 its got 4 USB 3.0 on the back, as well as one on the front.

While I connect my card read to the front USB 3.0, everything works as expected.
However when I connect the card reader to any of the back USB 3.0 ports, after few minutes, the devices loses power and is unable to be connected once again, needs to be unplugged and plugged back.

The following appears in dmesg:

[  823.891016] usb 6-3: new SuperSpeed USB device number 3 using xhci_hcd
[  823.907573] usb-storage 6-3:1.0: USB Mass Storage device detected
[  823.907671] scsi host6: usb-storage 6-3:1.0
[  824.911567] scsi 6:0:0:0: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  824.912178] scsi 6:0:0:1: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  824.912753] scsi 6:0:0:2: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  824.928851] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[  824.929467] sd 6:0:0:1: [sdd] Attached SCSI removable disk
[  824.931650] sd 6:0:0:2: [sde] Attached SCSI removable disk

[  907.574339] xhci_hcd 0000:06:00.0: Timeout while waiting for setup device command
[  912.788302] xhci_hcd 0000:06:00.0: Timeout while waiting for setup device command
[  912.991597] usb 6-3: device not accepting address 3, error -62
[  916.962137] usb usb6-port3: Cannot enable. Maybe the USB cable is bad?
[  919.362436] usb usb6-port3: Could not disable after 2000 ms
[  920.132489] usb 6-3: device not accepting address 3, error -22
[  924.102993] usb usb6-port3: Cannot enable. Maybe the USB cable is bad?
[  926.506622] usb usb6-port3: Could not disable after 2000 ms

I tried different USB 3.0 cable. Other devices (non usb 3.0, I do not have any to test) works fine on all usb ports.

More info:

[pts/3]-(~) -> lspci 
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d5)
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation C220 Series Chipset Family H81 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
06:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
[pts/3]-(~) -> uname -a
Linux fractal 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux

Any ideas?

Thanks!


dotfiles
git pull strings master-of-puppets

Offline

#2 2016-06-07 18:31:49

mis
Member
Registered: 2016-03-16
Posts: 234

Re: USB 3 card reader does not work on some USB ports

Maybe the links in this thread could be helpful?

Offline

#3 2016-06-07 18:46:45

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

Thank you, but I've read that link before posting. The answer in stackoverflow askubuntu is way outdated (2012), so I'm not sure if its still valid, and the blog post about powering off the system and disconnecting all usb devices, well.. I'm not going to do this procedure every time I connect my card reader >.<

More info, in BIOS I have XHCI Handoff set to enabled and EHCI Handoff to disabled, dont know if its helpful..

Last edited by skwee (2016-06-07 18:47:21)


dotfiles
git pull strings master-of-puppets

Offline

#4 2016-06-07 19:12:13

mis
Member
Registered: 2016-03-16
Posts: 234

Re: USB 3 card reader does not work on some USB ports

As I've read the infos in the links I thought it could be a hint that maybe the back USB ports are not able to deliver enough power because of the errors like

[  912.991597] usb 6-3: device not accepting address 3, error -62

But well, it's only a card reader .. I don't know. wink

Offline

#5 2016-06-07 19:19:33

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

Interesting assumption. I am currently digging in the same direction. I suspect maybe there is some sort of power management on the motherboard itself that cuts the power of whatever.
However the fact that rear USB 3.0 does not work (I've tried all of the 4, same issue), while front one works. I mean, I could understand this if there were two different USB3.0 controller, but there is only one: 06:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

Edit. I've also tried to disconnect all usb devices (well, except mouse) and connect only the card reader. Same thing.

Edit2: According to lsusb, it draws 224mA of MaxPower, which is 24mA more than my mouse and almost half of the web cam (500mA) which works fine

Last edited by skwee (2016-06-07 19:29:14)


dotfiles
git pull strings master-of-puppets

Offline

#6 2016-06-07 20:35:49

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB 3 card reader does not work on some USB ports

xHCI is USB 3.0 so you have two controllers. And now go and re-read the motherboard spec you linked wink

Offline

#7 2016-06-07 20:50:30

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

micha41, I know that I have two controllers, one for USB2.0 and one for USB3.0, however 4 out of 5 USB 3.0 fails, so I'm not sure I've got your point smile
Holy moly, I've re-read the specs, it looks like the back usb 3.0 controller by VIA VL805, while the front one by... well another controller. So they do have different controllers.. Interesting.. Are you implying that the VIA controller might be bad / broken?

Last edited by skwee (2016-06-07 20:52:02)


dotfiles
git pull strings master-of-puppets

Offline

#8 2016-06-08 08:56:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: USB 3 card reader does not work on some USB ports

skwee wrote:

Holy moly, I've re-read the specs, it looks like the back usb 3.0 controller by VIA VL805, while the front one by... well another controller. So they do have different controllers.. Interesting.. Are you implying that the VIA controller might be bad / broken?

It might be a bug in the xhci driver, if it is the kernel devs most probably want to know about it and you should submit a bug upstream. If you do submit a bug report make sure to provide information about your hardware, kernel version and anything else that you find relevant to help debug the problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#9 2016-06-08 10:11:05

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB 3 card reader does not work on some USB ports

skwee wrote:

Are you implying that the VIA controller might be bad / broken?

No idea. I only pointed out that front and rear aren't just different ports on the same controller.

The dmesg snippet looks like this device locks up and stops reacting to anything for some reason.

You said it loses power. How do you know?

Offline

#10 2016-06-08 11:45:47

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

R00KIE
I didn't want to bother the developers before I was 100% sure it actually a kernel issue rather then the card reader / usb cable / motherboard / whatever. But at this point it does looks like it might be an issue with the kernel. I'll try to gather more information and provide a detailed report to the kernel developers.

mich41
The card reader has a blue LED that (I assume) indicates its getting power. The LED turns on when I connect the reader to the USB and at the same time dmesg reports about new SuperSpeed device. After about 1.5-2 minutes the LED goes off and at the same time, dmesg reports about "device not accepting address", and few seconds after that, the LED comes back ON, which is strange, it looks like it is re-powered, but nothing is written in dmesg and the device is not functioning any more: not being mounted and visible in Thunar, or if I was browsing the SD card contents Thunar simply hangs and xfce offers me to close it due to it being unresponsive.
So it looks like the device losses power and then being re-powered but not recognized as device by the kernel.
Edit: on the front USB3.0 or any USB2.0 ports the LED stays blue forever until it is disconnected.

Last edited by skwee (2016-06-08 11:47:15)


dotfiles
git pull strings master-of-puppets

Offline

#11 2016-06-08 11:57:36

mis
Member
Registered: 2016-03-16
Posts: 234

Re: USB 3 card reader does not work on some USB ports

kernel 4.6.1 is in the repos now, have you tested it already with the new version?

Offline

#12 2016-06-08 12:04:21

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

When was it released? I did a full system update about 20 hours ago. If it was released after that, I guess I'll update later today when will be back from work and then test.

Edit: I see it was updated 2016-06-08 05:44 UTC so, yeah, will update the system later today and test. Thank you!

Last edited by skwee (2016-06-08 12:04:54)


dotfiles
git pull strings master-of-puppets

Offline

#13 2016-06-08 16:34:17

skwee
Member
Registered: 2013-08-15
Posts: 41

Re: USB 3 card reader does not work on some USB ports

Tried with the new kernel:

[pts/1]-(~) -> uname -a
Linux fractal 4.6.1-2-ARCH #1 SMP PREEMPT Thu Jun 2 15:46:17 CEST 2016 x86_64 GNU/Linux

Still the same issue

[pts/0]-(~) -> dmesg -wH
[Jun 8 19:28] Linux version 4.6.1-2-ARCH (builduser@tobias) (gcc version 6.1.1 20160501 (GCC) ) #1 SMP PREEMPT Thu Jun 2 15:46:17 CEST 2016
.........
[Jun 8 19:29] usb 6-2: new SuperSpeed USB device number 2 using xhci_hcd
[  +0.021877] usb-storage 6-2:1.0: USB Mass Storage device detected
[  +0.001099] scsi host4: usb-storage 6-2:1.0
[  +0.000077] usbcore: registered new interface driver usb-storage
[  +0.001375] usbcore: registered new interface driver uas
[  +1.002415] scsi 4:0:0:0: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  +0.000367] scsi 4:0:0:1: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  +0.000379] scsi 4:0:0:2: Direct-Access     Generic  STORAGE DEVICE   TS26 PQ: 0 ANSI: 6
[  +0.005099] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[  +0.010916] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[  +0.000636] sd 4:0:0:2: [sde] Attached SCSI removable disk
[Jun 8 19:30] usb 3-3: reset high-speed USB device number 2 using xhci_hcd
[Jun 8 19:31] xhci_hcd 0000:06:00.0: Timeout while waiting for setup device command
[  +5.213761] xhci_hcd 0000:06:00.0: Timeout while waiting for setup device command
[  +0.203268] usb 6-2: device not accepting address 2, error -62
[  +3.970308] usb usb6-port2: Cannot enable. Maybe the USB cable is bad?
[  +2.400214] usb usb6-port2: Could not disable after 2000 ms
[  +0.770090] usb 6-2: device not accepting address 2, error -22
[  +3.976981] usb usb6-port2: Cannot enable. Maybe the USB cable is bad?
[  +2.406884] usb usb6-port2: Could not disable after 2000 ms
[  +0.000167] usb 6-2: USB disconnect, device number 2

Will try to collect as much data as possible and open a bug report

Last edited by skwee (2016-06-08 16:34:37)


dotfiles
git pull strings master-of-puppets

Offline

#14 2016-07-24 10:20:03

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

Re: USB 3 card reader does not work on some USB ports

Have you had any progress with this? I have the same issue also with a USB 3.0 card reader Kingston MobileLite G4.

It works in my ThinkPad, but it give the same issues as yours in Zotac NanoBox AQ01.

Offline

#15 2016-07-24 14:13:41

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: USB 3 card reader does not work on some USB ports

You might want to ask upstream. The kernel devs might know of problematic boards/chipsets and will be able to either tell you that it will not work or might be interested in fixing it if it is a bug.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB