Skip to content
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-49810) Update hwdb #309

Merged
merged 44 commits into from
Jan 7, 2025
Merged

Conversation

jamacku
Copy link
Member

@jamacku jamacku commented Jan 3, 2025

No description provided.

renanglr and others added 30 commits January 3, 2025 14:10
(cherry picked from commit 3a576084e2dcac9ecdace7afb89231b819bc100e)

Resolves: RHEL-49810
Signed-off-by: Filip Lewiński <[email protected]>
(cherry picked from commit 8c7b1401640bcda13ece799a063782e0a608476e)

Resolves: RHEL-49810
Closes #34133.

(cherry picked from commit 16d70515e11697d24f9b12fd803f51386b6183d2)

Resolves: RHEL-49810
Mark those Apple Wireless keyboards as not having a NumLock key:
https://en.wikipedia.org/wiki/Apple_Wireless_Keyboard

You can see that they don't have a NumLock LED because they didn't even
have a NumLock in the first place:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fea6fe7d5ef1b5fa5f78048d4729f85181c04ca

(cherry picked from commit 5a11437e2e39a0dfff53cc5b48f6637177e64fc5)

Resolves: RHEL-49810
(cherry picked from commit d8b4be38ddc5e7cb1dc5e6da9b6e247d6a3d9ffd)

Resolves: RHEL-49810
Some tabs snuck in here, but we don't like tabs in our codebase. Fix
them.

(cherry picked from commit 5446e39e0eb48274d78e09555bc4f0e9b20f110b)

Resolves: RHEL-49810
Signed-off-by: Filip Lewiński <[email protected]>
(cherry picked from commit c3563dc6d999cbc0da30c15e6e9d109021d2bd8e)

Resolves: RHEL-49810
(cherry picked from commit 3f3dc6ab84e1f3cc5371d48ed910044d39f5c033)

Resolves: RHEL-49810
(cherry picked from commit 8ee3d4df80369eee1210dcec680a03994c08a217)

Resolves: RHEL-49810
Wired and 2.4G dongle connectivity is covered by general trackball rule,
but with Bluetooth connectivity Kensington SlimBlade Pro uses the name
"SlimBlade Pro" which doesn't contain "[Tt]rack[Bb]all". We need to
process it specially.

Signed-off-by: Celeste Liu <[email protected]>
(cherry picked from commit 6573f0c82c09001b5f24e44df2cbe40f6f584624)

Resolves: RHEL-49810
Signed-off-by: Marius Hoch <[email protected]>
(cherry picked from commit ff831e7c50350f92a86848b881fa320d528c1bd7)

Resolves: RHEL-49810
This fixes the microphone mute key and NitroSense key for Acer Nitro 5 AN515-47,
so they can be recognized by desktop environments.

(cherry picked from commit 3135a21be422f3c33e445bf249dc5df1a74f9dc0)

Resolves: RHEL-49810
No idea what the right fix is here, the commnt says "touchpad off" but
uses "f22" which is touchpad "on".

let's trust the comment, because it's more literal, and assume this was
a mistake.

(cherry picked from commit d8b1d43758d2815a34b24ade858b98d4cbb048f6)

Resolves: RHEL-49810
…a FIXME suggests that

(cherry picked from commit 81f1aad8ce42a16b1e80ac3525501eb18d32238a)

Resolves: RHEL-49810
The keycode is reletively new. Let's fix some "FIXMEs" and actually make
use of the keycode wherever it appears appropriate according to
commentary.

(cherry picked from commit 427403baa6c3ff256c2cbb855d68c3d01776949d)

Resolves: RHEL-49810
…EENSHOT, KEY_NOTIFICATION_CENTER keycodes where appropriate

According to kernel commit cd80ec795156346236e9b1cd9f5cbff5a9bbd212
these were added expressly for these thinkpads, hence use them now.

(cherry picked from commit ca5f27037b262143ab387ad9916edccfaad2c780)

Resolves: RHEL-49810
(cherry picked from commit db7903e4d40d7a7a0815e6c12d8e4c9aeaa56680)

Resolves: RHEL-49810
(cherry picked from commit f769518c9ac6ca6bef063092ddc0e1718a67f540)

Resolves: RHEL-49810
…rage

This takes the idea from #18595 and implements it based on our current
hwdb: the original PR suggested the keys 66/65 are a generic HP thing,
and not limited to specific laptops. The current specific laptop entries
do not contradict that claim.

Hence, let's move them from the specific sections matching some HP
laptops to the generic section matching all.

