mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
The Toshiba Z830 has 3 hotkeys which use the ACPI PNP0C32 quickstart spec: https://archive.org/details/microsoft-acpi-dirapplaunch These devices have an ACPI method called GHID() which suggests it returns a value from the "HID Usage Tables" document, but these methods simple returns a follow number for the button (1, 2 and 3). The first 2 buttons are for what the manual calls "TOSHIBA eco button" and "TOSHIBA Presentation button", since there is no good match for these simply map them to KEY_PROG1 and KEY_PROG2. The third button is intended to toggle the touchpad on/off, map this to F21 which GNOME/KDE will interpret as touchpad toggle.
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.