You are not logged in.
I have a config swapping Caps Lock and Backspace at
/etc/udev/hwdb.d/61-keyboard.hwdb
, which works nicely for external Ducky keyboard, but not for Dell Inspiron 7567 own keyboard.
// laptop keyboard
evdev:input:b0011v0001p0001eab41*
KEYBOARD_KEY_3a=backspace
KEYBOARD_KEY_0e=capslock
// external keyboard
evdev:input:b0003v0416p0123e0110*
KEYBOARD_KEY_70039=backspace
KEYBOARD_KEY_7002a=capslock
evtest for device 4 at least responds to laptop keyboard press events:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event2: Sleep Button
/dev/input/event3: Power Button
/dev/input/event4: AT Translated Set 2 keyboard
/dev/input/event5: Intel HID events
/dev/input/event6: PC Speaker
/dev/input/event7: Dell WMI hotkeys
/dev/input/event8: C-Media Electronics Inc. Bloody Gaming Audio Device Consumer Control
/dev/input/event9: COMPANY USB Device
/dev/input/event10: COMPANY USB Device
/dev/input/event11: COMPANY USB Device Keyboard // tried this as well, no success
/dev/input/event12: COMPANY USB Device System Control
/dev/input/event13: COMPANY USB Device Consumer Control
/dev/input/event14: COMPANY USB Device
/dev/input/event15: DLL0797:01 06CB:7E92 Mouse
/dev/input/event16: DLL0797:01 06CB:7E92 Touchpad
/dev/input/event17: Video Bus
/dev/input/event18: Video Bus
/dev/input/event19: HDA Digital PCBeep
/dev/input/event20: HDA Intel PCH Headphone Mic
/dev/input/event21: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event22: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event23: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event24: HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event25: HDA Intel PCH HDMI/DP,pcm=10
/dev/input/event26: Integrated_Webcam_HD: Integrate
$ grep "" /sys/class/input/event4/device/id/*
/sys/class/input/event4/device/id/bustype:0011
/sys/class/input/event4/device/id/product:0001
/sys/class/input/event4/device/id/vendor:0001
/sys/class/input/event4/device/id/version:ab41
Last edited by andrhua (2020-09-26 16:08:55)
Offline
Have you tried reloading the udev rules after boot completed ?
Not a (good) solution, but if then functions okay, surely helps a bit.
I guess you could also try bigger number than 61 for that rule.
Last edited by euromatlox (2020-09-26 19:33:44)
Offline