1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-22 22:03:43 +03:00
Maxim Mikityanskiy fa8216e206 hwdb: Mute SW rfkill keys on MSI Wind U100
Kernel patch [1] fixed bugs in rfkill handling on MSI Wind U100. Now
that the HW rfkill reports the correct state, and the SW rfkill is
controllable from userspace, it's necessary to mute KEY_WLAN and
KEY_BLUETOOTH generated on HW rfkill state changes. Otherwise, the
userspace will react to these keys and toggle the SW rfkill as well,
which is not desired, because the user may end up with non-functional
radios if HW and SW rfkills are out of sync.

Blocking these keycodes doesn't impair user experience, because the
desktop environment can still react to HW rfkill events and act
accordingly (for example, show notifications).

While at it, use "unknown" instead of "reserved" to mute keys, to avoid
the "atkbd serio0: Unknown key pressed" flood in dmesg.

[1]: https://lore.kernel.org/all/20230721145423.161057-1-maxtram95@gmail.com/
2023-08-04 02:18:13 +09:00
..
2019-10-10 00:53:09 +01:00
2019-10-10 00:53:09 +01:00
2023-07-05 22:00:38 +02:00
2023-07-28 00:30:53 +01:00
2023-07-05 22:00:38 +02: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
2023-07-05 22:00:38 +02:00
2023-07-28 00:30:53 +01:00
2023-07-28 00:30:53 +01:00
2023-07-28 00:30:53 +01:00
2023-07-24 11:42:23 +01:00
2023-07-05 22:00:38 +02:00
2021-03-26 09:35:07 +01:00
2019-10-10 00:53:09 +01:00
2023-07-05 22:00:38 +02: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.