Hi,
I’m using Fedora Kinoite 40 on a HP Probook x360 G5 EE.
When I click on the battery icon, I have my normal battery but my touchpad is detected as a second battery : ELAN1001:00 04F3:2A00
It shows 0% because it’s obviously not a battery.
Is there anything that can be do to not show the touchpad as a battery ?
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 003: ID 05c8:03dc Cheng Uei Precision Industry Co., Ltd (Foxlink) HP HD Camera
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
I hope this helps butt I don’t see anything related to the touchpad in there.
I suspect that this is a kernel bug and the device might be considered having a battery when it does not. Probably best to start by filling a bug for the kernel in bugzilla.
Look if you can find a folder with ELAN in the name in /sys/class/power_supply/.
In /sys/class/power_supply/ there isn’t a folder ELAN but there’s AC, BAT0 and hid-0018:04F3:2A00.0002-battery.
The last one seems to be the touchpad as ELAN1001:00 04F3:2A00 is written inside /sys/class/power_supply/hid-0018:04F3:2A00.0002-battery/model_name.
I don’t have the hardware so I won’t be able to provide the information needed. It’s OK to open a bug as you can, and link it here, and I’ll update what needs to be.
Here’s the bug report : Bug Access Denied
I’ve unfortunately made it private and I don’t know how to make it public again so I hope someone will do it.
The documentation (Client administration | rpm-ostree files) says that I need to do “rpm-ostree install --force-replacefiles ” 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
maledict@device-12:~/Bureau/kernelrpms$ rpm-ostree override replace *
Checking out tree 32bba24... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-08-05T01:40:01Z solvables: 23234
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'updates-archive' (cached); generated: 2024-06-30T05:31:17Z solvables: 22869
Resolving dependencies... done
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