Commit Graph
100 Commits
Author SHA1 Message Date
David Santamaría Rogado 4ae4bd34d7 hwdb: sensor: aquarius improve comments
Differentiate Cmp NS483 v2 accel variants.
2026-04-04 18:26:59 +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
David Santamaría Rogado c2d0465582 hwdb: sensor: bncf reformat match 2026-03-08 21:18:21 +00:00
David Santamaría Rogado 3e7b9b7462 udev: rules: improve usb integration detection
usb hubs tend to expose removable attribute as unknown. This makes some
problems like a hub for external usb ports in pogo pins is unknown and
also soldered hubs in laptops for keyboard+touchpad.

Let's set internal when the device removable attribute is fixed and
external when removable, but when it's unknown lets check the parent
ports (not the host devpath!=0) attribute to decide.

This makes us to missdetect pogo ping connected external usb hubs but
let us to correctly detect laptop internal keyboards and touchpads that
are wired through hubs instead directly.

This behaviour is more desirable, as actually there are a bunch of
laptops with this setup.

Fixes: a4381cae8b.
2026-03-04 07:33:51 +09:00
David Santamaría Rogado 2516d6598c NEWS: inform about ID_INTEGRATION addition in udev
and ID_INPUT_JOYSTICK_INTEGRATION drop in favor of it.
2026-02-20 18:34:00 +01:00
David Santamaría Rogado e0684a9abc udev: hwdb: replace ID_INPUT_JOYSTICK_INTEGRATION
Actually ID_INPUT_JOYSTICK_INTEGRATION was never used anywhere, replace
it with ID_INTEGRATION.

Follow up: a4381cae8b.
2026-02-20 18:34:00 +01:00
David Santamaría Rogado be9dd0da40 hwdb: fix typos 2026-02-20 06:38:53 +09:00
David Santamaría Rogado 3b51529cbf hwdb: sensor: hp use board product name as hp-wmi
Doing it made also to include the 14t-fh000, the product name initial
units of the omnibook ultra flip 14 had, this is intended.

Order the entries by product name.

Follow up: fadb0b53f7.
2026-02-20 04:54:53 +09:00
David Santamaría Rogado 17a3b387ae udev: rules: integration add spi bus for input dev
This bus is used for internal input devices let's set the ID_BUS
property accordingly to tag devices over SPI as internal.

Follow-up for a4381cae8b.
2026-02-19 06:45:13 +09:00
David Santamaría Rogado cad60201fc udev: rules: integration fix
ID_INTEGRATION is not being updated with hwdb entries, asign the new
value to it when hwdb has been imported.

We still need the 65-integration.rule assignment for devices that aren't
in hwdb.

While at it remove unneeded check in 70-touchpad.rules, as it was not
added for 70-joystick.rules with the statement if ID_INPUT_* is set and
ID_INPUT not, there is a bug elsewhere. And remove unneeded gotos in
both files.

