1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-08 09:57:41 +03:00
Jian-Hong Pan 5ccd8ab263 hwdb: Enable JP-IK LEAP W502's touchpad toggle key
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.
2024-05-17 14:24:20 +09:00
..
2019-10-10 00:53:09 +01:00
2019-10-10 00:53:09 +01:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2023-07-05 22:00:38 +02:00
2024-05-14 17:00:29 +01:00
2023-11-14 21:20:45 +00:00
2021-10-27 00:14:41 +02:00
2022-02-04 11:01:20 +09:00
2023-03-26 19:01:49 +08:00
2024-04-17 16:23:51 +02:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2024-05-14 17:00:29 +01:00
2021-03-26 09:35:07 +01:00
2019-10-10 00:53:09 +01:00
2024-03-21 15:29:48 +09:00

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.