-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(RHEL-5950) Update HWDB #293
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes #23066. (cherry picked from commit f1c73e5) Related: RHEL-5950
(cherry picked from commit 4dbcb5d) Related: RHEL-5950
…in-1 Add a quirk for the accelerometer orientation for the Acer Switch V 10 SW5-017 2-in-1. (cherry picked from commit 493f67d) Related: RHEL-5950
(cherry picked from commit 58dad4d) Related: RHEL-5950
For these devices the axes are setup via a special configuration tool. udev should not apply additional fuzz or deadzone. Reference for the product IDs: https://granitedevices.com/wiki/Simucube_product_USB_interface_documentation This also indicates that there are a total of 8 axes. (cherry picked from commit f5ae7f4) Related: RHEL-5950
This adds the [Elgato Stream Pedal](https://www.elgato.com/en/stream-deck-pedal) as part of the supported family (cherry picked from commit bcad98e) Related: RHEL-5950
(cherry picked from commit cb8d22f) Related: RHEL-5950
(cherry picked from commit 9b97984) Related: RHEL-5950
(cherry picked from commit 1feb974) Related: RHEL-5950
(cherry picked from commit 6706575) Related: RHEL-5950
This solves Debian Bug report 1008760: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008760. Solution was inspired by this kernel bug report message: https://bugzilla.kernel.org/show_bug.cgi?id=204967#c15. My measured pad dimensions with a ruler were 85x44mm. But I decided to take the 2x size reported by the current kernel when invoking the touchpad-edge-detector command from the libdev-tools package. Because this comment claims that the old vs new kernel reportings differ by factor 2: https://bugzilla.kernel.org/show_bug.cgi?id=204967#c3 . Therefore I have used this command to get the new entry to 60-evdev.hwdb: "root@pb:~# touchpad-edge-detector 80x34 /dev/input/event2 Touchpad ETPS/2 Elantech Touchpad on /dev/input/event2 Move one finger around the touchpad to detect the actual edges Kernel says: x [0..1254], y [0..528] Touchpad sends: x [0..2472], y [-524..528] -^C Touchpad size as listed by the kernel: 40x17mm User-specified touchpad size: 80x34mm Calculated ranges: 2472/1052 Suggested udev rule: # <Laptop model description goes here> evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnPackardBell:bvrV1.21:bd08/09/2012:br21.240:svnPackardBell:pnEasyNoteTS11HR:pvrV1.21:rvnPackardBell:rnSJV50_HR:rvrBaseBoardVersion:cvnPackardBell:ct10:cvrV1.21:* EVDEV_ABS_00=0:2472:31 EVDEV_ABS_01=-524:528:31 EVDEV_ABS_35=0:2472:31 EVDEV_ABS_36=-524:528:31 " (cherry picked from commit d8100dd) Related: RHEL-5950
…5724) (cherry picked from commit e4970f5) Related: RHEL-5950
(cherry picked from commit c31e7bf) Related: RHEL-5950
Also mention Dell DualPoint Stick in the comment. (cherry picked from commit 1d541cc) Related: RHEL-5950
(cherry picked from commit a76d7ac) Related: RHEL-5950
Closes #25782. (cherry picked from commit 53a568f) Related: RHEL-5950
The [kernel documentation][0] for the in_proximity_nearlevel sysfs attribute on iio proximity devices states: If the value read from the sensor is above or equal to the value in this file an object should typically be considered near. Meaning a 'greater than or equal to' comparison. Make the documentation comment in 60-sensors.hwdb suggest a greater-or-equal rather than a strict greater-than comparison. [0]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio-proximity Fixes #25793 (cherry picked from commit 71a639d) Related: RHEL-5950
…SI laptops The MSI Summit E16 Flip A12UCT laptop sends the following unmapped atkbd scancodes: 0x91: Launch MSI Control Center 0xf1: Toggle mic mute 0xf2: Rotate screen The 0x91, 0xf1 and 0xf2 codes are already present in the MSI Prestige/Modern series specific keymappings and the 0xf1 mapping is also already present in the MSI Bravo 15-B5DX FnKeys entry. This shows that these are generic to many MSI models, so add mappings for these to the generic MSI mappings. Since the MSI Bravo 15-B5DX FnKeys entry only contains the 0xf1 mapping and that is covered by the generic MSI mappings now, that entry is removed. Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/822 Link: https://bugzilla.kernel.org/show_bug.cgi?id=216824 (cherry picked from commit ec6267e) Related: RHEL-5950
(cherry picked from commit cb6f38b) Related: RHEL-5950
Updated DBook D10 / Juno Tablet. Before the bvr (bios version) was hard coded to v1.05. This will read all versions (cherry picked from commit 8d885b4) Related: RHEL-5950
Latest BIOS of X98 Air 3G has later date, that's why it wasn't recognized. Uses the same Matrix as the X89 (E7ED). (cherry picked from commit c3950f0) Related: RHEL-5950
Fixes test failures. Follow-up for c3950f0 and systemd/systemd#25908 (cherry picked from commit de712a8) Related: RHEL-5950
(cherry picked from commit a554057) Related: RHEL-5950
(cherry picked from commit 6152de2) Related: RHEL-5950
Dell would like to disable screen rotation for the platform eternally. Mark the aceel sensor location base to disable it. (cherry picked from commit 8d4f133) Related: RHEL-5950
(cherry picked from commit c9c35a3) Related: RHEL-5950
add Dell G16 series to use the mic mute hotkey. (cherry picked from commit 9ca3bfb) Related: RHEL-5950
There is a later model version of the Chuwi Hi10X that has significantly changed components compared to the existing hwdb one. Differentiator (on Chuwi forums, in thesofproject, etc.) is the N4120 rather than the N4100 processor. The svn and pn seem to be identical, my Chuwi Hi10X matches with the old model except for the changed KIOX000A* iio sensor. With the added ACCEL_MOUNT_MATRIX, my device works on gnome and has the correct (right-up) output in monitor-sensors. (cherry picked from commit 5d288d2) Related: RHEL-5950
(cherry picked from commit 5e717db67c33f1dd55692da1dbba97c3743547db) Related: RHEL-5950
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. (cherry picked from commit 341f04fa330a1c893b80b12c44f91db4c35fb50a) Related: RHEL-5950
(cherry picked from commit a76d88644fba8fd44707d75f89156423c6072b2f) Related: RHEL-5950
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 (cherry picked from commit 4ee0ac1ae426f4169a6c79ac732a6da903ca218f) Related: RHEL-5950
(cherry picked from commit c1eb4cdd3b933afef2fb9f6f14ba0f9383e08afe) Related: RHEL-5950
(cherry picked from commit 3faee9928de01ada0f08160cdfa308f044b84700) Related: RHEL-5950
Default mapping for position sensor in StarLabs StarLite does not match screen orientation. Added fixed mapping matrix. (cherry picked from commit 1bd5db86f50feb2efd8e54e8156816d9727f6f2f) Related: RHEL-5950
This rule might also apply to the regular Model O (no minus), which has the same specifications. (cherry picked from commit cd8eb9605f1a1f2fe1180382201d23548cad7a1c) Related: RHEL-5950
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 (cherry picked from commit c214c4a8a768a82fa3c365e1d75fc4662bdc3216) Related: RHEL-5950
(cherry picked from commit 57caff009edb6fb3287dbba6c6058bf7e623eb24) Related: RHEL-5950
- 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 (cherry picked from commit 13e9ec55cdec2f78d9b32675012bf34bf427dfe4) Related: RHEL-5950
This reverts commit 1bd5db86f50feb2efd8e54e8156816d9727f6f2f. 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> (cherry picked from commit d350651c47da0377d835b926d6cabe292f10c745) Related: RHEL-5950
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> (cherry picked from commit 8891f9332f8b38b37db54ef8d0d8ed2d05e2f702) Related: RHEL-5950
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> (cherry picked from commit 3585e5588100e10b453afd6c8f1325581885c09f) Related: RHEL-5950
(cherry picked from commit 643347ed61c6e6654a102ce2fa5c62627e135037) Related: RHEL-5950
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> (cherry picked from commit 23f5f827562bc4a2a5c12ca906eeab2a7d497d3c) Related: RHEL-5950
(cherry picked from commit 2cf425ec573b8f67025c5e74cd267015129e7349) Related: RHEL-5950
(cherry picked from commit af5195f7a60a06af4135d5b75baae3935252abcd) Related: RHEL-5950
(cherry picked from commit 1392b9fad29891fe39e26f42d62477e52367dd4c) Resolves: RHEL-5950
Hwdb call for hidraw subsystem is missing and AV controller devices defined in hwdb.d/70-av-production.hwdb never get the proper permissions for /dev/hidraw*. This patch implements hwdb execution also for hidraw devices. (cherry picked from commit 43ee987) Related: RHEL-5950
Apparently, the automation can't handle so many commits, I'll try to have a look, but for now, I'll do a manual verification. @msekletar, Could you please have a look at the changes? Thank you |
jamacku
approved these changes
Aug 9, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is huge, but it's touching only HWDB stuff, and it seems OK. LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves: RHEL-5950