You are not logged in.

#1 2017-06-15 15:35:21

Adiq
Member
Registered: 2017-06-15
Posts: 1

USB keyboard sometimes not detected after boot

Hi,

I just installed Arch with GRUB on EFI partition. My keyboard is Corsair Strafe RGB.

If keyboard is detected correctly after boot I get "usbhid 1-1:1.2: couldn't find an input interrupt endpoint" error.

hidraw: raw HID events driver (C) Jiri Kosina
usbhid 1-1:1.2: couldn't find an input interrupt endpoint
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: Corsair Corsair STRAFE RGB Gaming Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:1B1C:1B20.0001/input/input0
hid-generic 0003:1B1C:1B20.0001: input,hidraw0: USB HID v1.11 Keyboard [Corsair Corsair STRAFE RGB Gaming Keyboard] on usb-0000:00:14.0-1/input0
input: Corsair Corsair STRAFE RGB Gaming Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:1B1C:1B20.0002/input/input1
hid-generic 0003:1B1C:1B20.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Corsair Corsair STRAFE RGB Gaming Keyboard] on usb-0000:00:14.0-1/input1

But sometimes keyboard is not detected, I get "usb 1-1: can't set config #1, error -110" error and there's also "usb: port power management may be unreliable" message:

kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
kernel: xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00109810
kernel: xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
kernel: hub 1-0:1.0: USB hub found
kernel: hub 1-0:1.0: 16 ports detected
kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
kernel: hub 2-0:1.0: USB hub found
kernel: hub 2-0:1.0: 10 ports detected
kernel: i8042: PNP: No PS/2 controller found.
kernel: usb: port power management may be unreliable
kernel: usb 1-1: can't set config #1, error -110
kernel: usb 1-7: new full-speed USB device number 3 using xhci_hcd
kernel: usb 1-8: new high-speed USB device number 4 using xhci_hcd
kernel: usb 1-10: new full-speed USB device number 5 using xhci_hcd
kernel: usb 1-12: new high-speed USB device number 6 using xhci_hcd
mtp-probe[286]: checking bus 1, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
mtp-probe[288]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8"
mtp-probe[289]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12"
mtp-probe[287]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7"
mtp-probe[288]: bus: 1, device: 4 was not an MTP device
mtp-probe[287]: bus: 1, device: 3 was not an MTP device
mtp-probe[286]: bus: 1, device: 2 was not an MTP device
mtp-probe[290]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10"
mtp-probe[290]: bus: 1, device: 5 was not an MTP device
mtp-probe[289]: bus: 1, device: 6 was not an MTP device
systemd[1]: Reached target Printer.
kernel: usb-storage 1-8:1.0: USB Mass Storage device detected
kernel: usblp 1-12:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x02FD
kernel: usbcore: registered new interface driver usblp
kernel: usbcore: registered new interface driver usbhid
kernel: usbhid: USB HID core driver
kernel: input: Samson Technologies Samson C01U Pro Mic as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.3/0003:17A0:0303.0001/input/input16
kernel: scsi host6: usb-storage 1-8:1.0
kernel: usbcore: registered new interface driver usb-storage
kernel: usbcore: registered new interface driver uas
kernel: usbcore: registered new interface driver snd-usb-audio
kernel: hid-generic 0003:17A0:0303.0001: input,hidraw0: USB HID v1.00 Device [Samson Technologies Samson C01U Pro Mic] on usb-0000:00:14.0-7/input3
kernel: input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:046D:C332.0002/input/input17
kernel: hid-generic 0003:046D:C332.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:00:14.0-10/input0
kernel: input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:046D:C332.0003/input/input18
kernel: hid-generic 0003:046D:C332.0003: input,hiddev0,hidraw2: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:00:14.0-10/input1
kernel: mousedev: PS/2 mouse device common for all mice
systemd[1]: Started udev Wait for Complete Device Initialization.

Other USB devices like mouse are detected correctly, so how can I fix it for keyboard?

Offline

#2 2017-06-16 05:02:46

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

Re: USB keyboard sometimes not detected after boot

The

kernel: usb: port power management may be unreliable

error is explained succinctly here: https://unix.stackexchange.com/question … ually-mean

First, did you made certain that particular model of Corsair keyboard is supported? You also have a shit load of USB ports and it looks like several of them are USB 3.0 (xHCI). Check your BIOS settings for ways to disable XHCI handoff, or just disable USB 3 altogether until you narrow down the issue. Eliminate the USB 3 ports, move the keyboard to different USB 2 ports, try different configurations if you have several USB devices, etc. Also make sure your PSU is capable of supporting everything you have setup and plugged in.

Start here and read the issues and README files, etc (this is the AUR package source):

https://github.com/mattanger/ckb-next

Offline

#3 2017-06-16 05:13:26

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

Re: USB keyboard sometimes not detected after boot

Also, this sounds right in the ballpark. Might be a firmware issue, but don't worry about that until you eliminated driver and HUB and power issues. "lsusb" and "lsmod" can help quite a bit here.

https://github.com/ccMSC/ckb/issues/298

Offline

#4 2017-06-16 06:45:44

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: USB keyboard sometimes not detected after boot

in my experience those lit up keyboards are too much for older hardware to power, are you using a USB 1 port in an old tower?

Offline

#5 2017-06-16 07:17:06

nannerpussy
Member
Registered: 2017-02-15
Posts: 96

Re: USB keyboard sometimes not detected after boot

HiImTye wrote:

in my experience those lit up keyboards are too much for older hardware to power, are you using a USB 1 port in an old tower?

Forgot to mention those particular Corsair keyboards also have their own USB (possibly 3) port as well. Possibly a micro SD slot as well for alternative profile storage, but not sure on that. They are really nice mechanical gaming hardcore keyboards, I almost bought one last year.

Edit: Just saw your city. I'm from Northern CA, but I had a crazy ass road trip end in Nanaimo when I was 18, slept on the floor of this girl I met on IRC. Loved BC, loved that island.

Last edited by nannerpussy (2017-06-16 08:32:56)

Offline

Board footer

Powered by FluxBB