You are not logged in.

#1 2018-09-13 17:52:34

djsheva
Member
Registered: 2016-11-15
Posts: 4

USB Keyboard partially stopped to work after kernel update

Hi!

My USB keyboard of brand "Defender" stopped to work after recently update. It works in grub and windows (dualboot), but stop working after linux loads.

Keyboard backlight and FN keys (brightness, sound) still work properly. But other keys and caps/num/scroll lock - not.

Changing usb ports (USB2/USB3) does not affects. Other keyboards works.

I have tried to boot from current Arch installation USB stick - doesn't work too. Tried to load from Antergos live (antergos-18.9-x86_64.iso) - still doesn't work. But I have found an old Antergos live iso (about 2017 year), boot from it and my keyboard started to work again fine.

Is there a way to find out the reason and fix it?

uname -a

Linux home 4.18.6-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 5 11:54:09 UTC 2018 x86_64 GNU/Linux

lsusb

Bus 003 Device 003: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:760b Microdia 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg | grep input
I am typing using my old ps/2 keyboard. Last five lines - this was trying another usb keyboard that works fine. Topic keyboard detected as "SONiX"

[    0.399977] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    0.400015] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.564623] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    1.873888] input: PC Speaker as /devices/platform/pcspkr/input/input4
[    1.945317] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    1.962096] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    1.962151] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    1.962203] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    1.962254] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    1.962304] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    2.045734] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input11
[    2.517236] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[    2.517297] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[    2.517342] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[    3.577168] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:0C45:760B.0001/input/input15
[    3.636552] hid-generic 0003:0C45:760B.0001: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:1a.0-1.1/input0
[    3.636842] input: SONiX USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:0C45:760B.0002/input/input16
[    3.693431] input: SONiX USB Keyboard System Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:0C45:760B.0002/input/input17
[    3.693487] hid-generic 0003:0C45:760B.0002: input,hidraw1: USB HID v1.11 Device [SONiX USB Keyboard] on usb-0000:00:1a.0-1.1/input1
[    3.866988] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:0C45:760B.0002/input/input18
[    3.883048] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[    3.926897] redragon 0003:0C45:760B.0002: input,hidraw0: USB HID v1.11 Device [SONiX USB Keyboard] on usb-0000:00:1a.0-1.1/input1
[ 4365.852306] input: USB USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:1A2C:0C23.0003/input/input19
[ 4365.907267] hid-generic 0003:1A2C:0C23.0003: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-0000:00:1a.0-1.4/input0
[ 4365.909891] input: USB USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:1A2C:0C23.0004/input/input20
[ 4365.963713] input: USB USB Keyboard System Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:1A2C:0C23.0004/input/input21
[ 4365.963895] hid-generic 0003:1A2C:0C23.0004: input,hidraw2: USB HID v1.10 Device [USB USB Keyboard] on usb-0000:00:1a.0-1.4/input1

systemctl | grep udev

systemd-udev-trigger.service                                                             loaded active exited    udev Coldplug all Devices                                                             
systemd-udevd.service                                                                    loaded active running   udev Kernel Device Manager                                                            
systemd-udevd-control.socket                                                             loaded active running   udev Control Socket                                                                   
systemd-udevd-kernel.socket                                                              loaded active running   udev Kernel Socket

Offline

#2 2018-09-13 18:09:55

djsheva
Member
Registered: 2016-11-15
Posts: 4

Re: USB Keyboard partially stopped to work after kernel update

Here is envtest result

