asus-ec-sensors-plus-dkms
LOW
maintainer Grakul
0 votes
scanned 2026-10-25 19:43:04.801001
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Eugene Flanagin <eflanagin@pm.me>
2
#
3
# asus-ec-sensors-plus: the Linux asus-ec-sensors hwmon driver plus extra
4
# ASUS boards (first: TUF GAMING X870-PRO WIFI7 W NEO), read-only EC access
5
# for bank-0 boards, as a DKMS package.
6
#
7
# Building before a GitHub release exists (or from your own changes):
8
# tools/build-local-pkg.sh (packs the git checkout, then runs makepkg)
9
10
pkgname=asus-ec-sensors-plus-dkms
11
_repo=asus-ec-sensors-plus
12
_dkmsname=asus-ec-sensors-plus
13
pkgver=0.1.1
14
pkgrel=1
15
pkgdesc="ASUS motherboard EC sensors (VRM, CPU, motherboard, CPU_OPT fan) for boards not yet in the kernel, e.g. TUF GAMING X870-PRO WIFI7 W NEO; read-only DKMS build of asus-ec-sensors"
16
arch=('any')
17
url="https://github.com/eugenesflanagin-spec/${_repo}"
18
license=('GPL-2.0-only')
19
depends=('dkms')
20
optdepends=('lm_sensors: the "sensors" command to read the values'
21
'linux-headers: build the module for the stock Arch kernel')
22
conflicts=('asus-ec-sensors-dkms-git' 'asus-ec-sensors-x870tuf-dkms')
23
source=("${_repo}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
24
sha256sums=('0ae073c61d99bb1e735b9697fce9401c609a83ee32b70ae6a123205f7a5adf9b')
25
26
prepare() {
27
cd "${_repo}-${pkgver}/module"
28
# the three version numbers must agree, or DKMS keeps an old build
29
# (the "same-version rebuild trap")
30
[ "$(cat VERSION)" = "${pkgver}" ] || { echo "module/VERSION is not ${pkgver}"; return 1; }
31
grep -qx "PACKAGE_VERSION=\"${pkgver}\"" dkms.conf || { echo "dkms.conf version is not ${pkgver}"; return 1; }
32
}
33
34
package() {
35
cd "${_repo}-${pkgver}"
36
local dest="${pkgdir}/usr/src/${_dkmsname}-${pkgver}"
37
install -Dm644 -t "${dest}" module/asus-ec-sensors.c module/Kbuild module/Makefile module/VERSION module/dkms.conf
38
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md CHANGELOG.md CREDITS.md
39
install -Dm755 tools/ec-sample.sh "${pkgdir}/usr/share/doc/${pkgname}/ec-sample.sh"
40
# example only - NOT installed into /etc/modprobe.d (see README "bank_switch")
41
install -Dm644 examples/asus-ec-sensors-plus.conf "${pkgdir}/usr/share/doc/${pkgname}/examples/asus-ec-sensors-plus.conf"
42
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-25 19:43:04 | Low | 1 |