1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00
Commit Graph

637 Commits

Author SHA1 Message Date
Vasiliy Kovalev
23f5f82756 hwdb: fix MXC6655 accelerometer mount matrix for Aquarius Cmp NS483
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
2024-07-21 16:29:11 +01:00
Kai-Chuan Hsieh
643347ed61 hwdb: Add mic mute key mapping for Dell Pro Rugged series 2024-07-19 11:46:42 +02:00
Vasiliy Kovalev
3585e55881 hwdb: add backslash and touchpad toggle mapping for Aquarius Cmp NS483
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
2024-07-18 22:07:36 +03:00
Vasiliy Kovalev
8891f9332f hwdb: fix accelerometer mount matrix for Aquarius Cmp NS483
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
2024-07-18 22:07:33 +03:00
Sean Rhodes
d350651c47 Revert "hwdb: Added StarLabs StarLite position sensor mapping"
This reverts commit 1bd5db86f5.

The `kxcjk-1013` driver in Linux will parse the rotation matrix
from ACPI. This quirk is not specific enough to exist without
causing issues on different variations.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
2024-07-15 12:34:08 +02:00
Derek J. Clark
13e9ec55cd
Add or fix mount matrix for multiple handhelds. (#33586)
- Breaks AYANEO AIR family into different entries as not all are mounted the same.
- Corrects AYANEO AIR mount matrix.
- Adds mount matrices for AYANEO device families: 2021, AYANEO 2, AYANEO GEEK, and AYANEO FLIP
- Adds mount matrix for GPD WinMax2
- Adds mount matrix for OrangePi NEO
2024-07-09 10:57:04 +01:00
Derek J. Clark
57caff009e Add MSI Claw AT Keyboard Scancodes. 2024-07-09 10:11:33 +02:00
csp5me
c214c4a8a7 Update 60-sensor.hwdb
This update has been tested on the 2023 Chuwi Freebook N100. The hwdb entry has been verified using these commands:
cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias
acpi:MDA6655:MDA6655:

cat /sys/class/dmi/id/modalias
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrDNN20AV1.03:bd12/29/2023:br1.3:efr0.7:svnCHUWIInnovationAndTechnology(ShenZhen)co.,Ltd:pnFreeBook:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring:

The correct offset orientation has been tested with:
monitor-sensor
    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: normal)
