Touchpad shows as a Battery | Kinoite |

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 ?

1 Like

Can you post a screenshot?

Of course :

It’s also showing in Energy app :

1 Like

Might post the output of lscpci and lsusb?

There isn’t a lscpi command, I think you meant lspci:

00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06)
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 06)
00:00.3 System peripheral: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 06)
00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 06)
00:11.0 Unclassified device [0050]: Intel Corporation Celeron/Pentium Silver Processor Integrated Sensor Solution (rev 06)
00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 06)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 06)
00:17.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 4 (rev 06)
00:17.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 5 (rev 06)
00:17.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 6 (rev 06)
00:17.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 7 (rev 06)
00:18.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 06)
00:1e.0 SD Host controller: Intel Corporation Device 31d0 (rev 06)
00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor PCI-default ISA-bridge (rev 06)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)

And lsusb :

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/.

1 Like

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.

3 Likes

Can you open the bug in bugzilla please ? I’m not sure how to do it right.

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 is a linkt to file a bug for the kernel in Fedora: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=kernel

1 Like

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.

How can I install another kernel in Kinoite ?

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


The command from here (Frequently Asked Questions (FAQ) :: Fedora Docs) doesn’t work neither :

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

rpm-ostree override replace <kernel-packages>.rpm should work.

1 Like