No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      Power Button
/dev/input/event1:      Power Button
/dev/input/event2:      AT Translated Set 2 keyboard
/dev/input/event3:      PC Speaker
/dev/input/event4:      HDA Intel PCH Front Mic
/dev/input/event5:      HDA Intel PCH Rear Mic
/dev/input/event6:      HDA Intel PCH Line
/dev/input/event7:      HDA Intel PCH Line Out
/dev/input/event8:      HDA Intel PCH Front Headphone
/dev/input/event9:      Eee PC WMI hotkeys
/dev/input/event10:     HDA NVidia HDMI/DP,pcm=3
/dev/input/event11:     HDA NVidia HDMI/DP,pcm=7
/dev/input/event12:     HDA NVidia HDMI/DP,pcm=8
/dev/input/event13:     SONiX USB Keyboard
/dev/input/event14:     ImExPS/2 Generic Explorer Mouse
Select the device event number [0-14]: 13
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xc45 product 0x760b version 0x111
Input device name: "SONiX USB Keyboard"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 1 (KEY_ESC)
    Event code 28 (KEY_ENTER)
    Event code 74 (KEY_KPMINUS)
    Event code 78 (KEY_KPPLUS)
    Event code 103 (KEY_UP)
    Event code 105 (KEY_LEFT)
    Event code 106 (KEY_RIGHT)
    Event code 108 (KEY_DOWN)
    Event code 113 (KEY_MUTE)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 116 (KEY_POWER)
    Event code 119 (KEY_PAUSE)
    Event code 128 (KEY_STOP)
    Event code 130 (KEY_PROPS)
    Event code 131 (KEY_UNDO)
    Event code 133 (KEY_COPY)
    Event code 134 (KEY_OPEN)
    Event code 135 (KEY_PASTE)
    Event code 136 (KEY_FIND)
    Event code 137 (KEY_CUT)
    Event code 138 (KEY_HELP)
    Event code 139 (KEY_MENU)
    Event code 140 (KEY_CALC)
    Event code 142 (KEY_SLEEP)
    Event code 143 (KEY_WAKEUP)
    Event code 144 (KEY_FILE)
    Event code 150 (KEY_WWW)
    Event code 152 (KEY_SCREENLOCK)
    Event code 155 (KEY_MAIL)
    Event code 156 (KEY_BOOKMARKS)
    Event code 158 (KEY_BACK)
    Event code 159 (KEY_FORWARD)
    Event code 161 (KEY_EJECTCD)
    Event code 163 (KEY_NEXTSONG)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 165 (KEY_PREVIOUSSONG)
    Event code 166 (KEY_STOPCD)
    Event code 167 (KEY_RECORD)
    Event code 168 (KEY_REWIND)
    Event code 169 (KEY_PHONE)
    Event code 171 (KEY_CONFIG)
    Event code 172 (KEY_HOMEPAGE)
    Event code 173 (KEY_REFRESH)
    Event code 174 (KEY_EXIT)
    Event code 177 (KEY_SCROLLUP)
    Event code 178 (KEY_SCROLLDOWN)
    Event code 181 (KEY_NEW)
    Event code 206 (KEY_CLOSE)
    Event code 207 (KEY_PLAY)
    Event code 208 (KEY_FASTFORWARD)
    Event code 209 (KEY_BASSBOOST)
    Event code 210 (KEY_PRINT)
    Event code 212 (KEY_CAMERA)
    Event code 216 (KEY_CHAT)
    Event code 217 (KEY_SEARCH)
    Event code 219 (KEY_FINANCE)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 228 (KEY_KBDILLUMTOGGLE)
    Event code 234 (KEY_SAVE)
    Event code 235 (KEY_DOCUMENTS)
    Event code 240 (KEY_UNKNOWN)
    Event code 241 (KEY_VIDEO_NEXT)
    Event code 244 (KEY_BRIGHTNESS_ZERO)
    Event code 256 (BTN_0)
    Event code 353 (KEY_SELECT)
    Event code 354 (KEY_GOTO)
    Event code 358 (KEY_INFO)
    Event code 362 (KEY_PROGRAM)
    Event code 366 (KEY_PVR)
    Event code 370 (KEY_SUBTITLE)
    Event code 372 (KEY_ZOOM)
    Event code 374 (KEY_KEYBOARD)
    Event code 376 (KEY_PC)
    Event code 377 (KEY_TV)
    Event code 378 (KEY_TV2)
    Event code 379 (KEY_VCR)
    Event code 380 (KEY_VCR2)
    Event code 381 (KEY_SAT)
    Event code 383 (KEY_CD)
    Event code 384 (KEY_TAPE)
    Event code 386 (KEY_TUNER)
    Event code 387 (KEY_PLAYER)
    Event code 389 (KEY_DVD)
    Event code 392 (KEY_AUDIO)
    Event code 393 (KEY_VIDEO)
    Event code 396 (KEY_MEMO)
    Event code 397 (KEY_CALENDAR)
    Event code 398 (KEY_RED)
    Event code 399 (KEY_GREEN)
    Event code 400 (KEY_YELLOW)
    Event code 401 (KEY_BLUE)
    Event code 402 (KEY_CHANNELUP)
    Event code 403 (KEY_CHANNELDOWN)
    Event code 405 (KEY_LAST)
    Event code 407 (KEY_NEXT)
    Event code 408 (KEY_RESTART)
    Event code 409 (KEY_SLOW)
    Event code 410 (KEY_SHUFFLE)
    Event code 412 (KEY_PREVIOUS)
    Event code 416 (KEY_VIDEOPHONE)
    Event code 417 (KEY_GAMES)
    Event code 418 (KEY_ZOOMIN)
    Event code 419 (KEY_ZOOMOUT)
    Event code 420 (KEY_ZOOMRESET)
    Event code 421 (KEY_WORDPROCESSOR)
    Event code 422 (KEY_EDITOR)
    Event code 423 (KEY_SPREADSHEET)
    Event code 424 (KEY_GRAPHICSEDITOR)
    Event code 425 (KEY_PRESENTATION)
    Event code 426 (KEY_DATABASE)
    Event code 427 (KEY_NEWS)
    Event code 428 (KEY_VOICEMAIL)
    Event code 429 (KEY_ADDRESSBOOK)
    Event code 430 (KEY_MESSENGER)
    Event code 431 (KEY_DISPLAYTOGGLE)
    Event code 432 (KEY_SPELLCHECK)
    Event code 433 (KEY_LOGOFF)
    Event code 439 (KEY_MEDIA_REPEAT)
    Event code 442 (KEY_IMAGES)
    Event code 576 (KEY_BUTTONCONFIG)
    Event code 577 (KEY_TASKMANAGER)
    Event code 578 (KEY_JOURNAL)
    Event code 579 (KEY_CONTROLPANEL)
    Event code 580 (KEY_APPSELECT)
    Event code 581 (KEY_SCREENSAVER)
    Event code 582 (KEY_VOICECOMMAND)
    Event code 592 (KEY_BRIGHTNESS_MIN)
    Event code 593 (KEY_BRIGHTNESS_MAX)
  Event type 2 (EV_REL)
    Event code 6 (REL_HWHEEL)
  Event type 3 (EV_ABS)
    Event code 32 (ABS_VOLUME)
      Value      0
      Min        0
      Max      572
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)

Offline

#3 2018-09-13 18:30:19

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: USB Keyboard partially stopped to work after kernel update

https://www.spinics.net/lists/linux-input/msg57644.html
Edit:
Should be fixed by https://git.kernel.org/pub/scm/linux/ke … 3b909fd44d queued for 4.18.8

Last edited by loqs (2018-09-13 18:34:59)

Offline

#4 2018-09-13 20:02:17

djsheva
Member
Registered: 2016-11-15
Posts: 4

Re: USB Keyboard partially stopped to work after kernel update

Thank you a lot!

Offline

Board footer

Powered by FluxBB