Bug 2302776
Summary: | Touchpad shown as a battery | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Clément Villemur <villemurclement> | ||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 40 | CC: | acaringi, airlied, alciregi, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7, villemurclement | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2024-08-06 13:06:43 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Clément Villemur
2024-08-05 06:14:32 UTC
I've unfortunately made this bug private but I don't know how to make it public again. (In reply to Villemur Clément from comment #1) > I've unfortunately made this bug private but I don't know how to make it > public again. Ok I've opened this up now. Note that the 04F3:2A00 device is actually the touchscreen, not the touchpad: août 05 08:07:39 kernel: input: ELAN1001:00 04F3:2A00 Touchscreen as /devices/pci0000:00/0000:00:17.0/i2c_designware.0/i2c-0/i2c-ELAN1001:00/0018:04F3:2A00.0002/input/input16 This is a well known issue with Elan touchscreens and the kernel already has a long list of quirks to disable the broken battery reporting on these. I have prepared a patch to just ignore the HID battery reporting on all Elan I2C-HID devices instead of adding yet another quirk. Here is a test build of the latest F40 kernel with that patch added: https://koji.fedoraproject.org/koji/taskinfo?taskID=121520758 Note this is still building atm, it should be finished in a couple of hours. Please give this a try and let me know it resolves the issue. Here are some generic instructions for installing a kernel directly from koji (Fedora's buildsystem): https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt Created attachment 2043513 [details]
HID: Ignore battery for all ELAN I2C-HID devices
This is the patch added to the test kernel.
How can I install this kernel ? "sudo rpm -ivh --oldpackage kernel*.rpm" don't work on Fedora Kinoite due to the immutable system. I tried to use this command "rpm-ostree override replace *" (https://docs.fedoraproject.org/en-US/fedora-kinoite/getting-started/#package-layering) but it don't work because of those errors : error: Could not depsolve transaction; 2 problems detected: Problem 1: package kernel-6.9.12-200.fc40.x86_64 from @System requires kernel-core-uname-r = 6.9.12-200.fc40.x86_64, but none of the providers can be installed - cannot install both kernel-core-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-core-6.9.12-200.fc40.x86_64 from @System - cannot install both kernel-core-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-core-6.9.12-200.fc40.x86_64 from updates - conflicting requests Problem 2: package kernel-modules-extra-6.9.12-200.fc40.x86_64 from @System requires kernel-modules-uname-r = 6.9.12-200.fc40.x86_64, but none of the providers can be installed - cannot install both kernel-modules-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-modules-6.9.12-200.fc40.x86_64 from @System - cannot install both kernel-modules-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-modules-6.9.12-200.fc40.x86_64 from updates - conflicting requests The documentation (https://coreos.github.io/rpm-ostree/administrator-handbook/#override-rpm-files) says that I need to do "rpm-ostree install --force-replacefiles <pkg>" to override the kernel. But it seems that --force-replacefiles isn't working because I get the exact same output with and without --force-replacefile : error: Could not depsolve transaction; 3 problems detected: Problem 1: cannot install both kernel-modules-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-modules-6.9.12-200.fc40.x86_64 from @System - conflicting requests Problem 2: cannot install both kernel-core-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-core-6.9.12-200.fc40.x86_64 from @System - conflicting requests Problem 3: cannot install both kernel-modules-core-6.9.12-200.bz2302776.fc40.x86_64 from @commandline and kernel-modules-core-6.9.12-200.fc40.x86_64 from @System - conflicting requests Villemur, thank you for trying. I'm pretty confident my patch will fix this and it has been accepted upstream now. So given the troubles with trying to install the test kernel I believe it is ok to just skip testing that. Since my approach of just ignoring any batteries on all Elan I2C-HID driver the fix has been queued for the 6.12 kernel cycle, so unfortunately it will be a while before this show up in Fedora. In the mean time you can just ignore the extra battery, it should disappear in about 20 weeks from now. |