Follow-up for a4381cae8b.
2026-02-18 11:51:02 +09:00
David Santamaría Rogado e723d29513 hwdb: sensor: unknown add colon to sensor match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5e526f2df3 hwdb: sensor: yours add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 803b160c62 hwdb: sensor: wortmann in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f8bc2d82bb hwdb: sensor: voyo fix dmi match format 2026-02-17 13:35:49 +01:00
David Santamaría Rogado cafe374172 hwdb: sensor: trekstor in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5f558de699 hwdb: sensor: toshiba refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado ef14307f36 hwdb: sensor: thundersoft reformat dmi match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 1f2ebc1cf3 hwdb: sensor: teclast refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 2c56b39439 hwdb: sensor: schneider remove number part match
Following Hans de Goede (jwrdegoede) way to match
BIOS versions, remove the last number part.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado e86bac6d89 hwdb: sensor: rca in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 43e0f0e2fb hwdb: sensor: reeder in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 7e1f8ba2e3 hwdb: sensor: purism in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0eca6a1612 hwdb: sensor: prowise add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado b3dea1b1a3 hwdb: sensor: predia reformat dmi match 2026-02-17 13:35:49 +01:00
David Santamaría Rogado a774da6ca4 hwdb: sensor: positivo simplify dmi matches 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 79e3e35f8c hwdb: sensor: point-of-view refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f06b18f2d2 hwdb: sensor: ployer in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9034a9b6d6 hwdb: sensor: pipo refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 31434bda83 hwdb: sensor: pine64 in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 8515b8bb77 hwdb: sensor: peaq add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 01f785ee02 hwdb: sensor: passion in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f65d619959 hwdb: sensor: orangepi in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9ebebd1f66 hwdb: sensor: one-netbook refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado fc555941b7 hwdb: sensor: onda refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado fdbc3bbc42 hwdb: sensor: odys add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5ee338bb4f hwdb: sensor: nuvision refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9804d61c08 hwdb: sensor: myria in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 6954c86b72 hwdb: sensor: msi add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado c020655998 hwdb: sensor: mpman in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado c53f6f438d hwdb: sensor: microtech in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 7f4eb94ca4 hwdb: sensor: metaphyuni in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 71c050790c hwdb: sensor: medion add fixme notes 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 62cc9602b9 hwdb: sensor: mediacom in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5c1e6da471 hwdb: sensor: linx in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 67f2332cb0 hwdb: sensor: lenovo refactor
when in a device is also needed to set the location haven't been merged
on purpose.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado c610bff933 hwdb: sensor: lamina add comments 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f8b2a756ae hwdb: sensor: kd kurio add in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 99a83b5021 hwdb: sensor: kazam add in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado d60181d235 hwdb: sensor: jumper prefer bios version over ct 2026-02-17 13:35:49 +01:00
David Santamaría Rogado bb227adf22 hwdb: sensor: irbis in-line comentting 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 94329e0a06 hwdb: sensor: it-works refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 61a4440d5f hwdb: sensor: iota 360 is the model 2026-02-17 13:35:49 +01:00
David Santamaría Rogado eae6322e50 hwdb: sensor: huawei add in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado fadb0b53f7 hwdb: sensor: hp refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 40d6572cdb hwdb: sensor: hometech fix formatting 2026-02-17 13:35:49 +01:00
David Santamaría Rogado f6f695ba5a hwdb: sensor: gpd refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 24ae53dff4 hwdb: sensor: gp add colon to sensor dmi 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 2e63c9b77f hwdb: sensor: glavey add colon to sensor dmi 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 86db0afa87 hwdb: sensor: geo add in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 6fbbe54440 hwdb: sensor: exo add in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado e3a9643798 hwdb: sensor: eve in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado fd81658871 hwdb: sensor: estar add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 90428a3474 hwdb: sensor: endless add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 5a1aa20882 hwdb: sensor: digma in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 500f5c645a hwdb: sensor: digibras in-line comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 81f69d6176 hwdb: sensor: dexp rework 2026-02-17 13:35:49 +01:00
David Santamaría Rogado a252f18c19 hwdb: sensor: dere add comments 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0c8371a230 hwdb: sensor: dell rework
Change Vostro5581 to use its sku to match the rest, I suppouse it was
added before we had sku in dmi modalias.

Fix OCB4 sku instead a begining O letter needs to be a beggining zero,
checked in original bug report.

Reorder entries.

Use proper formatting.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado b713ec2481 hwdb: sensor: cube refactor 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0aaea4b376 hwdb: sensor: cytrix fix 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 6eeeb70255 hwdb: sensor: cyberbook add comment 2026-02-17 13:35:49 +01:00
David Santamaría Rogado e69ec28ac9 hwdb: sensor: csl fix 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0c6770e55e hwdb: sensor: connect fix 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9550e335fa hwdb: sensor: chuwi refactor
At least one too generic dmi string is there.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado 9d017ceb4a hwdb: sensor: bush minor changes 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 1c8ed38270 hwdv: sensor: bmax add fixme notes
Comment that more research about the two accelerometer should be done.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado 3937225f16 hwdb: sensor: ayaneo refactor and rework
This one is a real mess, spaces in dmi modalias, minus zeroes.

Needs a little more love.

fix whitespaces and comment in-line.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado 0da3957a1e hwdb: sensor: axxo fix previous search and replace 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 12c9badc87 hwdb: sensor: asus refactor and rework
For safety, prefer board product name, that always has the short name,
over system product name, that in few models has a very long string with
the short name at the end.

The following models added at the time of this commit BR1100FKA, RC72LA
and TP412UA needs a wildcard before when using pn.

Unmerged Q502LAB, Q551LB and Q551LN, in the merged match there are many
more unreported models.

