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:
parent
85b2f83b9d
commit
f46c5d762e
1 changed files with 5 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue