You are not logged in.

#1 2018-11-20 12:41:37

Atari
Member
Registered: 2016-04-20
Posts: 35

[SOLVED] Dell XPS 15 9570, Dock TB16, USB peripherals not working

I've connected a keyboard and a mouse, both USB, to the docking station. After a while (30 secs, 1 minute, it varies), they stop completely to work. Replugging the devices to the same USB port in the docking station, the peripherals will continue to not work. However, when replugging them to a different usb port, they restart to work, but again, only for a limited time. There have been several threads related to the xHCI controller, like this and this, but it seems a different issue, as I don't see those outputs in dmesg.

dmesg log: http://ix.io/1tHB

[  121.908917] usb 3-1.7: new high-speed USB device number 7 using xhci_hcd
[  122.039589] usb 3-1.7: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[  122.039597] usb 3-1.7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  122.090192] hub 3-1.7:1.0: USB hub found
[  122.090353] hub 3-1.7:1.0: 4 ports detected
[  122.455586] usb 3-1.7.1: new low-speed USB device number 8 using xhci_hcd
[  122.619001] usb 3-1.7.1: New USB device found, idVendor=045e, idProduct=07f8, bcdDevice= 3.00
[  122.619008] usb 3-1.7.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  122.619012] usb 3-1.7.1: Product: Wired Keyboard 600
[  122.619016] usb 3-1.7.1: Manufacturer: Microsoft
[  122.713228] input: Microsoft Wired Keyboard 600 as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.7/3-1.7.1/3-1.7.1:1.0/0003:045E:07F8.0005/input/input30
[  122.769848] hid-generic 0003:045E:07F8.0005: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-0000:0a:00.0-1.7.1/input0
[  122.778506] input: Microsoft Wired Keyboard 600 Consumer Control as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.7/3-1.7.1/3-1.7.1:1.1/0003:045E:07F8.0006/input/input31
[  122.832551] input: Microsoft Wired Keyboard 600 System Control as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.7/3-1.7.1/3-1.7.1:1.1/0003:045E:07F8.0006/input/input32
[  122.832928] hid-generic 0003:045E:07F8.0006: input,hidraw2: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-0000:0a:00.0-1.7.1/input1
[  122.922415] usb 3-1.7.2: new full-speed USB device number 9 using xhci_hcd
[  123.186972] usb 3-1.7.2: New USB device found, idVendor=1532, idProduct=001c, bcdDevice= 1.00
[  123.186973] usb 3-1.7.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  123.186975] usb 3-1.7.2: Product: Razer Abyssus
[  123.186976] usb 3-1.7.2: Manufacturer: Razer 
[  123.241015] input: Razer  Razer Abyssus as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.7/3-1.7.2/3-1.7.2:1.0/0003:1532:001C.0007/input/input33
[  123.241130] hid-generic 0003:1532:001C.0007: input,hidraw3: USB HID v1.11 Mouse [Razer  Razer Abyssus] on usb-0000:0a:00.0-1.7.2/input0

Any idea how to debug this issue?

Last edited by Atari (2018-11-20 17:30:56)

Offline

#2 2018-11-20 13:04:01

Atari
Member
Registered: 2016-04-20
Posts: 35

Re: [SOLVED] Dell XPS 15 9570, Dock TB16, USB peripherals not working

Just a quick info, writing "on" in /sys/bus/devices/[usb port number]/power/control allowed the device to resume, but again only for 2 seconds. Now it's frozen again hmm

Offline

#3 2018-11-20 17:30:30

Atari
Member
Registered: 2016-04-20
Posts: 35

Re: [SOLVED] Dell XPS 15 9570, Dock TB16, USB peripherals not working

I've resolved the issue by simply installing laptop-mode-tools. I suspect it's due to the default configuration of /etc/laptop-mode/conf.d/runtime-pm.conf, it automatically disables autosuspend mode for any USB hubs:

# The list of 'device driver types' or 'device types' that should not use autosuspend.
# The driver type is given by "DRIVER=..." in a device's uevent file.
# The driver type is given by "DEVTYPE=..." in a device's uevent file.
# Example: AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="sd hub usbhid usb-storage"

Last edited by Atari (2018-11-20 17:31:51)

Offline

Board footer

Powered by FluxBB