Install this version:
emerge -a =sys-power/acer-wmi-battery-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-power/acer-wmi-battery-9999
Or alternatively:
emerge --autounmask-write -a =sys-power/acer-wmi-battery-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 linux-mod-r1
DESCRIPTION="Linux kernel driver for Acer laptop battery health control WMI interface"
HOMEPAGE="https://github.com/frederik-h/acer-wmi-battery"
EGIT_REPO_URI="https://github.com/frederik-h/acer-wmi-battery.git"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
CONFIG_CHECK="~ACPI_WMI"
pkg_setup() {
linux-mod-r1_pkg_setup
}
src_prepare() {
sed -i "s|\$(shell uname -r)|${KV_FULL}|g" Makefile || die
default
}
src_compile() {
local modlist=( "acer-wmi-battery" )
linux-mod-r1_src_compile
}
src_install() {
linux-mod-r1_src_install
}