mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
1642b7b3ac
The function `builtin-input_id` incorrectly identifies the ASRock LED Controller as an input device due to the presence of buttons and axis. To fix this we add a new rule in `hwdb.d/60-input-id.hwdb`. The properties have been set to empty instead of `0` because some programs might check if the value is set at all instead of checking its value, as discussed in #32773. The device has no real keys. The devices is controlled by i2c interface and some settings in UEFI, and it provides an header to connect LED strips and similar devices. I suppose it's possible that ASRock intended to connect devices with buttons for controlling LEDs to it, but: (i) the controller itself does not have key, (ii) to my knowledge no such device exists. So I think we can unset that property as well. On a sidenote, unsetting those properties does not affect the i2c interface, OpenRGB still interacts normally with the device. Fixes #32773. |
||
---|---|---|
.. | ||
.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.