You are not logged in.

#1 2018-03-29 23:36:57

SilverMight
Member
Registered: 2017-11-20
Posts: 25

USB hotplugging not working

Booting the system with a USB storage device plugged in works fine, however removing it and plugging it back in after boot doesn't pick up the device at all (checked in fdisk and lsblk).
Checking dmesg shows this error:

[   60.151320] xhci_hcd 0000:00:14.0: Cannot set link state.
[   60.151333] usb usb2-port1: cannot disable (err = -32)
[   60.151350] usb 2-1: USB disconnect, device number 2

Looking this up suggested to me that I should enable IOMMU, however this did not help at all. This only occurs using the stock linux kernel + linux-ck, however linux-lts seems to work fine (it still outputs the same error in dmesg, though)

Here's my full dmesg: https://ptpb.pw/Sr5W

Thanks for any help.

Offline

#2 2018-03-30 02:28:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: USB hotplugging not working

There are certain sticks that have issues with the blk_mq schedulers during hotplug, which is also the stacktrace at the end of your dmesg

See https://bugs.archlinux.org/task/57496 and https://bbs.archlinux.org/viewtopic.php?id=234070 as well

Last edited by V1del (2018-03-30 02:30:24)

Offline

#3 2018-03-30 15:20:33

SilverMight
Member
Registered: 2017-11-20
Posts: 25

Re: USB hotplugging not working

Although I still get the error in dmesg, disabling a udev rule to change the scheduler of the devices seemed to work. Thanks!

Offline

Board footer

Powered by FluxBB