Commit Graph
973 Commits
Author SHA1 Message Date
Luca Boccassi 3b3bec1abe Update hwdb autosuspend rules
ninja -C build update-hwdb-autosuspend
2026-05-18 12:17:23 +01:00
Luca Boccassi b6e160232c Update hwdb
ninja -C build update-hwdb
2026-05-18 12:16:44 +01:00
Jörg Behrmann f4fcd5cfad hwdb/ids_parser: make text_eol a proper function 2026-05-18 09:41:22 +09:00
Yu Watanabe 9b768b5bf5 Apply "ruff format" and "ruff check --fix" for all python scripts (#40758) 2026-05-18 07:26:11 +09:00
RiskoZS 4b2a88fe07 hwdb: Add keymap for Lenovo 15IRX9 (#42141)
This adds a mapping for the Fn+F9 key (used to launch Lenovo Vantage
on Windows) on the Lenovo LOQ 15IRX9 gaming laptop.
2026-05-18 05:28:52 +09:00
Yu Watanabe 4fa9302fa4 hwdb/parse_hwdb: apply "ruff format" and "ruff check --fix" 2026-05-18 02:44:40 +09:00
Yu Watanabe 1c98dff834 hwdb/ids_parser: apply "ruff format" and "ruff check --fix" 2026-05-18 02:32:42 +09:00
Yu Watanabe a3dc3dc61b hwdb/acpi-update: apply "ruff format" 2026-05-18 02:32:42 +09:00
drhydroxide 1f4052a2f2 60-sensor.hwdb iio/accel fix for Advan Evo-X 13 (#42037)
Added fix for Advan Evo-X 13 2-in-1 laptop

Relevant output of `udevadm info --export-db`
```
P: /devices/pci0000:00/0000:00:15.2/i2c_designware.3/i2c-2/i2c-NSA2513:00/iio:device0
M: iio:device0
R: 0
J: +iio:iio:device0
U: iio
T: iio_device
E: DEVPATH=/devices/pci0000:00/0000:00:15.2/i2c_designware.3/i2c-2/i2c-NSA2513:00/iio:device0
E: DEVTYPE=iio_device
E: SUBSYSTEM=iio
E: USEC_INITIALIZED=5462149
E: ACCEL_MOUNT_MATRIX=-1,0,0;0,-1,0;0,0,1
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:
```
2026-05-12 14:27:02 +01:00
Artem Proskurnev dc6b6e9d64 hwdb/keyboard: Map f21 key on Wareus B15
Addition to PR https://github.com/systemd/systemd/pull/41181
Plasma-workspace OSD notifications about turning the touchpad on
and off are guided by f21. When this match is specified,
KDE notifies on this laptop that the on/off switch of the atchpad
state is pressed.
Fix dmesg:
atkbd serio0: Unknown key pressed (translated set 2, code 0xc1 on isa0060/serio0).
2026-05-12 11:23:52 +01:00
Christian Hesse 96a61b5483 Revert "hwdb/keyboard: fix KP_Enter on Clevo PA70ES"
Fixed in previous commit.

This reverts commit b7be9ccc8f.
2026-05-11 18:26:15 +02:00
Christian Hesse 033be1a41b hwdb/keyboard: use vendor/product specific match for X+ Piccolo
The controller is used in other devices, and some of these do have a
separate keypad with enter key.

Fixes: 7ae0a58815
2026-05-11 18:26:15 +02:00
Matheus Afonso Martins Moreira b7be9ccc8f hwdb/keyboard: fix KP_Enter on Clevo PA70ES
The ITE keyboard controller firmware (version 0xAB83) is shared
between the Clevo PA70ES and the X+ piccolo series.

The piccolo's hwdb rule matches by input device ID
(evdev:input:b0011v0001p0001eAB83*) and remaps scan code 0x9c
(KP_Enter) to Enter, since the piccolo has no numpad and its
main Enter key sends the wrong scan code.

The Clevo PA70ES has a real numpad. The piccolo rule matches it
because both laptops use the same ITE controller firmware, which
breaks KP_Enter on the PA70ES.

Add a DMI-specific override that restores KEY_KPENTER for 0x9c
on the PA70ES.

The piccolo rule should ideally be narrowed to use DMI matching
instead of input device ID to avoid catching other laptops with
the same ITE controller firmware.
2026-05-09 18:08:27 +01:00
Dirga Yuza f2361469e4 hwdb: add force-release to Nitro AN515-58 backlight keys
This fixes an incomplete mapping introduced in PR #39769 for the Acer
Nitro 5 AN515-58.

The previous PR mapped the physical keyboard backlight keys (scancodes
`0xef` and `0xf0`) to `kbdillumup` and `kbdillumdown` to prevent them
from dropping screen brightness.

However, the embedded controller on this Acer model only emits "make"
(press) scancodes and fails to emit "break" (release) scancodes for
these specific keys. Without a release event, the input subsystem
registers the keys as continously held down (auto-repeat). In desktop
environments like KDE Plasma, pressing the key once causes the
brightness UI slider to get stuck in an infinite adjustment loop.

This issue is previously unnoticed as this model did not expose any
keyboard backlight control.

The fix is done by prepending the `!` (force-release) flag to the
keycodes. This instructs `evdev` to synthesize a key
release event.

The fix is verified locally on an Acer Nitro AN515-58. `evtest` now
correctly reports `value 1` immediately followed by `value` 0, and KDE
Plasma brightness OSD no longer gets stuck.

Signed-off-by: Dirga Yuza <dirgayuza123@gmail.com>
2026-05-08 10:21:46 +01:00
Nita Vesa f0a171d1d8 hwdb: add Fn-key mappings for MSI GE76 Raider 10UG 2026-05-06 19:20:04 +01:00
José Miguel Sarasola 852fcf5134 hwdb: add SOUND_FORM_FACTOR for Edifier M60 and Fractal Scape Dongle 2026-05-05 21:32:03 +01:00
kakolla 6d4c714d88 hwdb: add correct keyboard mapping for touchpad_toggle event on msi gs66 stealth laptop 2026-05-03 10:26:20 +01:00
José Miguel Sarasola 2cfaf50cc8 hwdb: Add missing Steelseries Arctis Pro Wireless
The Hub for these headsets uses the following
USB entries:

Bus 007 Device 002: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub
Bus 007 Device 003: ID 1038:1290 SteelSeries ApS Arctis Pro Wireless
Bus 007 Device 004: ID 1038:1294 SteelSeries ApS Arctis Pro Wireless
2026-05-02 14:01:08 +01:00
fecet 6897562ea0 hwdb: sensor: add accel mount matrix for GPD WIN 5
The WIN 5 (DMI product G1618-05) ships the same BMI0160
accelerometer with the same physical mounting as the Win Max 2
(G1619-04), so reuse its mount matrix. Verified on hardware:
without the matrix iio-sensor-proxy reports
AccelerometerOrientation=normal regardless of physical pose,
and applying the G1619-04 matrix makes orientation transitions
(normal / left-up / right-up / bottom-up) track the device
correctly.
2026-04-25 10:29:15 +01:00
Daan De Meyer d0891857a0 sensor: gpd remove packet 3 and 4 (#41249)
Both devices have -90 degrees mounted panels but they don't have the
quirk in kernel.

The Pocket 4 has been researched and it has an acpi accel matrix that
works when setting panel orientation at boot parameter.

The Pocket 3 hasn't been tested, but given it didn't had panel
orientation quirk is for sure that matrix is wrong for it.

Actually is pending the quirks for both devices in kernel but eventually
they will get merged. Till that happens is encourage that owners of
these devices set panel orientation boot parameter to right-up.

Fixes: #41036.
2026-04-22 15:43:32 +02:00
Heran Yang 4a8bf2e33f Add IMDS configuration for TencentCloud and Alibaba ECS 2026-04-22 15:08:06 +02:00
Sriman Achanta 765416cae6 hwdb: Add extended SteelSeries Arctis headset device support (#41628)
Add USB device IDs for additional SteelSeries Arctis headset models to
the sound card hardware database.

Newly added device IDs:

- Arctis Nova 7x v2 (22AD)
- Arctis Nova 7 Diablo IV (22A9)
- Arctis Nova 7X (22A4)
- Arctis Nova 7X (22A5)
- Arctis Nova 7P V2 (22A7)
2026-04-14 01:08:30 +01:00
Luan Vitor Simião oliveira 39eb7fd259 hwdb: cooler master rgb controller is not a mouse 2026-04-05 17:10:13 +01:00
David Santamaría Rogado 4ae4bd34d7 hwdb: sensor: aquarius improve comments
Differentiate Cmp NS483 v2 accel variants.
2026-04-04 18:26:59 +01:00
Christian Hesse 7ae0a58815 hwdb/keyboard: fix enter key for X+ piccolo
The main enter key gives a code for keypad one... Map it to
regular enter key.
2026-04-01 18:23:35 +01:00
Tobias Heider 51164fd9fc hwdb: Silence spurrious F23 key-press from Fn key on Thinkpad T14s
The Thinkpad T14s Gen 6 (Snapdragon) emits a F23 key press when
pressing the Fn key. Silence them since the keyboard doesn't
actually have a F23 key.
2026-04-01 11:25:48 +01:00
RiskoZS 7471dc2994 hwdb: Add keymaps for Acer Nitro 5 AN517-54
Add mappings for the Fn+F7 (microphone mute), NitroSense and power keys for the Acer Nitro 5 AN517-54
2026-03-28 12:07:56 +00:00
Lennart Poettering f3eac272e6 hwdb: add database for basic IMDS properties
This adds a hardware database that contains information about IDMS
functionality of various clouds, keyed off the SMBIOS identification of
each. Currently this contains information about 6 major clouds, but the
idea is that this grows to include more and more major clouds.

Nothing uses this data yet, that's added in a later commit.
2026-03-26 10:54:15 +01:00
Luan Vitor Simião Oliveira 7d320c3a99 hwdb: Add PXN HB S handbrake
otherwise, it is not classified.
reports 2 axes and 2 buttons although only 1 is actually used.
2026-03-26 08:35:33 +01:00
David Santamaría Rogado 795948170b sensor: gpd remove pocket 3 and 4
Both devices have -90 degrees mounted panels but they don't have the
quirk in kernel.

The Pocket 4 has been researched and it has an acpi accel matrix that
works when setting panel orientation at boot parameter.

The Pocket 3 hasn't been tested, but given it didn't had panel
orientation quirk is for sure that matrix is wrong for it.

Actually is pending the quirks for both devices in kernel but eventually
they will get merged. Till that happens is encourage that owners of
these devices set panel orientation boot parameter to right-up.

Fixes: #41036.
2026-03-21 02:39:48 +01:00
David Santamaría Rogado 93f1546b93 hwdb: keyboard: erase entry that will never match
The match in "AYA NEO" will never happen as dmi modalias will wipe blank
spaces. Even more the intended match was covered before by "AYANEO".

Actually there are contributions that rely on someone giving some data
to other someone with no test at all.

Should be consider to enforce the full udevadm info --export-db as
mandatory requirement fot this kind of contributions.
2026-03-20 17:15:00 +01:00
David Santamaría Rogado de0314a11f hwdb: sensor: fix bncf newbook 11
Actually was found that this device has panel mount at -90º. This fixes
the matrix to follow panel orientation.

More info in the previous PR comments:
https://github.com/systemd/systemd/pull/40773

Fixes: 774e805959
2026-03-20 15:44:19 +01:00
David Santamaría Rogado afc418daa6 sensor: gpd fix matches
Actually for example the Win Max 2 match is affecting devices that even
didn't exist when the matrix was added.
2026-03-20 15:44:04 +01:00
Artem Proskurnev f8e31900ce hwdb/keyboard: Map FN key on Wareus B15
After kernel commit 907bc9268a ("Input: atkbd - map F23 key to support default copilot shortcut")
Fn+F5 combination (switch touchpad on/off) stopped working correctly.

Fn produces F23, it is probably a bug in BIOS, ther eis no "Copilot" key.
It was ignored before that commit, but now we have to remap it here in hwdb.

This workaround is similar to systemd commit d2502f5
("hwdb/keyboard: Map FN key on TUXEDO InfinityFlex 14 Gen1")

Hardware probe of this notebook: https://linux-hardware.org/?probe=2d5266f5c6
2026-03-19 19:44:14 +01:00
huchangzai d97896b647 hwdb: fix ABS_PRESSURE axis range for Goodix GXTP5100 touchpad
The Goodix GXTP5100 touchpad (HID bus 0x0018, vendor 0x27C6, product
0x01E9), found in the Lenovo ThinkBook 16 G7+ IAH and ThinkPad X9 15
Gen 1, has a kernel driver bug where ABS_PRESSURE (axis 24 / 0x18) is
reported with min=0, max=0.

This invalid axis range causes libinput to reject the device with:
  "kernel bug: ABS_PRESSURE has min == max (both 0)"

The touchpad hardware itself is functional and reports valid ranges for
all other axes:
  ABS_X:  min=0, max=4149, resolution=31
  ABS_Y:  min=0, max=2147, resolution=27
  ABS_MT_POSITION_X/Y: valid ranges

Root cause: the kernel hid-multitouch driver applies a "GT7868Q report
descriptor fixup" to this device (the HID descriptor is malformed and
fails hid-generic probe with EINVAL). The fixup corrects most axes but
leaves ABS_PRESSURE with an invalid 0:0 range.

This hwdb entry overrides ABS_PRESSURE to a valid 0:255 range, allowing
libinput to accept and initialize the device.

Kernel version: 6.17.0-19-generic
Device path: /sys/bus/hid/drivers/hid-multitouch/0018:27C6:01E9.0001
2026-03-17 19:53:34 +00:00
Luca Boccassi ce48f694a0 Update hwdb
ninja -C build update-hwdb
2026-03-17 17:40:54 +00:00
Mikhail Novosyolov 43cca8348a hwdb/keyboard: fix Positron vendor location
Move lines without changing them.
Fixes: 9aad3336f ("hwdb/keyboard: Map FN key on Positron Proxima 15")
(https://github.com/systemd/systemd/pull/40929)
2026-03-12 05:14:15 +09:00
Luca Boccassi 7a0d0fe986 Update hwdb
ninja -C build update-hwdb
2026-03-10 17:12:18 +00:00
Andrii Zora 42e3801efc hwdb: update HP Envy x360 patterns to cover newer 14-fc0xxx models
Signed-off-by: Andrii Zora <anaxarsys@gmail.com>
2026-03-08 22:24:15 +00:00
David Santamaría Rogado c2d0465582 hwdb: sensor: bncf reformat match 2026-03-08 21:18:21 +00:00
The-An0nym 09c92eef12 Fix media keys for Lenovo ThinkBook 14 2-in-1 G5 IAU 2026-03-08 10:52:34 +00:00
Arjun-C-S da1cedd144 hwdb: map Xiaomi Mi Notebook Pro star key to KEY_MACRO
The Xiaomi Mi Notebook Pro keyboard has a "star" key that
generates AT keyboard scancode 0x72 but is not mapped in
the default hwdb.

Map it to KEY_MACRO so it appears as a usable input key.

Verified using evtest.

Signed-off-by: Arjun <arjunchoozhi1234@gmail.com>
2026-03-08 10:51:56 +00:00
Mike Yuan c8f764e40d hwdb/60-tpm2: correct prefix in comment (tpm -> tpm2)
Follow-up for f2eed3fa25
2026-03-05 01:03:47 +01:00
Lennart Poettering f2eed3fa25 hwdb: introduce hwdb for tpm2 devices
This hwdb is can carry hw quirks and similar for us, in particular tell
us if nvpcrs have a chance of working.
2026-03-04 08:28:41 +01:00
Lennart Poettering 96a8bfcd7a parse_hwdb: sort general matches 2026-03-04 08:22:20 +01:00
Lennart Poettering 4dbb0cd0bf parse_hwdb: introduce local variable for boolean syntax 2026-03-04 08:22:20 +01:00
Luca Boccassi 71a230d4a6 Update hwdb
ninja -C build update-hwdb
2026-03-03 17:42:40 +00:00
Mikhail Novosyolov 9aad3336ff hwdb/keyboard: Map FN key on Positron Proxima 15
After kernel commit 907bc9268a ("Input: atkbd - map F23 key to support default copilot shortcut")
Fn+F5 combination (switch touchpad on/off) stopped working correctly.

Fn produces F23, it is probably a bug in BIOS, ther eis no "Copilot" key.
It was ignored before that commit, but now we have to remap it here in hwdb.

This workaround is similar to systemd commit d2502f55a2
("hwdb/keyboard: Map FN key on TUXEDO InfinityFlex 14 Gen1")

Hardware probe of this notebook: https://linux-hardware.org/?probe=7aca7ed668
See also: https://bugzilla.rosa.ru/show_bug.cgi?id=19950
2026-03-03 23:31:01 +09:00
IntenseWiggling 63fbe36d27 hwdb: add one more USB ID for 3D Connexion SpaceMouse Wireless BT (#40890)
The 3D Connexion SpaceMouse Wireless BT (256f:c63a) has an entry in
`70-mouse.hwdb` already as a bluetooth device, but it can also be
connected as a USB device.

`5-3.3: hwdb modalias key: "usb:v256FpC63A:SpaceMouse Wireless BT"`

Ref:
https://github.com/FreeSpacenav/spacenavd/blob/39856625a6de1e8c4b57c5938e1bf29d13cf1a9f/src/dev.c#L83
2026-03-02 12:31:29 +09:00
Zbigniew Jędrzejewski-Szmek 62338aeadf hwdb: use more modern python syntax in one more place 2026-02-26 19:02:03 +01:00