=== No ambient light sensor
=== No proximity sensor
2024-07-08 12:37:57 +02:00
Riku
cd8eb9605f 70-mouse.hwdb: Added Glorious Model O DPI
This rule might also apply to the regular Model O (no minus), which has the same specifications.
2024-07-07 14:32:33 +02:00
GwynBleidD
1bd5db86f5 hwdb: Added StarLabs StarLite position sensor mapping
Default mapping for position sensor in StarLabs StarLite does
not match screen orientation. Added fixed mapping matrix.
2024-07-05 01:01:49 +02:00
Edson Juliano Drosdeck
3faee9928d
Fix key toggle touchpad button for multilaser ul154 (#33630) 2024-07-04 23:38:38 +01:00
Davide Cavalca
c1eb4cdd3b hwdb: add more AV controllers 2024-07-04 20:09:38 +02:00
Anton Golubev
4ee0ac1ae4 hwdb: Add some HP IR cameras
Two very similar devices, with two functions - a regular camera and IR.
The peculiarity of their infrared camera is that it uses a color image
format (YUYV), although it is essentially black and white.

The IR camera interface differs from the regular camera interface by name:

"HP Wide Vision FHD Camera: HP W" for the regular camera and
"HP Wide Vision FHD Camera: HP I" for an infrared camera

Therefore, glob *I is used to separate the IR camera
2024-07-03 13:51:52 +02:00
DocNITE
a76d88644f Added mised EVDEV_ABS_35 & EVDEV_ABS_36 for GAOMON s620 2024-06-29 12:22:01 +02:00
oldherl
341f04fa33
hwdb: fix keyboard of RedmiBook Pro 15 2022 (#33465)
Fix two problems of the keyboard of RedmiBook Pro 15 2022.
- Enter key in the main area was mapped to KP_Enter.
- When Fn is locked (to use F1-F12 without pressing Fn),
  Right Ctrl was mapped to Menu. Keeping it as Right Ctrl is more useful.
2024-06-25 03:22:37 +09:00
Stuart Hayhurst
5e717db67c hwdb: Fix Logitech G915 TKL (Bluetooth) appearing as a mouse 2024-06-23 06:41:58 +09:00
Derek J. Clark
7c6028bbcb Add OrangePi NEO Scancodes
Adds scancodes for the OrangePi NEO Handheld Gaming computer. This
device ships with an AT Translated Set 2 Keyboard device that
provides two buttons, ~~LC (Top Left) and RC (Top Right)~~
Home (front, bottom left) and Gamepad (front, bottom right). The
scancodes do not properly map in Linux. This change maps these
scancodes to ensure the hardware behaves as the OEM expects.
2024-06-18 10:38:53 +01:00
Derek J. Clark
25dcd9a348
hwdb: add scancodes for AYANEO devices (#33378)
AYANEO has multiple models that all use the same AT Translated Set
2 Keyboard device with 3-4 buttons available. Starting with the
AYANEO 2 there was a change to the IMU programming they were using
that caused the scancodes to no longer present the correct values
in Linux. This change adds a blanket scancode mapping to present
the correct keycodes as designed by the OEM.

In some cases a kernel bug will cause the AT Translated Set 2
Keyboard to present as an AT Raw Set 2 keyboard. I have also
adjusted the scancodes for this scenario as well so they are
in line with expected behavior. Currently only the Kun is still
experiencing this bug.

Example userspace tool refs:
https://github.com/ShadowBlip/InputPlumber/blob/main/rootfs/usr/lib/udev/hwdb.d/59-inputplumber.hwdb
https://github.com/ShadowBlip/HandyGCCS/blob/main/usr/lib/udev/hwdb.d/59-handygccs-ayaneo.hwdb
https://github.com/hhd-dev/hhd/tree/master/usr/lib/udev/hwdb.d
2024-06-18 09:19:30 +09:00
reDBo0n
64c34eb8d3
hwdb: add support for AIPTEK Media Tablet Ultimate (#33371)
The "AIPTEK Media Tablet Ultimate", detected as "Waltop International Corp. Batteryless Tablet",
is missing the resolution of the x-/y-axes.

Adding a new rule to 60-evdev.hwdb with the same values as another entry
"WALTOP International Corp. Batteryless Tablet" just with another matching string makes the
device usable.

Fixes #33362.
2024-06-17 23:05:23 +09:00
Luca Boccassi
8b884bdf36 Update hwdb
ninja -C build update-hwdb
2024-06-11 22:40:37 +01:00
Tobias Jakobi
9afc6ac87c hwdb: add keyboard mappings for the Ayaneo Kun face buttons
See comment in hwdb file for details.
2024-06-12 02:49:06 +09:00
Luca Boccassi
8559030b33 Update hwdb
ninja -C build update-hwdb
2024-06-06 17:54:03 +01:00
Edson Juliano Drosdeck
3cffbd37c0 Fix key toggle touchpad and programmable buttom for Positivo N14AP7 2024-06-04 15:23:30 +01:00
Leonard
f3a02fc053
hwdb: added hwdb rules for micmute and power button on Acer Nitro AN 515-58 (#32867) 2024-06-01 11:29:42 +09:00
Victor Berchet
71d78c599f
hwdb: Lenovo 16G6IRL volume keys and friends (#33107)
This prevents volume keys on the machine from repeating.
Full modalias:
```
$ cat /sys/class/dmi/id/modalias
dmi:bvnLENOVO:bvrMMCN36WW:bd03/26/2024:br1.36:efr1.30:svnLENOVO:pn21KH:pvrThinkBook16G6IRL:rvnLENOVO:rnLNVNB161216:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrThinkBook16G6IRL:skuLENOVO_MT_21KH_BU_idea_FM_ThinkBook16G6IRL:
```
2024-05-31 09:08:00 +09:00
Maciej S. Szmigiero
7e3cfd15f2 hwdb: Add Logitech MX Master 3S Bluetooth ID
We already have an entry for this mouse when it is connected via USB Bolt
receiver, now add a Bluetooth LE connection entry too.

This mouse model supports both connection types, with up to 3 connection
slots (to different hosts) per single mouse.
2024-05-31 09:04:15 +09:00
Lain "Fearyncess" Yang
0230235b57 hwdb: add a vmbus id for HyperV Video device 2024-05-30 12:55:44 +02:00
Nicholas Little
f4434c61b9
hwdb: Lenovo IdeaPad Z500 Touchpad Toggle (#33039)
Map scancode f3 to KEY_F21.
2024-05-28 09:56:53 +09:00
Luca Boccassi
55435a9eb2 Update autosuspend hwdb
ninja -C build update-hwdb-autosuspend
2024-05-22 21:17:24 +01:00
Luca Boccassi
def9ccf028 Update hwdb
ninja -C build update-hwdb
2024-05-22 21:16:39 +01:00
Jian-Hong Pan
5ccd8ab263 hwdb: Enable JP-IK LEAP W502's touchpad toggle key
The laptop JP-IK LEAP W502 has touchpad toggle key (Fn+F9), but it does
not work. Because, the scancode maps to a wrong key code:

Event: time 1715846095.224900, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9d
Event: time 1715846095.224900, type 1 (EV_KEY), code 97 (KEY_RIGHTCTRL), value 1
Event: time 1715846095.224900, -------------- SYN_REPORT ------------
Event: time 1715846095.230985, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1715846095.230985, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1715846095.230985, -------------- SYN_REPORT ------------
Event: time 1715846095.232903, type 4 (EV_MSC), code 4 (MSC_SCAN), value 76
Event: time 1715846095.232903, type 1 (EV_KEY), code 85 (KEY_ZENKAKUHANKAKU), value 1
Event: time 1715846095.232903, -------------- SYN_REPORT ------------

Map the scancode 76 to KEY_F21 to enable the touchpad toggle key.
2024-05-17 14:24:20 +09:00
Michał Kopeć
f5c8dd85ee hwdb.d/60-keyboard.hwdb: enable Clevo quirk for model V5x0TU
Enable the display switch function key quirk for a new model.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-05-15 20:25:03 +02:00
Luca Boccassi
753fb03df6 Update hwdb
ninja -C build update-hwdb
2024-05-14 17:00:29 +01:00
KayJay7
1642b7b3ac
hwdb: ASRock LED Controller classified incorrectly as joystick due to buttons and axis (#32775)
The function `builtin-input_id` incorrectly identifies the ASRock LED Controller
as an input device due to the presence of buttons and axis. To fix this we add
a new rule in `hwdb.d/60-input-id.hwdb`.
The properties have been set to empty instead of `0` because some programs
might check if the value is set at all instead of checking its value, as discussed
in #32773.

The device has no real keys. The devices is controlled by i2c interface and some
settings in UEFI, and it provides an header to connect LED strips and similar devices.
I suppose it's possible that ASRock intended to connect devices with buttons for
controlling LEDs to it, but: (i) the controller itself does not have key, (ii) to my
knowledge no such device exists. So I think we can unset that property as well.
On a sidenote, unsetting those properties does not affect the i2c interface,
OpenRGB still interacts normally with the device.

Fixes #32773.
2024-05-13 22:49:07 +09:00
Yu Watanabe
0831c99104 hwdb: ID_INPUT_XYZ allows an empty string
This is for making CIs for #32775 green.
2024-05-13 15:18:37 +02:00
zeroskyx
fa8f2a948c
hwdb: updated Librem 11 accelerometer (#32772) 2024-05-13 02:46:19 +09:00
mburucuyapy
ab55175e0f
hwdb: update Dere N12 / Juno Tablet 3 accelerometer (#32765) 2024-05-13 02:45:36 +09:00
Lucas Salles
6915e6d914 Fix Positivo N14EPE and N15EPE key toggle touchpad and search key 2024-05-11 00:30:59 +09:00
Maciej S. Szmigiero
7b1768f0a0 hwdb: Add a Logitech MX Master 3S (connected via Bolt Receiver)
The mouse technically has settable DPI between 200 and 8000, with a step of
50, but 1000 DPI is the default setting.
And if someone customizes the mouse DPI setting they can make a custom hwdb
rule too.
2024-05-08 14:20:44 +02:00
Takashi Sakamoto
9223a4993a hwdb: ieee1394-unit-function: add Tascam IF-FW/DM mkII
Jörg M. Sigle contriutes configuration ROM image for Tascam IF-FW/DM mkII,
which includes a quirk that the values of model fields in both root and
unit directory entries are different. In device attributes, it appears
that the value of model attribute in unit device is different from the one
in node device.

This commit adds hwdb entry for the model.
2024-05-07 14:13:03 +09:00
Hans de Goede
5a99749453 hwdb: Add mapping for Xiaomi Mipad 2 bottom bezel capacitive buttons
The Xiaomi Mipad2 tablet has 3 capacitive buttons at the bottom.
These 3 buttons are handled by the touchsceen (the touchscreen extends
downwards to cover the bottom bezel).

By default these send Windows specific shortcuts which do not work
with Linux desktop environments:

Menu: LeftMeta + S
Home: LeftCtrl + Esc
Back: Backspace

Map these to menu / leftmeta (Windows key / Win 8 tablet home button key) /
back.
2024-05-05 22:42:13 +02:00
Saliba-san
a6ab3053aa
hwdb: Add mapping for Samsung GalaxyBook - 550X (#32616)
- Kernel: linux-6.8.8-arch
- systemd: 255.5-3-arch
- Laptop: Samsung GalaxyBook - NP550XDA-KF1BR

This is the solution to a problem with the Samsung GalaxyBook in which some Media keys,
when pressed and released, get stuck as if they are hold.
2024-05-02 04:54:32 +09:00
Maciej S. Szmigiero
26b69915fb hwdb: Add a common Logitech M185/M225 mouse variant
Measured/tested on a Logitech N1901 mouse that apparently identifies as
one.
2024-04-28 13:32:40 +02:00
Luca Boccassi
3a0e60dbca Update hwdb 2024-04-25 22:23:52 +01:00
Luca Boccassi
56095ad6c0 Update autosuspend hwdb 2024-04-22 14:27:39 +01:00
Luca Boccassi
0760aef76c Update hwdb 2024-04-22 14:27:39 +01:00
Lennart Poettering
03eb843b40 autosuspend: update for v256 2024-04-17 16:23:51 +02:00
Lennart Poettering
3e54d1b633 hwdb: update for v256 2024-04-17 16:23:51 +02:00
Kirk
57cd604fde
hwdb: fix missing colon (#32108)
Missing colon prevents this from working correctly on the Chuwi UBook X and UBook X Pro.
2024-04-05 10:18:59 +09:00
mkubiak
ad248d522b Fixed resolution for pen and touchpad 2024-04-05 02:26:54 +09:00