Sort by the first model in every group.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado f59346ed42 hwdb: sensor: archos in-line commenting 2026-02-17 13:35:49 +01:00
David Santamaría Rogado daa2d6e60a hwdb: sensor: aquarius rework 2026-02-17 13:35:49 +01:00
David Santamaría Rogado e91fc587a3 hwdb: sensor: acer refactor and rework
Rework acer matches to use system vendor with board name.

Is the most reliable way to deal with Acer.

While doing it discover that matches SP111-32N and SP111-34N broke in
c0443b97b7 (hwdb: add trailing ":*" everywhere, 2020-10-15)

Sort by the first model of every group.
2026-02-17 13:35:49 +01:00
David Santamaría Rogado 6f298b0b72 hwdb: sensor: say that model sort is groupped 2026-02-17 13:35:49 +01:00
David Santamaría Rogado 4ed1e2ea17 backlight: reduce clamp to 1%
Actually GNOME sets a clamp of 1% and divides in 20 steps the brightness
control. Using 5% clamp makes things like in a device with max value 640
to always be in the first brightness step in GNOME and we can't leave in
the minimum.

GNOME set steps of 640/20 = 32 with the zero step 640 * 1% = 6. When we
restart the device with the lowest bright systemd sees 6 but sets
640 * 5% = 32, so we get the brightness in the first step.

Tests in IPS and OLED panels have been done and 1% still seems a
comprensive minimun usable value so use that to allow all environments
to be able to set lower brightness values that won't be raised by
systemd at boot.

If your user enviroment allow to set excesive lower unusable values you
should blame it or yourself if you directle changes it through sysfs but
not systemd.
2026-02-16 13:20:55 +09:00
David Santamaría Rogado a4381cae8b udev: rules: guess devices if internal or external
Set ID_INTEGRATION variable to hint if a device is internal (inherent
part of the system) or external otherwise.
2026-02-16 03:46:25 +01:00
David Santamaría Rogado babfd9cbaa hwdb: don't error on empty hwdb file 2026-02-16 03:39:08 +01:00
David Santamaría Rogado 155ae657b1 udev: rules: fix camera comparison
actually that is intended to be a comparison
2026-02-12 20:11:27 +00:00
David Santamaría Rogado 3ca5d96411 quirks: sensor: squash toshiba tablets
actually all of them have the same accel mount matrix.
2026-02-12 20:11:05 +00:00
David Santamaría Rogado b3786e0296 hwdb: sensor: remove Asus T101HA and T101HAF
T101HA reports corect values in monitor-sensor when no mount matrix is
defined and was added to correct KDE display output.

T101HAF original bug report stated that it corrects the display in KDE
so indeed this is wrong.
2026-02-05 18:08:44 +01:00
David Santamaría Rogado f952bc5551 hwdb: sensor: recover Duet 3 10IGL5 normal and LTE
The mount matrix was as intended, normal is when the device is in panel
orientation, not in device orientation.
2026-02-05 18:08:44 +01:00
David Santamaría Rogado c399daf567 hwdb: sensor: correct D330 respecting panel mount
The matrix before was setting accel values to follow normal device
orientation, but the accel values must match the panel orientation that
in these devices is 90 degrees CCW.

Indicate how the panel is mounted in the comment. Could be interesting
to do it also for other devices because when desktop enviroments do it
right the user could be unaware of the panel mounting and could think
monitor-sensor output is bogus.
2026-02-05 18:08:44 +01:00
David Santamaría Rogado 9e5b898d3a quirks: keyboard: d330 keyboard rework
change matches to generic input devices one as name can't be used
because these keyboards have multiple names and also they are used in
multiple devices. This way will be possible to define more detachable
keyboards in an easy way for multiple devices.

Known USB ids for D330 series are: 17EF:60C3, 17EF:60C6 and 17EF:60C8.

Also mark that the tablet part keys and the keyboard doesn't have any
LED to let interfaces decide to expose on-screen indicators.
2026-01-31 15:30:29 +09:00
David Santamaría Rogado 7263e409b1 hwdb: keyboard: hp omnibook ultra flip
avoid kernel messages complaining about unknown keycodes from keys
already handled by acpi methods.
2026-01-30 22:33:55 +09:00
David Santamaría Rogado 3bb9dedc05 hwdb: keyboard: uppercase apple id 2026-01-30 10:00:26 +09:00
David Santamaría Rogado 1c8cdfceb3 hwdb: keyboard: fix typo CAPSLOCK to NUMLOCK 2026-01-30 09:59:27 +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