This uses the correct key names, which have long been fixed (which used
to be a problem our CI was tripped off by).

This is not tested, but I think fairly risk-less, and should allow us to
get rid of a really old PR.

Replaces: #18595
(cherry picked from commit 93b078c3dd40b10eed34a77d514b1db7493b17cf)

Resolves: RHEL-49810
…42N (#34725)

(cherry picked from commit c2f3cb2676f70823afe7f0fcff8720023dedfab4)

Resolves: RHEL-49810
(cherry picked from commit f2eccaab343601ad687f17cd56201374fc603148)

Resolves: RHEL-49810
ninja -C build update-hwdb-autosuspend

(cherry picked from commit 2f72e94)

Resolves: RHEL-49810
(cherry picked from commit 2e4432507b68e0fe6c89f1900f6f4af0087c6fd5)

Resolves: RHEL-49810
(cherry picked from commit d248e1a8d69ddacf7bb360f0dc1f0c84f7b24ed5)

Resolves: RHEL-49810
ninja -C build update-hwdb

(cherry picked from commit 8e152361e9185faed741bcf95faa44d4f87708b2)

Resolves: RHEL-49810
(cherry picked from commit eb03dffd9794ac7ebfa1995ca9fdf72987b05535)

Resolves: RHEL-49810
ninja -C build update-hwdb

(cherry picked from commit d182ada2c202f5f18e7e0bf1770b95d3e10db642)

Resolves: RHEL-49810
Added rotation information for the new version of Cube Mix Plus (i18D).

(cherry picked from commit a526b9ddfc03a290f20a65c0a73792e73029f1b8)

Resolves: RHEL-49810
The KEY_102ND and KEY_GRAVE keys are switched on the
Logitech MX Keys for Mac, so switch them back

(cherry picked from commit f70e5620b6ac319beac1d5ce26331bdc48d25daa)

Resolves: RHEL-49810
Add accelerometer support for PineTab2

(cherry picked from commit bc4a027f9cb66d56fd1305f41bed25751305fc27)

Resolves: RHEL-49810
bai-yi-bai and others added 14 commits January 3, 2025 14:12
https://www.chuwi.com/product/items/chuwi-hi10-x1.html
Rotated -90 degrees in the Z axis.

(cherry picked from commit 8c18851e7e4563c26ad2b91b4bc3423d2d73b120)

Resolves: RHEL-49810
ninja -C build update-hwdb

(cherry picked from commit 77e0953971ba78d0382f88a35a4762d3bf83ee04)

Resolves: RHEL-49810
According to https://en.wikipedia.org/wiki/3Dconnexion, 3D mice are:
human interface devices for manipulating and navigating
computer-generated 3D imagery. These devices are often referred to as
3D motion controllers, 3D navigation devices, 6DOF devices (six
degrees of freedom) or a 3D mouse.

Applications that want to support 3D mice on Linux are expected to
either use spacenavd and its library, or consume the HID output
directly.

This patch makes it possible for a number of applications that use 3D
mice directly to work out of the box, such as PrusaSlicer and its
derivatives.

(cherry picked from commit e1c681919243daaca35053826686009260f34eaf)

Resolves: RHEL-49810
This adds X/Y fuzz for the Chuwi MiniBook X trackpad.  There is
significant trackpad jitter without this setting applied.

(cherry picked from commit 86b236fe99fa942df39aea5f0a6bde84c6aea7aa)

Resolves: RHEL-49810
ninja -C build update-hwdb

(cherry picked from commit 0d740f4bc0f03b773264ef75eaf1233ffc89c5b2)

Resolves: RHEL-49810
…aming

(cherry picked from commit 9311c28b3407fbad69d0b747129b03ce1c7a6309)

Resolves: RHEL-49810
adding `KEYBOARD_KEY_76` in generic section is causing a regression
in MSI GF63. Moving this down fixes.
This commit also adds a probable KEY Code for MSI GF63 touchpad toggling

(cherry picked from commit 1d771e69b27143a73cf8cc8a4350510ef9aa9f7a)

Resolves: RHEL-49810
HP Elitebook 2170p's keyboard scancodes under coreboot is different
with those under oem firmware. The scan code of backspace key of HP
Elitebook 2170p under coreboot is 0x66, but 93b078c has
KEYBOARD_KEY_66=pickup_phone for general HP laptops, making the
backspace key of the HP Elitebook 2170p running coreboot unusable.

The committed scancodes map KEYBOARD_KEY_66 back to backspace, and
provide all Fn-keys of HP Elitebook 2170p under coreboot.
Their evdev string matches the default SMBIOS tables of coreboot
for Elitebook 2170p, to avoid conflict with HP Elitebook 2170p running
oem firmware.

Fixes #35469 and https://ticket.coreboot.org/issues/571

(cherry picked from commit 93fc2adfa414e4a1b384da56c6e7d9277661ff4b)

Resolves: RHEL-49810
Give access to USB/Bluetooth lights such as the Logitech Litra family of
devices.

The Logitech devices in particular are accessible through USB
and Bluetooth.

(cherry picked from commit 106f64cbd66b8aa76333c3f11177f53e79e2cd82)

Resolves: RHEL-49810
Fixes #35644.

(cherry picked from commit 56785120a03c9fae2dcb9dbafa974d1592d1e628)

Resolves: RHEL-49810
This effectively reverts the commit f70e5620b6ac319beac1d5ce26331bdc48d25daa,
as the entry seems to match multiple models.

Fixes #35691.

(cherry picked from commit 52a2b049476b374dea2efa22d39c5a1944125c47)

Resolves: RHEL-49810
This sensor is the same for Asus's entire Q5##L series, so match accordingly.

Tested with my Q502LAB.

(cherry picked from commit 89c4fe6c211d5e9cb380329f638609dec26bed0a)

Resolves: RHEL-49810
(cherry picked from commit c76a7b7c8ca1aa50aaa60cabbaac554717c8d576)

Resolves: RHEL-49810
(cherry picked from commit 0726d988ec214e19e57929e411988bbedc7409cc)

Resolves: RHEL-49810
@jamacku jamacku added this to the RHEL-9.6.0 milestone Jan 3, 2025
@jamacku jamacku requested a review from dtardon January 3, 2025 13:14
@github-actions github-actions bot changed the title Update hwdb (RHEL-49810) Update hwdb Jan 3, 2025
@github-actions github-actions bot added tracker/invalid-product pr/needs-ci Formerly needs-ci pr/needs-review Formerly needs-review labels Jan 3, 2025
Copy link

github-actions bot commented Jan 3, 2025

Commit validation

Tracker - RHEL-49810

The following commits meet all requirements

commit upstream
7c33d62 - hwdb: Fix accelerometer mount matrix for ASUS T100TAS systemd/systemd@3a57608
d2cbefb - hwdb.d/60-keyboard.hwdb: add Clevo mic mute quirk for V5x dGPU systemd/systemd@8c7b140
bf4e743 - hwdb: add entry for Dell AlpsPS/2 ALPS DualPoint TouchPad systemd/systemd@16d7051
5f9ce6b - hwdb: Mark Apple Wireless keyboards as not having NumLock LED systemd/systemd@5a11437
a37eb24 - update keyboard hwdb to add acer Predator PHN16-72 systemd/systemd@d8b4be3
57f4335 - hwdb: death to tabs! systemd/systemd@5446e39
ecbd88b - _ hwdb.d/60-keyboard.hwdb: add Clevo mic mute quirk for V5x iGPU, NV41P…_ systemd/systemd@c3563dc
4bec24e - Add ACCEL_MOUNT_MATRIX for Chuwi Hi10 Max. systemd/systemd@3f3dc6a
28fe644 - Add HUAWEI MateBook D 15 AMD ACCEL properties systemd/systemd@8ee3d4d
f47d7a6 - hwdb: add Kensington SlimBlade Pro trackball (Bluetooth mode) systemd/systemd@6573f0c
6154d3f - hwdb: Add accel orientation quirk for the IdeaPad Duet 3 10IGL5-LTE systemd/systemd@ff831e7
aad60ad - hwdb: add keymaps for Acer Nitro 5 AN515-47 (#34493) systemd/systemd@3135a21
4816fef - hwdb: make key map match comment for one laptop systemd/systemd@d8b1d43
36ae888 - hwdb: there's KEY_BRIGHTNESS_AUTO these days, hence hook it up where a… systemd/systemd@81f1aad
cf0e969 - hwdb: use KEY_ROTATE_DISPLAY for various cases of display rotation key… systemd/systemd@427403b
1ba0021 - hwbd: use newer KEY_PICKUP_PHONE, KEY_HANGUP_PHONE, KEY_SELECTIVE_SCRE… systemd/systemd@ca5f270
d8973db - hwdb: add SCAI SKU prefix for Samsung keyboard mapping (#34648) systemd/systemd@db7903e
7f410b1 - tree-wide: drop doubled empty lines systemd/systemd@f769518
ea884ed - hwdb: move key 66/65 handling from specific to generic HP laptop cover… systemd/systemd@93b078c
7e123eb - hwdb: fix key toggle touchpad and programmable buttom for Positivo V14… systemd/systemd@c2f3cb2
d7dbc18 - hwdb: add Stream Deck Neo (#34903) systemd/systemd@f2eccaa
776e46c - hwdb: update autosuspend rules systemd/systemd@2f72e94
a97e7ee - hwdb: import newest autosuspend rules from chromeos systemd/systemd@2e44325
9887115 - update hwdb systemd/systemd@d248e1a
2b5d72d - Update hwdb systemd/systemd@8e15236
a83483d - hwdb: fix broken numpad paren keys on Lenovo Thinkbook 16 G6+ 2024 systemd/systemd@eb03dff
76ae1e1 - Update hwdb systemd/systemd@d182ada
f8ce809 - hwdb: add new Cube Mix Plus (i18D) rotation info systemd/systemd@a526b9d
78d41b0 - hwdb: Add quirk for Logitech MX Keys for Mac systemd/systemd@f70e562
565746b - hwdb: add support for PineTab2 to 60-sensor.hwdb (#35304) systemd/systemd@bc4a027
cb7afd0 - hwdb: add entry for Chuwi Hi10 X1 (#35331) systemd/systemd@8c18851
abd7e99 - hwdb: update systemd/systemd@77e0953
726aa84 - hwdb: Make 3D mice work out-of-the-box systemd/systemd@e1c6819
cb5b693 - hwdb: Add Chuwi MiniBook X trackpad fuzz systemd/systemd@86b236f
b3c63f8 - Update hwdb systemd/systemd@0d740f4
b16f00c - hwdb: disable inclusion of the PCI domain in MANA network interface na… systemd/systemd@9311c28
d589122 - hwdb: move down touchpad toggle section from generic to product specif… systemd/systemd@1d771e6
88afde7 - hwdb: add scancodes for HP Elitebook 2170p runnning coreboot systemd/systemd@93fc2ad
a96744b - hwdb: Make remote controllable lights work out-of-the-box systemd/systemd@106f64c
c935ced - hwdb: fix key toggle touchpad for VAIO VJFH52 (#35645) systemd/systemd@5678512
0079298 - hwdb: comment out the entry for Logitech MX Keys for Mac systemd/systemd@52a2b04
dbbda14 - 60-sensor.hwdb: Loosen model mask to include entire series systemd/systemd@89c4fe6
985b677 - Correct ACCEL_MOUNT_MATRIX for Chuwi Hi10 Max systemd/systemd@c76a7b7
6d370b8 - hwdb: Add macro keys for HP 430 Programmable Wireless Keypad systemd/systemd@0726d98

Tracker validation

Success

🟢 Tracker RHEL-49810 has set desired product: rhel-9.6
🟢 Tracker RHEL-49810 has set desired component: systemd
🟢 Tracker RHEL-49810 has been approved
🟠 Tracker RHEL-49810 is missing severity, but it is of type Story


Pull Request validation

Success

🟡 CI - Waived
🟢 Review - Reviewed by a member
🟢 Approval - Changes were approved


Auto Merge

Success

🟢 Pull Request is not marked as draft and it's not blocked by dont-merge label
🟢 Pull Request meet requirements, title has correct form
🟢 Pull Request meet requirements, mergeable is true
🟠 Pull Request meet requirements, mergeable_state is unstable
🟢 Pull Request has correct target branch main
🟢 Pull Request was merged

@jamacku
Copy link
Member Author

jamacku commented Jan 6, 2025

CI failures are unrelated to these changes:

Enrolling secure boot keys from directory: \loader\keys\auto
Failed to write PK secure boot variable: Security violation
systemd-stub@0x67db6000,0x67dce000
Overlapping PE sections detected. Boot may fail due to image memory corruption!

@github-actions github-actions bot removed the pr/needs-ci Formerly needs-ci label Jan 6, 2025
Copy link
Member

@dtardon dtardon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot removed the pr/needs-review Formerly needs-review label Jan 7, 2025
@github-actions github-actions bot merged commit dd3f33f into redhat-plumbers:main Jan 7, 2025
28 of 30 checks passed
@jamacku jamacku deleted the hwdb-9.6 branch January 7, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.