You are not logged in.

#1 2011-03-01 16:06:17

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

USB 3.0 not working

Hello, I've got this laptop in the signature and it has got 3 USB 2.0 and 1 USB 3.0 port. When I plug something in the 2.0 ports, everything works fine. If I do the same thing with the 3.0, it simply doesn't work.

This is the lsusb output:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:b1bb Chicony Electronics Co., Ltd 
Bus 002 Device 003: ID 0955:7002 NVidia Corp. 

Which shows that the port should be correctly detected.

lsmod | grep ehci:

ehci_hcd               38814  0 
usbcore               139176  7 usb_storage,uas,usbhid,uvcvideo,xhci_hcd,ehci_hcd

lsmod | grep xhci:

xhci_hcd               64027  0 
usbcore               139176  7 usb_storage,uas,usbhid,uvcvideo,xhci_hcd,ehci_hcd

So I guess modules are loaded and stuff.

For what is worth, I tried on Ubuntu 10.10 Live CD and it works. The driver I use on Windows is a Fresco Logic driver downloaded from the ASUS website.

Any ideas?

Offline

#2 2011-03-01 16:09:31

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: USB 3.0 not working

Dmesg not telling you anything? Or any other logs, for that matter?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-03-01 16:29:13

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

dmesg | grep xhci

xhci_hcd 0000:04:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
xhci_hcd 0000:04:00.0: setting latency timer to 64
xhci_hcd 0000:04:00.0: xHCI Host Controller
xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
xhci_hcd 0000:04:00.0: irq 19, io mem 0xd8a00000
xhci_hcd 0000:04:00.0: Failed to enable MSI-X
xhci_hcd 0000:04:00.0: irq 53 for MSI/MSI-X
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
xhci_hcd 0000:04:00.0: Timeout while waiting for a slot

dmesg | grep ehci

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ehci_hcd 0000:00:1a.0: setting latency timer to 64
ehci_hcd 0000:00:1a.0: EHCI Host Controller
ehci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.0: debug port 2
ehci_hcd 0000:00:1a.0: cache line size of 64 is not supported
ehci_hcd 0000:00:1a.0: irq 16, io mem 0xdc608000
ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.0: setting latency timer to 64
ehci_hcd 0000:00:1d.0: EHCI Host Controller
ehci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.0: debug port 2
ehci_hcd 0000:00:1d.0: cache line size of 64 is not supported
ehci_hcd 0000:00:1d.0: irq 23, io mem 0xdc607000
ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 2-1: new high speed USB device using ehci_hcd and address 2
usb 1-1.2: new high speed USB device using ehci_hcd and address 3
usb 2-1.5: new high speed USB device using ehci_hcd and address 3
usb 2-1.2: new low speed USB device using ehci_hcd and address 4
usb 2-1.1: new high speed USB device using ehci_hcd and address 5
usb 2-1.2: new low speed USB device using ehci_hcd and address 6

Offline

#4 2011-03-05 23:46:44

uberGeek
Member
From: Near Chicago
Registered: 2004-01-07
Posts: 65

Re: USB 3.0 not working

Same with my Asus g73sw-a1.  If I get it going I'll let you know, abraxas88.


carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days,  9:24,  1 user,  load average: 1.00, 1.00, 1.00

Offline

#5 2011-03-06 14:11:21

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

uberGeek wrote:

Same with my Asus g73sw-a1.  If I get it going I'll let you know, abraxas88.

Have you tried to recompile the kernel? I haven't had time yet.

Offline

#6 2011-03-08 08:54:13

nicodarious
Member
Registered: 2009-06-13
Posts: 7

Re: USB 3.0 not working

Seems I'm also having the same problem with my G73JW-3DE model.  xhci just doesn't want to work.  Tried using Ubuntu live thumbdrive with same effects.  Something wrong with the kernel or our hardware?

*EDIT* Also, anyone else having issues with inconsistent lockups?  I'm running KDE 4.6 with stock Arch kernel.  Having lockups now and again, but with no real error messages to find out what's causing it.  It's a bit odd.  Maybe caused by the xhci problem maybe?

Last edited by nicodarious (2011-03-08 08:55:46)


Asus G73JW-3DE 17" 1920x1080 120Hz
Intel core i7 740QM // nVidia GTX460M video 1.5GB GDDR5
8GB DDR3 // dual Seagate XT hybrid drives (500GB each)
BD-burning multidrive // BIOS version G73JW-203

Offline

#7 2011-03-08 14:50:37

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

It works on Ubuntu o.O at least to me.
Never had lockups so far... :\

Offline

#8 2011-03-08 16:18:32

nicodarious
Member
Registered: 2009-06-13
Posts: 7

Re: USB 3.0 not working

abraxas88 wrote:

It works on Ubuntu o.O at least to me.:\

What version of Ubuntu were you running?


Asus G73JW-3DE 17" 1920x1080 120Hz
Intel core i7 740QM // nVidia GTX460M video 1.5GB GDDR5
8GB DDR3 // dual Seagate XT hybrid drives (500GB each)
BD-burning multidrive // BIOS version G73JW-203

Offline

#9 2011-03-08 17:15:29

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

I'm quite sure it was the very latest, 10.10 smile

Offline

#10 2011-03-10 05:51:36

nicodarious
Member
Registered: 2009-06-13
Posts: 7

Re: USB 3.0 not working

abraxas88 wrote:

I'm quite sure it was the very latest, 10.10 smile

Hmm.. that may be why mine didn't work right, maybe?  checked my version on the thumbdrive.. it was 9.04, lol!  I'll have to update it this weekend.


Asus G73JW-3DE 17" 1920x1080 120Hz
Intel core i7 740QM // nVidia GTX460M video 1.5GB GDDR5
8GB DDR3 // dual Seagate XT hybrid drives (500GB each)
BD-burning multidrive // BIOS version G73JW-203

Offline

#11 2011-03-10 13:44:51

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

Aye sir, I don't think there was a USB 3 driver in that version yet.

Offline

#12 2011-03-14 10:00:45

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

By starting the kernel with the pci=nomsi option I get these lines in /var/messages.log:

Mar 14 10:58:16 localhost kernel: usb 1-2: new low speed USB device using xhci_hcd and address 2
Mar 14 10:58:33 localhost kernel: xhci_hcd 0000:04:00.0: Timeout while waiting for a slot
Mar 14 10:58:50 localhost kernel: xhci_hcd 0000:04:00.0: Timeout while waiting for a slot
Mar 14 10:59:07 localhost kernel: xhci_hcd 0000:04:00.0: Timeout while waiting for a slot

What does that exactly mean? Broken module?

Offline

#13 2011-03-15 00:09:06

drahnr
Member
Registered: 2011-03-14
Posts: 73

Re: USB 3.0 not working

I recently switched to Arch from Fedora (14). That box has a USB 3.0 plugin card and across kernels it got wacky:
2.6.35 worked, but no power saving
2.6.36 failed
2.6.37 worked (with errors), sometimes required rmmod modprobe xhci module to get it working
2.6.38.git6 works fine after a recompile

Hope it helps a little.

Clarify: All experience is from my box running Fedora.

Last edited by drahnr (2011-03-15 00:11:22)

Offline

#14 2011-03-16 14:53:19

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

It doesn't work with kernel 2.6.38 either. :\
Does it work on your machines, guys?

Offline

#15 2011-05-04 15:52:32

drahnr
Member
Registered: 2011-03-14
Posts: 73

Re: USB 3.0 not working

It does, perfectly on ArchLinux (as of today), though I have only a transcend 640GiB external USB 3.0 harddisk to test.

Pastebin your logs so I can havea look at it.

Last edited by drahnr (2011-05-04 15:53:39)

Offline

#16 2011-05-04 21:45:30

nicodarious
Member
Registered: 2009-06-13
Posts: 7

Re: USB 3.0 not working

