You are not logged in.

#1 2015-01-28 15:43:31

sharX
Member
Registered: 2013-05-03
Posts: 14

[SOLVED] USB3 not working on laptop

Hey Guys,

recently I realised that my USB3-Ports weren't working any more. So I checked what dmesg tells me: nothing. Absolutly nothing.
I guess the kernel itself can't even find anything on the USB3 bus, since dmesg is empty.
xhci_hcd and usbcore drivers are loaded. lsusb tells me that there is an usb-hub 3.0.

I googled a bit, but did'nt find anything that could help me in any way.

What can I do? Maybe a hardware issue?
I got the Lenovo e135 with 3.14.25-1-lts kernel.

thanks

Last edited by sharX (2015-01-29 16:25:37)

Offline

#2 2015-01-28 16:30:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,655

Re: [SOLVED] USB3 not working on laptop

Are you running the kernel you think you are running?

Check the output of uname -a and note the version of the kernel that is running.
Check the output of pacman -Qi linux and note the installed version.  Ensure the versions are the same.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-01-28 17:47:54

sharX
Member
Registered: 2013-05-03
Posts: 14

Re: [SOLVED] USB3 not working on laptop

Are you running the kernel you think you are running?

Yes. Package 'linux-lts' is installed and I am using it.

I always write the grub.cfg myself. Don't like this grub-mkconfig tool.
But I'll try the kernel from the linux package and not the LTS kernel.

UPDATE: I tried the Kernel 3.17.3-1-ARCH. And here the USB3 ports are working perfectly?!
I thought the LTS version should work smoother than the mainline kernels. I had some issues with
the mainline kernel, because sometimes it won't load the second cpu core. I got a "CPU not responding" message.
I couldn't find a solution for this cpu issue. So I tried the LTS kernel. Since then linux uses all two cpu cores.

Last edited by sharX (2015-01-28 18:42:54)

Offline

#4 2015-01-28 18:08:30

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [SOLVED] USB3 not working on laptop

Check the BIOS and auto-suspend setting.
You may find information doing like this

$ find /sys/devices/ -iname 'usb3*'

Then for each /sys/devices/.../usb3-port? you may try

$ udevadm info -a -p /sys/devices/.../usb3-port?

? stands for a number of the port.
If you have these results then the problem is somewhere else.


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2015-01-28 18:40:58

sharX
Member
Registered: 2013-05-03
Posts: 14

Re: [SOLVED] USB3 not working on laptop

I switched back to the LTS kernel, made a full system upgrade and the usb3 ports are still not working.

LTS kernel: 3.14.29-1-lts

$ find /sys/devices/ -iname 'usb3*'
/sys/devices/pci0000:00/0000:00:12.0/usb3

$ udevadm info -a -p /sys/devices/pci0000:00:12.0/usb3/usb3-port?

Those usb3-port files don't exist, so I suppose that linux can't manage to use it somehow.

Offline

#6 2015-01-28 20:22:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,655

Re: [SOLVED] USB3 not working on laptop

Perhaps the LTS kernel source has the drivers but they are not configured to be built as modules (just guessing).  Compare the output of lsmod for the two kernels and see which module is missing on LTS.  See if the configuration on LTS has those drivers enabled as modules.  To see the configuration of the running kernel, use zcat /proc/config.gz
You might try diff'ing the kernel LTS and mainline configurations and see what is different.  That may or may not work well depending on how much the main line kernel has diverged since the LTS version.

If it is a matter of a missing module, we can fix that smile

Last edited by ewaller (2015-01-28 20:23:21)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2015-01-29 16:25:17

sharX
Member
Registered: 2013-05-03
Posts: 14

Re: [SOLVED] USB3 not working on laptop

Perhaps the LTS kernel source has the drivers but they are not configured to be built as modules (just guessing).  Compare the output of lsmod for the two kernels and see which module is missing on LTS.  See if the configuration on LTS has those drivers enabled as modules.  To see the configuration of the running kernel, use zcat /proc/config.gz
You might try diff'ing the kernel LTS and mainline configurations and see what is different.  That may or may not work well depending on how much the main line kernel has diverged since the LTS version.

If it is a matter of a missing module, we can fix that smile

Thanks for the great support, but I'll think I stick with the mainline kernel. 'Don't touch a running system.'    big_smile

Last edited by sharX (2015-01-29 16:26:22)

Offline

#8 2015-01-30 00:07:47

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [SOLVED] USB3 not working on laptop

sharX wrote:
$ udevadm info -a -p /sys/devices/pci0000:00:12.0/usb3/usb3-port?

Those usb3-port files don't exist, so I suppose that linux can't manage to use it somehow.

Definetely the last character was a number, like the one you found. I put ? as a mark. I don't know your hardware to tell you that number smile

Last edited by TheSaint (2015-01-31 09:10:51)


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB