You are not logged in.

#1 2014-10-23 16:04:12

pheerai
Member
Registered: 2014-07-26
Posts: 10
Website

[Solved] Linux 3.17 usb issues

After updating to Linux 3.17.1, USB completely stops working.

Using lsusb, the kernel seems to detect the root hubs, but added devices (I've tested several ones) don't show up, nor does dmesg tell anything about added devices like it usually does.

I own a ThinkPad SL510.

By now, I solved the issue by downgrading to Version 3.16.4, but I think that one is still affected by the i915-bug.

==== EDIT ====

Things got even weirder:
All devices that are present at boot-time get detected properly, USB fails at the moment the first one gets added or removed.

==== EDIT/SOLUTION ====

OK, I think I got it.

Point 1: After a BIOS update, the system recognized some USB devices after quite a long time (sometimes ~10sec).

Point 2: So I disabled some Powersaving-Rules using powertop and found out that the UDEV-Rule

#ACTION=="add", SUBSYSTEM=="pci", ATTR{power/control}="auto"

which I got from the wiki, messes with my USB-Subsystem and somehow disturbs USB HotPlug-Detection. I think this is quite weird, as everything works under 3.16.4 and previous.
I would be glad for any recommendations on how to modify above rule to NOT affect my USB-EHCI/UHCI-Controllers.

Last edited by pheerai (2014-10-28 20:24:40)

Offline

#2 2014-10-23 18:18:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Linux 3.17 usb issues

Did you reboot after updating the kernel?

linux 3.17 and usb drives work for me.

Last edited by karol (2014-10-23 18:19:21)

Offline

#3 2014-10-24 06:33:13

pheerai
Member
Registered: 2014-07-26
Posts: 10
Website

Re: [Solved] Linux 3.17 usb issues

Yes, I did several times.

At boottime, the usb-sybsystem seems to initialize nicely:

Okt 24 08:11:01 oliver kernel: usbcore: registered new interface driver usbfs
Okt 24 08:11:01 oliver kernel: usbcore: registered new interface driver hub
Okt 24 08:11:01 oliver kernel: usbcore: registered new device driver usb
Okt 24 08:11:01 oliver kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Okt 24 08:11:01 oliver kernel: uhci_hcd: USB Universal Host Controller Interface driver
Okt 24 08:11:01 oliver kernel: uhci_hcd 0000:00:1a.0: UHCI Host Controller
Okt 24 08:11:01 oliver kernel: uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1
Okt 24 08:11:01 oliver kernel: uhci_hcd 0000:00:1a.0: detected 2 ports
Okt 24 08:11:01 oliver kernel: uhci_hcd 0000:00:1a.0: irq 16, io base 0x00001820
Okt 24 08:11:01 oliver kernel: sdhci-pci 0000:02:00.0: SDHCI controller found [197b:2382] (rev 0)
Okt 24 08:11:01 oliver kernel: hub 1-0:1.0: USB hub found
Okt 24 08:11:01 oliver kernel: hub 1-0:1.0: 2 ports detected

My hooks are "base udev usr autodetect encrypt lvm2 modconf block filesystems keyboard fsck shutdownbase udev usr autodetect encrypt lvm2 modconf block filesystems keyboard fsck shutdown", some of them needed because I have an dm-encrypted LVM.

I also tried reinstalling several packages: systemd, linux, linux-firmware.

(Sorry for the bad information, usually I know how to write bug-reports, but in this case I'm blind as a bat. I still even don't know whether it's a kernel-, systemd-udev- or firmware problem)

Offline

#4 2014-10-28 20:24:22

pheerai
Member
Registered: 2014-07-26
Posts: 10
Website

Re: [Solved] Linux 3.17 usb issues

OK, I think I got the problem. EDIT in first post for "solution" or at least the reason.

Offline

Board footer

Powered by FluxBB