OK, so I was playing around with Gentoo (i know this is an arch community, but hey, we gotta try something different once in a while) and found that the xhci_hcd does actually work... on certain models, it seems.  With two laptops (Clevo W860CU and Asus G73JW-3DE), I have found that the xhci_hcd module loads up fine and dandy on the Clevo unit.  USB 3.0 speeds are great, transferring from USB 3.0 to eSATA at around 97MB/s constant.  On the Asus unit, though, there seems to be some serious irq handling problems.  Same kernel config was used (although slightly modified only for wifi needs).  I have tried both kernel versions 2.6.38 and also the new 2.6.39-rc5 on www.kernel.org.  Neither want to work on the Asus.

As far as how I came up with the irq problems, I noticed that the first time that I try to plug something up to the USB 3.0 port (and this only happens the first time after a boot), there seems to be an error code sent to /var/log/messages file.  As soon as I get home, I'll reboot and plug something up so as to copy the error down and paste it here for anyone that is interested.

All in all, I would not be too surprised that Asus changed quite a few things around on their hardware so as to be 'Windows only compatible', and we are stuck using only 2.0 ports.  I'm just glad that the Clevo is generic enough that it works with Linux.  I knew I made a mistake buying a name brand! :-P


Asus G73JW-3DE 17" 1920x1080 120Hz
Intel core i7 740QM // nVidia GTX460M video 1.5GB GDDR5
8GB DDR3 // dual Seagate XT hybrid drives (500GB each)
BD-burning multidrive // BIOS version G73JW-203

Offline

#17 2011-05-30 03:40:46

uberGeek
Member
From: Near Chicago
Registered: 2004-01-07
Posts: 65

Re: USB 3.0 not working

Seems to be working with the following on my kernel line in /boot/grub/menu.lst:
pci=nomsi

Also got the keyboard backlight working with a patched 2.6.39 kernel, and LCD backlight level is now adjustable via Fn-F5 & Fn-F6.

I have an Asus G73SW-A1, 16GB RAM, dual 500GB Hybrid HDs, GTX460M Nvidia, Atheros AR9285 radio.
Only thing left to get working is the memory card reader, which I can live witout, and bluetooth, which seems to have quit working with 2.6.39.

Update: well, Fn-F2 (radio toggle) works now too, that was the bluetooth problem, doh!

Last edited by uberGeek (2011-05-30 05:03:21)


carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days,  9:24,  1 user,  load average: 1.00, 1.00, 1.00

Offline

#18 2011-05-31 21:54:16

nicodarious
Member
Registered: 2009-06-13
Posts: 7

Re: USB 3.0 not working

hmm..  interesting.  I tried that, but with the older 2.6.37 kernels.  Would you mind sharing your patched kernel config?  What kind of 'patch' is it?  Is it to a vanilla from kernel.org, or a patch done to an Arch kernel?  It's great you were able to get it working.  I'm in the same boat as you are with everything else, but i don't really care too much about the card reader at this point, I would just love to get some nice USB 3.0 speeds going!


Asus G73JW-3DE 17" 1920x1080 120Hz
Intel core i7 740QM // nVidia GTX460M video 1.5GB GDDR5
8GB DDR3 // dual Seagate XT hybrid drives (500GB each)
BD-burning multidrive // BIOS version G73JW-203

Offline

#19 2011-06-01 03:48:44

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: USB 3.0 not working

I just threw a PCI-E 1x USB 3.0 card into my media server (oldish desktop, had to use the only PCI-E slot I had, the graphics card one) and I'm getting this from dmesg:

[   69.213407] usb 3-3: new high speed USB device using xhci_hcd and address 2
[   69.413493] usb 3-3: Device not responding to set address.
[   69.616765] usb 3-3: Device not responding to set address.
[   69.820021] usb 3-3: device not accepting address 2, error -71
[   69.873369] hub 3-0:1.0: unable to enumerate USB device on port 3

It's a western digital portable usb drive 1TB, works fine in motherboard USB 2.0 ports.

EDIT: Kernel is stock 2.6.38-ARCH. Also getting this at boot time:

