Skip to content
Snippets Groups Projects
Unverified Commit f46c5d76 authored by Hagen Fritsch's avatar Hagen Fritsch Committed by Alexey Minnekhanov
Browse files

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.
parent 85b2f83b
Branches
No related tags found
No related merge requests found
Pipeline #203400 passed
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment