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:
parent
647f2bc640
commit
ef8e2d0e02
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue