mirror of
https://github.com/systemd/systemd.git
synced 2024-12-11 19:23:37 +08:00
5ccd8ab263
The laptop JP-IK LEAP W502 has touchpad toggle key (Fn+F9), but it does not work. Because, the scancode maps to a wrong key code: Event: time 1715846095.224900, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9d Event: time 1715846095.224900, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 1 Event: time 1715846095.224900, -------------- SYN_REPORT ------------ Event: time 1715846095.230985, type 4 (EV_MSC), code 4 (MSC_SCAN), value db Event: time 1715846095.230985, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1 Event: time 1715846095.230985, -------------- SYN_REPORT ------------ Event: time 1715846095.232903, type 4 (EV_MSC), code 4 (MSC_SCAN), value 76 Event: time 1715846095.232903, type 1 (EV_KEY), code 85 (KEY_ZENKAKUHANKAKU), value 1 Event: time 1715846095.232903, -------------- SYN_REPORT ------------ Map the scancode 76 to KEY_F21 to enable the touchpad toggle key. |
||
---|---|---|
.. | ||
.gitattributes | ||
.gitignore | ||
20-acpi-vendor.hwdb | ||
20-acpi-vendor.hwdb.patch | ||
20-bluetooth-vendor-product.hwdb | ||
20-dmi-id.hwdb | ||
20-net-ifname.hwdb | ||
20-OUI.hwdb | ||
20-pci-classes.hwdb | ||
20-pci-vendor-model.hwdb | ||
20-sdio-classes.hwdb | ||
20-sdio-vendor-model.hwdb | ||
20-usb-classes.hwdb | ||
20-usb-vendor-model.hwdb | ||
20-vmbus-class.hwdb | ||
60-autosuspend-fingerprint-reader.hwdb | ||
60-autosuspend.hwdb | ||
60-evdev.hwdb | ||
60-input-id.hwdb | ||
60-keyboard.hwdb | ||
60-seat.hwdb | ||
60-sensor.hwdb | ||
70-analyzers.hwdb | ||
70-av-production.hwdb | ||
70-cameras.hwdb | ||
70-joystick.hwdb | ||
70-mouse.hwdb | ||
70-pda.hwdb | ||
70-pointingstick.hwdb | ||
70-sound-card.hwdb | ||
70-touchpad.hwdb | ||
80-ieee1394-unit-function.hwdb | ||
82-net-auto-link-local.hwdb | ||
acpi_id_registry.csv | ||
acpi-update.py | ||
ids_parser.py | ||
ma-large.txt | ||
ma-medium.txt | ||
ma-small.txt | ||
meson.build | ||
parse_hwdb.py | ||
pci.ids | ||
pnp_id_registry.csv | ||
README | ||
sdio.ids | ||
usb.ids |
Files in this directory specify a description of hardware devices, in the form of mappings from modalias-like keys (which identify specific hardware devices) to udev properties. Files in this directory are not read by udev directly. Instead, man:systemd-hwdb(8) compiles them into a binary database. See man:hwdb(7) for an overview of the configuration file format, and man:systemd-udevd.service(8) for a description of the udev daemon. Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.