Hi,
i’ve noticed that my usb-keyboard is not working in 4.19…lsusb shows it, but i cannot write on fbdev-console…generic HID and usb-hid is activated
dmesg reports it like this:
[ 208.393513] evbug: Connected device: input18 (USB USB Keykoard System Control at usb-1a240000.usb-1/input1)
[ 208.394228] hid-generic 0003:1C4F:0002.000C: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-1a240000.usb-1/input1
but i cannot switch num-lock on/off or write anything
when running “dmesg -w” i see that keyboard is disconnected every time i type anything on it…strange…
log on keydown
[ 77.292068] usb 1-1: USB disconnect, device number 2
[ 77.292068] usb 1-1: USB disconnect, device number 2
[ 77.472554] evbug: Disconnected device: input0
[ 77.472554] evbug: Disconnected device: input0
[ 77.632390] evbug: Disconnected device: input1
[ 77.632390] evbug: Disconnected device: input1
[ 77.773255] evbug: Disconnected device: input2
[ 77.773255] evbug: Disconnected device: input2
[ 78.342590] usb 1-1: new low-speed USB device number 3 using xhci-mtk
[ 78.342590] usb 1-1: new low-speed USB device number 3 using xhci-mtk
[ 78.545576] input: USB USB Keykoard as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.0/0003:1C4F:0002.0003/input/input4
[ 78.545576] input: USB USB Keykoard as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.0/0003:1C4F:0002.0003/input/input4
[ 78.627589] evbug: Connected device: input4 (USB USB Keykoard at usb-1a1c0000.usb-1/input0)
[ 78.636266] hid-generic 0003:1C4F:0002.0003: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-1a1c0000.usb-1/input0
[ 78.627589] evbug: Connected device: input4 (USB USB Keykoard at usb-1a1c0000.usb-1/input0)
[ 78.655044] input: USB USB Keykoard Consumer Control as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.1/0003:1C4F:0002.0004/input/input5
[ 78.636266] hid-generic 0003:1C4F:0002.0003: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-1a1c0000.usb-1/input0
[ 78.655044] input: USB USB Keykoard Consumer Control as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.1/0003:1C4F:0002.0004/input/input5
[ 78.734340] evbug: Connected device: input5 (USB USB Keykoard Consumer Control at usb-1a1c0000.usb-1/input1)
[ 78.746118] input: USB USB Keykoard System Control as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.1/0003:1C4F:0002.0004/input/input6
[ 78.734340] e[ 78.760069] evbug: Connected device: input6 (USB USB Keykoard System Control at usb-1a1c0000.usb-1/input1)
vbug: Connected [ 78.770893] hid-generic 0003:1C4F:0002.0004: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-1a1c0000.usb-1/inpu
t1
device: input5 (USB USB Keykoard Consumer Control at usb-1a1c0000.usb-1/input1)
[ 78.746118] input: USB USB Keykoard System Control as /devices/platform/1a1c0000.usb/usb1/1-1/1-1:1.1/0003:1C4F:0002.0004/input/input6
[ 78.760069] evbug: Connected device: input6 (USB USB Keykoard System Control at usb-1a1c0000.usb-1/input1)
[ 78.770893] hid-generic 0003:1C4F:0002.0004: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-1a1c0000.usb-1/input1
same issue with 4.18.1 and 4.17.3 but not with 4.16.14 and 4.14.66
@moore @Ryder.Lee @linkerosa @Jackzeng is there any change in usb-driver/mtk_xhci? drivers/usb/host/xhci-mtk.c seems to be completely rewritten in 4.17
here the hcd is introduced: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.17-rc1&id=07dbff0ddbd86c08c42088e9f996c2650095d684
maybe some changes to dts are needed?? tested all patches i’ve found on patchwork, but problem stays the same…usb-storage (stick) not affected by this…seems to only affect low-speed-device / keyboard