-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
So I tried this on my Acer Aspire 3 laptop after battery calibration. At first, I thought it did not worked because my battery did not discharged to 80% from 100% (since I just finished recalibrating) so I had to manually discharged the battery (by removing the AC). Then, the terminal just said Skipping BTF generation for acer-wmi-battery.ko due to unavailability of vmlinux on installation and I don't have any idea what that means (I'm still a 2 months old Linux user).
The logs are as follows:
hexer@pop-os:~$ sudo apt install build-essential linux-headers-$(uname -r) git
git clone https://github.com/frederik-h/acer-wmi-battery.git
cd acer-wmi-battery
make
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.16.3-76061603-generic is already the newest version (6.16.3-76061603.202508231538~1757385336~22.04~8f363f2).
build-essential is already the newest version (12.9ubuntu3).
build-essential set to manually installed.
git is already the newest version (1:2.34.1-1ubuntu1.15).
git set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'acer-wmi-battery'...
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 57 (delta 31), reused 23 (delta 23), pack-reused 15 (from 1)
Receiving objects: 100% (57/57), 23.33 KiB | 217.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
make -C /lib/modules/6.16.3-76061603-generic/build M=/home/hexer/acer-wmi-battery modules
make[1]: Entering directory '/usr/src/linux-headers-6.16.3-76061603-generic'
make[2]: Entering directory '/home/hexer/acer-wmi-battery'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.2) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.2) 12.3.0
CC [M] acer-wmi-battery.o
MODPOST Module.symvers
CC [M] acer-wmi-battery.mod.o
CC [M] .module-common.o
LD [M] acer-wmi-battery.ko
BTF [M] acer-wmi-battery.ko
Skipping BTF generation for acer-wmi-battery.ko due to unavailability of vmlinux
make[2]: Leaving directory '/home/hexer/acer-wmi-battery'
make[1]: Leaving directory '/usr/src/linux-headers-6.16.3-76061603-generic'
Metadata
Metadata
Assignees
Labels
No labels