LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   usb 3.0 disappeared (https://www.linuxquestions.org/questions/linux-hardware-18/usb-3-0-disappeared-4175562882/)

dmtparker 01-01-2016 10:39 AM

usb 3.0 disappeared
 
I tried posting this before, but I obviously did something wrong as it never showed up, so here goes again:
I have ubuntu studio 14.04.3. I just had an automatic update to kernal 3.13.0-74-lowlatency and with it all my usb3.0 devices do not work. I have an Intel NUC computer with 4 usb3 sockets on the motherboard. It worked fine until the latest kernal. Now any usb2 device works normally, but usb3 devices are not recognized at all (though they do power up).
Here is some of the output from dmesg, lspci and lsusb:
lsusb:
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 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 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
mark@mark-desktop:~$ lsusb (after plugging in usb3 hdd)
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 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 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lspci:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev c3)

dmesg: (partial)
[ 1.909644] e1000e 0000:00:19.0: irq 58 for MSI/MSI-X
[ 1.987455] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[ 2.002315] usb 2-1: New USB device found, idVendor=046d, idProduct=c52b
[ 2.002321] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.002325] usb 2-1: Product: USB Receiver
[ 2.002328] usb 2-1: Manufacturer: Logitech
[ 2.073369] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 2.073373] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) c0:3f:d5:6d:de:24
[ 2.073376] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 2.073400] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[ 2.156391] usb 2-7: new full-speed USB device number 3 using xhci_hcd
[ 2.168936] usb 2-7: New USB device found, idVendor=8087, idProduct=07dc
[ 2.168943] usb 2-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.176950] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.187966] usbcore: registered new interface driver usbhid
[ 2.187969] usbhid: USB HID core driver
[ 2.193839] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1/input2
[ 2.196836] input: Logitech Unifying Device. Wireless PID:401b as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.2/0003:046D:C52B.0003/input/input2
[ 2.196999] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:401b] on usb-0000:00:14.0-1:1
[ 2.199066] input: Logitech Unifying Device. Wireless PID:4016 as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.2/0003:046D:C52B.0003/input/input3
[ 2.199199] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:4016] on usb-0000:00:14.0-1:2

So TWO problems:
1) How do I get grub to let me boot into the old kernal?
This version of grub is totally silent and does not give me any menu or options to load the previous kernal. I have tried holding down <Shift> or <Cntrl> or <Alt> or <Esc> while booting without effect. Many years ago I would muck around with grub myself, but it is now so complex, I don't dare edit it unless someone has VERY SPECIFIC instructions.

2) Is there a fix to get this kernal to recognize usb3?
I cannot be the only one with this problem???
Thanks for your help

business_kid 01-02-2016 12:17 PM

Try

lsmod |grep xhci

Maybe the module isn't loading.

dmtparker 01-02-2016 12:21 PM

Quote:

Originally Posted by business_kid (Post 5472189)
Try

lsmod |grep xhci

Maybe the module isn't loading.

That appears to be the case. Here is my terminal output:
mark@mark-desktop:~$ lsmod | grep xhci
mark@mark-desktop:~$

i.e. lsmod did not put out anything with xhci

So what do I do?

dmtparker 01-02-2016 01:44 PM

So where is xhci supposed to be? (It should be on my system as usb 3.0 was working until the latest kernal.)
If I try modeprob, I get:

mark@mark-desktop:~$ sudo modprobe xhci
[sudo] password for mark:
modprobe: FATAL: Module xhci not found.
mark@mark-desktop:~$


OK,tried xhci_hcd and get:
mark@mark-desktop:~$ sudo modprobe -v xhci_hcd
mark@mark-desktop:~$ lsmod | grep hci
ahci 25643 2
libahci 27214 1 ahci
mark@mark-desktop:~$


so modprobe did not complain this time, but neither did it apparently load xhci_hcd. AND my 3.0 drives still are not recognized.

output from dmesg | grep xhci:
mark@mark-desktop:~$ dmesg | grep xhci
[ 0.602075] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.602079] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 0.739440] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 0.739456] xhci_hcd 0000:00:14.0: irq 56 for MSI/MSI-X
[ 0.739539] usb usb2: Manufacturer: Linux 3.13.0-74-lowlatency xhci_hcd
[ 0.741473] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.741476] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 0.741510] usb usb3: Manufacturer: Linux 3.13.0-74-lowlatency xhci_hcd
[ 1.949333] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[ 2.119258] usb 2-7: new full-speed USB device number 3 using xhci_hcd
mark@mark-desktop:~$

So I'm not sure what all this means, but I hope someone does and can help me get the 3.0 working again!

dmtparker 01-02-2016 04:41 PM

OK, this makes no sense to me, but perhaps it will to someone else. I went into the Intel Visual Bios and unchecked the UEFI option (there is no UEFI device anyway). F-10 to save and exit, boot into Ubuntu and now my usb 3.0 devices work normally. Just for the fun of it, I rebooted again. This time they are NOT working. Reboot again, this time entering Setup again. Change absolutely nothing, but exit with F-10 and the usb 3.0 devices work again! I have done this enough times to verify that it is not a fluke - If I enter Setup, exit and save, the resulting boot will recognize the 3.0 devices. If I just reboot without entering setup, the resulting boot will not recognize them?????

Now dmesg shows:
Code:

mark@mark-desktop:~$ dmesg | grep xhci
[    0.598753] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    0.598757] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    0.599822] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    0.599838] xhci_hcd 0000:00:14.0: irq 56 for MSI/MSI-X
[    0.599924] usb usb2: Manufacturer: Linux 3.13.0-74-lowlatency xhci_hcd
[    0.601878] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    0.601881] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[    0.601916] usb usb3: Manufacturer: Linux 3.13.0-74-lowlatency xhci_hcd
[    1.804047] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[    2.075865] usb 2-7: new full-speed USB device number 4 using xhci_hcd
[    2.294927] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
[  30.558560] usb 3-2: new SuperSpeed USB device number 3 using xhci_hcd
mark@mark-desktop:~$ lsusb | grep xhci
mark@mark-desktop:~$ lsmod | grep xhci
mark@mark-desktop:~$

devices are now recognized as "SuperSpeed" but lsusb and lsmod do NOT show anything with xhci??

I guess I can use this work-around to use my usb 3.0 devices, but I certainly would not consider this solved!

dmtparker 01-02-2016 08:03 PM

Well, I went to the Intel support site (which is ridiculously Windows-centric!) and finally found a bios update that seems to have solved the problem. I still have no idea what part of the update last week killed the usb 3.0 or how the bios update fixed it, but for 3 boots in a row, usb 3.0 devices are working.
For the information of anyone else with a similar problem, the bios update is: WY0041.BIO


All times are GMT -5. The time now is 10:50 PM.