systemd/hwdb.d
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
..
.gitattributes Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
.gitignore Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-acpi-vendor.hwdb hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
20-acpi-vendor.hwdb.patch hwdb: run update-hwdb 2023-07-28 00:30:53 +01:00
20-bluetooth-vendor-product.hwdb hwdb: Update database of Bluetooth company identifiers 2020-04-05 10:01:14 +02:00
20-dmi-id.hwdb udev/rules,hwdb: filter out mostly meaningless default strings 2022-09-06 03:38:09 +09:00
20-net-ifname.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-OUI.hwdb hwdb: run update-hwdb 2023-07-28 00:30:53 +01:00
20-pci-classes.hwdb hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
20-pci-vendor-model.hwdb hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
20-sdio-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-sdio-vendor-model.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-vendor-model.hwdb hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
20-vmbus-class.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
60-autosuspend-fingerprint-reader.hwdb update hwdb autosuspend data for v254 2023-07-05 23:18:16 +02:00
60-autosuspend.hwdb tree-wide: link to docs.kernel.org for kernel documentation 2022-07-04 19:56:53 +02:00
60-evdev.hwdb Hwdb: Add Sanwa Direct 400-MA128 external trackpad (#28272) 2023-07-06 11:42:33 +01:00
60-input-id.hwdb hwdb: drop boilerplate about match patterns being unstable 2022-04-06 23:16:39 +09:00
60-keyboard.hwdb hwdb: Mute SW rfkill keys on MSI Wind U100 2023-08-04 02:18:13 +09:00
60-seat.hwdb login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag 2021-07-05 11:56:10 +02:00
60-sensor.hwdb hwdb: add support for Archos 101 Cesium to 60-sensor.hwdb (#28270) 2023-07-06 18:39:28 +08:00
70-analyzers.hwdb hwdb: Add Greaseweazle "drives" to the list of analyzers 2022-08-09 18:12:19 +02:00
70-av-production.hwdb hwdb: add support for Elgato Stream Deck mini (gen 2) 2023-06-01 02:36:49 +09:00
70-cameras.hwdb hwdb: Tag IR cameras as such 2021-10-27 00:14:41 +02:00
70-joystick.hwdb hwdb: drop boilerplate about match patterns in two more cases 2023-03-25 03:11:23 +09:00
70-mouse.hwdb Add alternate name for MX Ergo as found on some devices 2023-07-12 23:50:35 +01:00
70-pda.hwdb hwdb: add HP calculators 2022-02-04 11:01:20 +09:00
70-pointingstick.hwdb hwdb: drop POINTINGSTICK_CONST_ACCEL 2023-07-12 01:49:59 +02:00
70-sound-card.hwdb hwdb: Add override for headset form-factors 2023-07-02 15:55:24 +01:00
70-touchpad.hwdb hwdb: drop redundant entry 2023-03-26 19:01:49 +08:00
80-ieee1394-unit-function.hwdb hwdb: ieee1394-unit-function: add MOTU 896 mk3 Hybrid 2023-02-06 11:53:25 +09:00
acpi-update.py licensing: add two missing spdx headers 2021-10-18 09:04:45 +02:00
acpi_id_registry.html hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
ids_parser.py hwdb: make sure "ninja update-hwdb" works on f35 2022-04-28 17:42:25 +02:00
ma-large.txt hwdb: run update-hwdb 2023-07-28 00:30:53 +01:00
ma-medium.txt hwdb: run update-hwdb 2023-07-28 00:30:53 +01:00
ma-small.txt hwdb: run update-hwdb 2023-07-28 00:30:53 +01:00
meson.build Drop split-usr and unmerged-usr support 2023-07-28 19:34:03 +01:00
parse_hwdb.py hwdb: drop POINTINGSTICK_CONST_ACCEL 2023-07-12 01:49:59 +02:00
pci.ids hwdb: run update-hwdb 2023-07-24 11:42:23 +01:00
pnp_id_registry.html hwdb update for v246-rc1 2023-07-05 22:00:38 +02:00
README Add READMEs in all .d directories 2021-03-26 09:35:07 +01:00
sdio.ids Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
usb.ids hwdb update for v246-rc1 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.