Commit Graph
789 Commits
Author SHA1 Message Date
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
AsciiWolf 69442f94b5 hwdb: add missing Ettus Research B200 rule
https://github.com/EttusResearch/uhd/blob/master/host/utils/uhd-usrp.rules#L18

Not sure why it was missing.
2025-09-11 18:41:26 +01:00
AsciiWolf 11c58b6774 hwdb: add MiriSDR MSi2500 devices 2025-09-11 09:58:49 +09:00
AsciiWolf c61bdd79ef hwdb: add more devices
- FUNcube Dongle Pro
- Great Scott Gadgets HackRF
- Microtelecom Perseus
2025-09-11 08:44:48 +09:00
AsciiWolf 8fadcd15d3 hwdb: add Airspy devices 2025-09-11 07:27:07 +09:00
DeKoile 63254ed696 Update 60-sensor.hwdb - Add support for Lenovo Legion Go
This adds support for the 3D Accelerometer of the Lenovo Legion Go
2025-09-10 23:20:56 +01:00
Martin Homuth-Rosemann 3efabf88cd Add Hantek DSO-6022 oscilloscopes and compatible devices
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2025-09-09 23:19:32 +01:00
Zbigniew Jędrzejewski-Szmek 438ab26379 hwdb: run "update-hwdb"
As usual, just additions and corrections.
2025-09-05 09:18:06 +02:00
Kamil Páral 2f615ec1d1 70-mouse.hwdb: Add Razer Basilisk V3, Asus Cerberus, +2 more
All mice were measured using mouse-dpi-tool, and the measurements match vendors
specs, with the exception of Asus Cerberus (it officially has
500/*1000/1500/2500 DPI, but my measurements were quite different, so I opted
to include the real values).
2025-08-26 10:17:20 +01:00
AsciiWolf e8628ddb78 hwdb: sort SDR devices by vendor name 2025-08-25 13:42:09 +01:00
Jack Wu 46a688c559 hwdb: enable autosuspend for Dell DW5826e WWAN modem 2025-08-22 23:38:08 +01:00
Christopher Head bd254d371b Add Razer Cobra mouse to hwdb
The DPI values are based on the product’s printed documentation. The
frequency values are based on the endpoint descriptor reported by lsusb
(the mouse is a full-speed USB device and bInterval is 1 at all DPI
settings). Both sets of values are for a mouse that has *not* been
touched by the vendor’s configuration tool.
2025-08-21 10:15:38 +01:00
Luca Boccassi 26f971909e hwdb: update autosuspend rules
ninja -C build update-hwdb-autosuspend
2025-08-20 13:09:13 +01:00
Luca Boccassi 9b3dceba64 hwdb: update rules
ninja -C build update-hwdb
2025-08-20 13:09:13 +01:00
Alexander Bruy b15ff659b4 hwdb: map FN key on TongFang X4SP4NAL laptops 2025-08-19 13:05:56 +01:00
Rostislav Lastochkin e196be154e hwdb: Add Accelerometer mount matrix for Irbis TW43 2025-08-18 01:56:34 +09:00
Marcos Alano d5f65056ee Enable KEY_PERFORMANCE key present on Linux 6.17
Note, this change does not require the kernel running on the host is
equal or newer than 6.17. But systemd-udevd needs to be built with the
kernel headers with KEY_PERFORMANCE, and the relevant kernel header is
already updated by the previous commit.
2025-08-11 22:22:18 +09:00
Vasiliy Kovalev 8557ea5daa hwdb: Add launch emoji keyboard mapping for Asus M1607KA
By default, pressing Fn+F8 maps the scancode to KEY_BLUETOOTH (in evtest,
MSC_SCAN 7e -> KEY_BLUETOOTH). Windows/the manufacturer may intercept the
same scancode to execute "Launch Emoji keyboard."
On Linux, we get the "raw" KEY_BLUETOOTH code, which is unacceptable.

prog1 is already reserved by default for launching MyAsus (a Windows
application) with the Fn+F12 combination, so we will use prog2.

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
2025-08-11 10:17:29 +09:00
Yu Watanabe 33275ce383 Revert "hwdb: disable Asus ROG keyboards sending poweroff"
This reverts commit 6428c0f480.

The rule seems to match not only keyboard itself but other devices.
Let's revert the change, and consider better way later.

Fixes #38502.
2025-08-06 17:03:24 +01:00
novenary 98f5d7f33a hwdb: set touchpad resolution for ThinkPad T14 Gen2a 2025-08-06 17:37:25 +09:00
Luca Boccassi ff08fca8df hwdb: update autosuspend rules
ninja -C build update-hwdb-autosuspend
2025-08-04 12:26:54 +01:00
Luca Boccassi 8a379827dc hwdb: update
ninja -C build update-hwdb
2025-08-04 12:26:54 +01:00
RocketDev 6428c0f480 hwdb: disable Asus ROG keyboards sending poweroff
Asus ROG keyboards seems to send power off key code when keyboard wake
up. Reserve the key codes could suppress this problem.

Devices added: ROG Falchion & ROG Scope

Based on the work by Jon Nettleton:
https://gist.github.com/jnettlet/afb20a048b8720f3b4eb8506d8b05643
2025-08-01 05:41:45 +09:00
Yu Watanabe c574e32fb9 hwdb: several cleanups
- drop trailing spaces,
- replace tabs with spaces,
- align comments.
2025-08-01 05:41:45 +09:00
SoloSaravanan 2c1881f42c hwdb: Acer Nitro ANV15-51 Nitro Sense Toggle
This fixes Acer Nitro ANV15-51 Nitro sense toggle

Event: time 1753852156.475850, -------------- SYN_REPORT ------------
Event: time 1753852156.565054, type 4 (EV_MSC), code 4 (MSC_SCAN), value f5
Event: time 1753852156.565054, type 1 (EV_KEY), code 148 (KEY_PROG1), value 0
2025-07-30 17:00:03 +09:00
Zbigniew Jędrzejewski-Szmek c5dcbd073e meson: use files() not find_program() for helper scripts
We went back and forth between 'prog.sh', files('prog.sh'), and
find_program('prog.sh'). We want to use files() or find_program() so that we
get a good error message if the file is missing. Behaviour of meson changed
over time, and in the past not all forms could be used in all places. For
example 0f4c4f3824 added find_program() in many
places to avoid repeated messages. But it seems that all recent meson versions
work fine with files().

find_program prints silly messages:
  Program tools/make-man-index.py found: YES
       (/home/zbyszek/src/systemd/tools/make-man-index.py)
  Program tools/meson-render-jinja2.py found: YES
       (/home/zbyszek/src/systemd/tools/meson-render-jinja2.py)
  ...
We know that those files will be found, they are part of the git checkout.
With files() this is gone and the meson output is easier to read.
2025-07-25 14:04:17 +02:00
Luca Boccassi 4c7ec40e4e Chores for RC1 (#38300) 2025-07-23 17:54:25 +01:00
luc-salles 53b1d3fd48 Fix Positivo K116J search key and www shortcut 2025-07-23 17:53:33 +01:00
Luca Boccassi 53a3d148d7 hwdb: update
ninja -C build update-hwdb
2025-07-23 14:32:21 +01:00
AsciiWolf 225de2729d hwdb: fix typo in 70-maker-tools.hwdb 2025-07-05 23:44:08 +02:00
AsciiWolf cdbc500faa hwdb: add 70-maker-tools.hwdb to meson.build
The hwdb file was not added there in 3dcb56f5e0 for some reason
2025-07-05 23:32:09 +02:00
Zbigniew Jędrzejewski-Szmek 7d247d3cb8 meson: drop explicit custom_target names
[1] says:
> Since 0.60.0 the name argument is optional and defaults to the basename of
> the first output
We specify >= 0.62 as the supported version, so drop the duplicate name in all cases
where it is the same as outputs[0], i.e. almost all cases.

[1] https://mesonbuild.com/Reference-manual_functions.html#custom_target
2025-06-28 17:14:50 +02:00
Andy Shevchenko 318c4f7b81 hwdb: Add accel orientation quirk for the Microtech e-tab Pro
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
2025-06-27 11:21:03 +01:00