samsung-manta: fix the battery readout driver (MR 4701)

In the mainline ds2482 onewire kernel driver, active_pullup defaults to
1 which is setting the APU register. This caused the connection to the
ds2784_battery slave to be unstable and flaky. In the AOSP manta project
this flag is set to 0 as well.
This commit is contained in:
Hagen Fritsch 2024-01-09 18:54:04 +01:00 committed by Alexey Minnekhanov
parent 85b2f83b9d
commit f46c5d762e
No known key found for this signature in database
GPG key ID: 6FE3B029D9D9FAFF

View file

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