Commit Graph
821 Commits
Author SHA1 Message Date
novenary 399c8152ae hwdb: set touchpad resolution for all ThinkPad T49x chassis laptops
Confirmed with owners of T495 and T14 Gen2i.
P14s should be identical.
2026-01-18 21:26:04 +09:00
Yu Watanabe 3da9b65b30 hwdb: make three more hwdb files parsed by parse_hwdb.py
This also makes 70-lights.hwdb installed. The file was introduced by
106f64cbd6, but never installed.

Moreover, this makes the parser also check bluetooth modalias patterns.
2026-01-17 02:53:14 +09:00
Florian Klink f9a3f729ac hwdb: Add GPD Pocket 4 chassis quirk
See https://github.com/systemd/systemd/issues/7390#issuecomment-573607402
2026-01-16 14:34:23 +01:00
Dirk Su 1ef107cb22 hwdb: add HP EliteBoard Mic mute key mapping 2026-01-15 11:34:14 +01:00
francescoza6 fcc6b29921 hwdb: add matrix for ASUS 2-in-1 T101HA
The matrix tested working in monitor-sensor (06 gen 2026),
corrects accel values and not just display output.
2026-01-07 01:10:42 +09:00
Derek J. Clark 9573ad4e76 hwdb: Add missing vendor names for older AYANEO devices
Adds AYADEVICE and AYA NEO vendor names. Early founders editon and 2021 models used these DMI values instead of AYANEO
2026-01-06 13:49:40 +09:00
Derek J. Clark 8ea31c2307 hwdb: Add missing scancodes for Lenovo Legion devices
Adds missing scancodes for Lenovo Legion Go, Go S, and Go 2. When long
pressing the power button the device should issue a LEFTMETA + F16
combo. The LEFTMETA code fires properly, but the F16 is not mapped.