$ dmesg | grep xhci
[    5.105000] xhci_hcd 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    5.105040] xhci_hcd 0000:02:00.0: setting latency timer to 64
[    5.105045] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    5.105082] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[    5.110225] xhci_hcd 0000:02:00.0: irq 18, io mem 0xfdefe000
[    5.110235] xhci_hcd 0000:02:00.0: Failed to enable MSI-X
[    5.110248] xhci_hcd 0000:02:00.0: failed to allocate MSI entry
[    5.113735] xHCI xhci_add_endpoint called for root hub
[    5.113738] xHCI xhci_check_bandwidth called for root hub

Last edited by PIMPinator (2011-06-01 04:14:38)

Offline

#20 2011-06-02 17:22:16

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: USB 3.0 not working

Just taking a guess, but maybe the /etc/modprobe.d/usb-load-ehci-first.conf file might help us? As in, maybe we need a similar file for xhci, or to get rid of this file. Guessing randomly though.

Offline

#21 2011-06-03 14:29:35

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

uberGeek wrote:

Seems to be working with the following on my kernel line in /boot/grub/menu.lst:
pci=nomsi

Also got the keyboard backlight working with a patched 2.6.39 kernel, and LCD backlight level is now adjustable via Fn-F5 & Fn-F6.

I have an Asus G73SW-A1, 16GB RAM, dual 500GB Hybrid HDs, GTX460M Nvidia, Atheros AR9285 radio.
Only thing left to get working is the memory card reader, which I can live witout, and bluetooth, which seems to have quit working with 2.6.39.

Update: well, Fn-F2 (radio toggle) works now too, that was the bluetooth problem, doh!


What patched kernel have you used?

Offline

#22 2011-06-03 21:25:36

uberGeek
Member
From: Near Chicago
Registered: 2004-01-07
Posts: 65

Re: USB 3.0 not working

Yo, sorry for the late response, been busy.

I used the files from here:
http://projects.archlinux.org/svntogit/ … ng-x86_64/

I added a few lines to that PKGBUILD to apply the patch I found here:
http://dev.iksaif.net/attachments/149/0 … port.patch

Ha! Forgot to mention, the volume control keys Fn-10..Fn-12 also work now.

Last edited by uberGeek (2011-06-03 21:26:37)


carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days,  9:24,  1 user,  load average: 1.00, 1.00, 1.00

Offline

#23 2011-06-04 22:43:13

abraxas88
Member
From: Rome, Italy
Registered: 2009-12-12
Posts: 88

Re: USB 3.0 not working

Have you just compiled it? Haven't you modified anything in the .config files?

Offline

#24 2011-06-05 00:05:01

uberGeek
Member
From: Near Chicago
Registered: 2004-01-07
Posts: 65

Re: USB 3.0 not working

No changes, all stock Arch PKGBUILD for the 2.6.39 kernel from testing except that one patch applied.  Nothing else changed, whatever is in the .config from http://projects.archlinux.org/svntogit/ … ng-x86_64/ is what I used.  Keep in mind that this patch was only to get some Asus G73S specific features working.

To be on topic with just the USB3 issue:  I'm pretty sure all I would need is the 2.6.39 kernel from testing and pci=nomsi on my kernel boot line.  I have a Fresco Logic FL1000G USB 3.0 Host Controller (rev 04.)  If yours is not similar, then the above may not work for you at all.

Last edited by uberGeek (2011-06-05 00:30:22)


carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days,  9:24,  1 user,  load average: 1.00, 1.00, 1.00

Offline

#25 2011-06-06 18:13:24

PIMPinator
Member
From: Queensland, Australia
Registered: 2010-03-14
Posts: 85

Re: USB 3.0 not working

My card has the following

02:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)

which I'm assuming means it's different. It's odd, the USB 3.0 HDD works fine in the USB 2.0 ports, and a USB 2.0 flash drive I have worked in the USB 3.0 ports...

Offline

Board footer

Powered by FluxBB