device-samsung-manta: load ds2482 module at boot (MR 5205)

With the current kernel, ds2482 w1<>i2c module is not automatically
loaded at boot, which prevents loading the ds2784 battery module.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Alexandre Marquet 2024-06-05 07:29:10 +02:00 committed by Oliver Smith
parent 647f2bc640
commit ef8e2d0e02
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -4,7 +4,7 @@
pkgname=device-samsung-manta
pkgdesc="Google Nexus 10"
pkgver=7
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -42,6 +42,10 @@ package() {
install -Dm644 "$srcdir"/100-wlan-mac.rules \
-t "$pkgdir"/usr/lib/udev/rules.d/
mkdir -p "$pkgdir"/etc/modules-load.d
echo "ds2482" \
> "$pkgdir"/etc/modules-load.d/ds2482.conf
mkdir -p "$pkgdir"/etc/modprobe.d
echo "options ds2482 active_pullup=0" \
> "$pkgdir"/etc/modprobe.d/ds2482.conf