Go and Go S devices detect as AT Translated Set 2 Keyboard, while Go 2
detects as AT Raw Set 2 Keyboard, hence the multiple entries.

Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
2026-01-06 12:33:28 +09:00
David Santamaría Rogado 3ae637c42a quirks: touchpad: Set Duet 3 bt touchpad internal
The touchpad is in a keyboard and touchpad combo that can be attached and
detached in a convertible device.
2026-01-04 06:10:45 +09:00
David Santamaría Rogado 11adc8bad5 quirks: Re-add D330 accel_matrix as identity one (#40226)
When testing to correct accelerometer values I set locally the identity
matrix to override the quirk. The values were fine but removing all the
matrices give incorrect values.

The mistake was thinking that identity matrix is the default one when no
quirks are set. It is, but only when the ACPI doesn't have another one.

Set identity matrix for this device to correct accelerometer values.

Follow-up for a07b184e8c.
2026-01-02 03:52:56 +09:00
David Santamaría Rogado e9b3bfb3f5 quirks: sensor: add info about ACPI accel_matrix
Just inform about if an ACPI accel matrix exists, is the default one instead
the indentity matrix.
2026-01-02 03:49:45 +09:00
kiamvdd 506b790d71 Add Lenovo Y50-70 touchpad to 60-evdev.hwdb 2025-12-31 14:56:48 +00:00
smosia 4a0743e398 hwdb: touchpad config for Apple MacbookPro12,1 Early 2015 2025-12-31 14:55:43 +00:00
Luca Boccassi d2e4162b51 Update hwdb
ninja -C build update-hwdb
2025-12-17 13:32:00 +00:00
QuickSwift315490 f9425092c6 hwdb: fix unstable button triggering on Mipad 2 under GNOME (#40071)
Change unknown key mappings to reserved.

A KEY_RESERVED button is marked as reserved and passed to the kernel. This will stop the kernel from passing this keystroke event to user space.

If unknown, the key is set to KEY_UNKNOWN and the event is passed to user space, which we want to avoid.
2025-12-17 13:26:47 +00:00
0x06 8e20b9a79d hwdb: Fix ACCEL_MOUNT_MATRIX for Lenovo Ideapad MIIX 310-ICR (#40067)
Tested with monitor-sensor on bvr1HCN44WW
2025-12-15 07:19:10 +09:00
David Santamaría Rogado a0a64f6b67 hwdb: sensor: Remove Lenovo IdeaPad Duet 3 accel mount matrix (#40075)
Same case as IdeaPad D330, matrix applied to solve issues in wayland
compositors when is not the way because correct data is send by the
sensor.

As described in #39529, let's remove the matrix.
2025-12-15 07:16:10 +09:00
David Santamaría Rogado 6855c4a7f7 hwdb: sensor: Add HP OmniBook Ultra Flip 14 accel mount matrix (#40076)
HP OmniBook Ultra Flip Laptop 14-fh0xxx tilt is inverted by default so
screen tilt-face down is up and vice versa, invert the axis then.
2025-12-15 07:14:00 +09:00
0x06 85e6b98380 hwdb: Add ACCEL_MOUNT_MATRIX for variant of TERRA PAD 1061
Tested with monitor-sensor
2025-12-12 11:22:21 +01:00
Luca Boccassi edfbd7654f hwdb: update autosuspend rules
ninja -C build update-hwdb-autosuspend
2025-12-10 17:08:57 +00:00
Luca Boccassi 0b90007530 Update hwdb
ninja -C build update-hwdb
2025-12-10 17:07:41 +00:00
David Santamaría Rogado a07b184e8c hwdb: sensor: Remove Lenovo IdeaPad D330 accel mount matrix
Reading values from iio-sensor we are getting bad values. This matrix was added because the panel was a vertical one but the normal position is horizontal and the sensor is not bad oriented.

Removing the matrix ensure we have correct orientation values and prevent from misleads where the incorrect values we were getting messed up.

For example mutter actually is setting incorrect screen rotation for devices with panel orientation quirks.

I'm pretty sure that there are more devices where we have incorrectly "corrected" the sensor values when the only problem was the panel orientation.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
2025-12-10 14:23:33 +09:00
Stephanie Wilde-Hobbs 6c9b778076 hwdb: add Magic Trackpad v2 USB-C (2024) to quirks (#40032)
Without being marked as an external trackpad the palm rejection triggers
too easily. Tested with a local hwdb rule.
2025-12-09 03:38:17 +09:00
Rebecca Cran 06c794e316 hwdb: Add BMC USB-to-USB link devices to 82-net-auto-link-local.hwdb
Add BMC USB-to-USB Ethernet gadget devices found on ASRock Rack and
ADLINK boards containing Ampere Altra and AmpereOne CPUs to
82-net-auto-link-local.hwdb. Update 20-usb-vendor-model.hwdb with
devices which were missing.
2025-12-05 16:03:22 -07:00
Rebecca Cran b159befeae hwdb,rules: add 82-net-auto-link-local.{hwdb,rules} to build
Update hwdb.d/meson.build and rules.d/meson.build to add the
82-net-auto-link-local.{hwdb,rules} files into the build. Commit
ec541c569b in 2023 added the files
but didn't add them to the build system.
2025-12-05 16:03:22 -07:00
Abílio Costa 2fd63f831f hwdb: add ProtoArc EM01 NL mouse configuration 2025-11-29 13:02:27 +09:00
Luca Boccassi 0a2970898a Update hwdb
ninja -C build update-hwdb
2025-11-26 01:13:40 +00:00
Craig McLure ab5a79ff5d hwdb: Add alternative mode for Beacn Mic (#39868)
The Beacn Mic's alt-mode behaves identically to it's primary mode from a
communication perspective, it just presents a different channel
configuration to ALSA.
2025-11-24 15:02:10 +09:00
Pranay Pawar 7e8f6ece84 hwdb: Fix keyboard backlight keys on Acer Nitro 5 AN515-58 (#39769)
Pressing Fn+F10 on Acer Nitro 5 AN515-58 incorrectly triggers display
brightness down (scancode 0xef) instead of keyboard backlight control,
causing the screen to go completely dark. Similarly, Fn+F9 (scancode
0xf0) has no function explictily stated in hwdb causing unknown keycode
debug messages.

Both keys should control the keyboard backlight as labeled on the
keyboard. Map scancodes 0xef and 0xf0 to kbdillumup and kbdillumdown
respectively to enable proper keyboard backlight control.
2025-11-18 00:33:42 +09:00
Charlie Le 7e337327e9 hwdb: Add Elecom IST Pro trackball (#39762)
Added entries for the Elecom IST Pro via its three connection methods- a
USB cable, the included G1000 USB receiver, and Bluetooth.

The G1000 USB receiver _may_ have to be removed in the future depending
on the input devices that can connect to it. According to Elecom, the
receiver can have up to three different input devices connected such as
trackballs, mice, keyboards, etc. That said, as far as I can tell, the
IST Pro is the only released Elecom device that uses the receiver. The
non-pro model and the upcoming Elecom Huge Plus might use the same
receiver, but that should not matter as both devices are trackballs.
2025-11-17 22:34:03 +09:00
Luca Boccassi 0c34bec7bb Update hwdb
ninja -C build update-hwdb
2025-11-17 08:54:08 +00:00
Armin Wolf 2fc4278b96 keymap: Ignore brightness keys on Dell Inspiron 3505 to avoid double events
On the Dell Inspiron 3505 both the atkbd and acpi-video input devices report
an event for pressing the brightness up / down keys, resulting in user
space seeing double events and increasing / decreasing the brightness 2 steps
for each keypress.

Fix this by adding the device to the already existing list of Dell
devices that suffer from the same problem.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2025-11-17 13:37:26 +09:00
Bastian Almendras a0d1dc662a hwdb: add entry for Acer Switch One 10 (SW1-011) (#39716)
Add the correct rotation for Acer Switch One 10 (SW1-011)
2025-11-14 04:33:47 +09:00
Marcos Alano 44ca5b8002 hwdb: add support for the Logitech MX Master 4 (#39490) 2025-10-30 20:16:26 +09:00
MoisticulesandMoisticules f54d72c2b6 hwdb: gpd micropc2 sensor (#39493)
This rule calibrates rotation of the screen display by adjusting matrix
of sensor for the GPD MicroPC 2

Co-authored-by: Moisticules <interknet@live.com>
2025-10-30 14:44:01 +09:00
Hans de Goede b8490c9e51 hwdb: Add V64x_V65xAU to list of Clevo models where scancode f7+f8 get mapped to touchpad-toggle
Fn + F1 which is the shortcut for toggling the touchpad on/off sends
atkbd scancodes f7 (first press) + f8 (second press) just like on various
other Clevo models. Add the V64x_V65xAU model to the list of models where
these scancodes are mapped to touchpad-toggle.
2025-10-21 07:56:02 +09:00
Yu Watanabe 5b09b43106 Don't tag i2c mice as pointing sticks (#39264)
There are no real i2c mice but there are i2c `FooBar Mouse` devices that
are an artifact of how the HID kernel drivers split up event nodes.
These nodes will be seen for some i2c keyboards and touchpads, depending
on the HID report descriptor.

Let's not tag those as pointing sticks.

Closes #36677
2025-10-20 15:04:27 +09:00
Peter Hutterer c4f072aaad hwdb: don't tag a named Mouse device as pointingstick
The generic kernel hid drivers split up devices based on the application
collection, appending a suffix for each collection (e.g. Touchpad,
Mouse, ...). Many i2c touchpads get a "... Mouse" event node which is
mislabelled as pointingstick by the input_id builtin, see commit
3d7ac1c655.

Closes: https://github.com/systemd/systemd/issues/36677
2025-10-20 14:14:39 +10:00
Peter Hutterer 5b647b84a9 rules: extend 60-input-id.rules to allow for bus/vid/pid/name matches
Same approach as used in 70-mouse.rules, allow for a name-based match
optionally combined with bus/vid/pid (which the existing modalias rule
would already allow us anyway). Note that ID_BUS isn't assigned until
after this rule has run so we need to use the id/bustype attribute
directly.

Related to https://github.com/systemd/systemd/issues/36677
2025-10-20 14:14:39 +10:00
Zbigniew Jędrzejewski-Szmek 48aec295a8 test/parse_hwdb: wrap Or inside an And in a Group
I now get a warning like this with python3-pyparsing-3.1.2-8.fc42:

hwdb.d/parse_hwdb.py:208: UserWarning: warn_multiple_tokens_in_named_alternation:
  setting results name 'VALUE' on Or expression will return a list of all parsed
  tokens in an And alternative, in prior versions only the first token was returned;
  enclose contained argument in Group
('!' ^ (Optional('!') - Word(alphanums + '_')))('VALUE')
2025-10-16 18:09:37 +01:00
Daniel Brackenbury 4cbfaaa549 remove Nulea M501 usb entry from hwdb
conflict with other mice using same generic dongle identified (e.g. Protoarc EM11)
2025-10-13 09:44:17 +02:00
Zbigniew Jędrzejewski-Szmek e06b9a1d52 hwdb: drop trailing whitespace
Fixup for 63254ed696.
2025-10-10 13:48:50 +02:00
helpvisa b12cd57f6d remove bonus line 2025-10-08 07:18:48 -04:00
Daniel Brackenbury 2dc0e6cd73 remove extra space from new hwdb.d/70-mouse.hwdb entries to fix failing test 2025-10-07 18:55:57 -04:00
Daniel Brackenbury 6dfbaa8063 add comment to 70-mouse.hwdb regarding generic name for Nulea M501 USB dongle 2025-10-07 18:04:56 -04:00
Daniel Brackenbury 9dde7d9ae8 Add Nulea M501 trackball to hwdb 2025-10-07 18:00:57 -04:00
Lucas Adriano Salles f8646b9a2e hwdb: fix calibrate rotation sensor for Positivo K116J (#39189)
Fixes #39188.
2025-10-02 22:50:04 +09:00
Luca Boccassi 106bdd888b hwdb: update
ninja -C build update-hwdb
2025-09-17 09:41:25 +01:00
AsciiWolf 0125be8733 hwdb: add SDRplay devices
Also remove duplicate MiriSDR device that is just a cheap SDRplay RSP1 copy
2025-09-16 09:32:35 +01:00
AsciiWolf bb4c00001d hwdb: add HydraSDR RFOne 2025-09-15 13:22:53 +09:00
AsciiWolf 56347fe7f3 hwdb: add LimeSDR XTRX devices 2025-09-12 06:46:55 +09:00