samsung-a6lte: add workaround for Wi-Fi not connecting (MR 5175)
Shamelessly stolen from https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J7_Pro_(samsung-j7y17lte)#Notes_on_WiFi
This commit is contained in:
parent
6cfa3caffe
commit
dc948f885a
2 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-samsung-a6lte
|
||||
pkgdesc="Samsung Galaxy A6 2018"
|
||||
pkgver=2
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
@ -29,6 +29,7 @@ source="
|
|||
etc-init.d-wlan0-up
|
||||
etc-lightdm-lightdm.conf
|
||||
etc-NetworkManager-conf.d-swlan0-unmanaged.conf
|
||||
etc-NetworkManager-conf.d-wlan0-preserve-mac.conf
|
||||
usr-libexec-samsungipcd-voicecall.sh
|
||||
usr-share-alsa-ucm2-conf.d-Universal7870-I-HiFi.conf
|
||||
usr-share-alsa-ucm2-conf.d-Universal7870-I-Universal7870-I.conf
|
||||
|
@ -54,7 +55,6 @@ package() {
|
|||
install -Dm644 etc-conf.d-samsungipcd "$pkgdir"/etc/conf.d/samsungipcd
|
||||
install -Dm755 etc-init.d-wlan0-up "$pkgdir"/etc/init.d/wlan0-up
|
||||
install -Dm644 etc-lightdm-lightdm.conf "$pkgdir"/etc/lightdm/lightdm.conf
|
||||
install -Dm644 etc-NetworkManager-conf.d-swlan0-unmanaged.conf "$pkgdir"/etc/NetworkManager/conf.d/swlan0-unmanaged.conf
|
||||
install -Dm755 usr-libexec-samsungipcd-voicecall.sh "$pkgdir"/usr/libexec/samsungipcd/voicecall.sh
|
||||
install -Dm644 usr-share-alsa-ucm2-conf.d-Universal7870-I-HiFi.conf "$pkgdir"/usr/share/alsa/ucm2/conf.d/Universal7870-I/HiFi.conf
|
||||
install -Dm644 usr-share-alsa-ucm2-conf.d-Universal7870-I-Universal7870-I.conf "$pkgdir"/usr/share/alsa/ucm2/conf.d/Universal7870-I/Universal7870-I.conf
|
||||
|
@ -90,6 +90,8 @@ downstream_quirks() {
|
|||
install="$subpkgname.post-install"
|
||||
install -Dm755 etc-init.d-udev-settle "$subpkgdir"/etc/init.d/udev-settle
|
||||
install -Dm755 etc-init.d-hciattach-ttySAC0 "$subpkgdir"/etc/init.d/hciattach-ttySAC0
|
||||
install -Dm644 etc-NetworkManager-conf.d-swlan0-unmanaged.conf "$pkgdir"/etc/NetworkManager/conf.d/swlan0-unmanaged.conf
|
||||
install -Dm644 etc-NetworkManager-conf.d-wlan0-preserve-mac.conf "$pkgdir"/etc/NetworkManager/conf.d/wlan0-preserve-mac.conf
|
||||
# we run bootmac ourselves and don't want it to trigger from the udev rule
|
||||
# so remove the rule
|
||||
install -Dm755 /dev/null "$subpkgdir"/usr/lib/udev/rules.d/90-bootmac.rules
|
||||
|
@ -104,6 +106,7 @@ bfe2b5455084554d9dc8d30ec5ff72564cfe9574618d0ccc6d544f336d2869bd18a8617ddb3d5873
|
|||
203b832a7080d5f1351c5e024e444f9fe509f6e0fd4b376a60c7d73359b7e356863a4f15caf9b2e4e733dc44d2971722083e7c69ca94a012eb004b4b8ded9d09 etc-init.d-udev-settle
|
||||
7caddfe4659c969a33adcc27a760bc78d4f70ca4b7a4a5ec28a6411c12f3e6dd6d427b59f75976a737a5fe0f09806f8b6d65798f6358bd1e1954ad2a28fbfdc8 etc-init.d-wlan0-up
|
||||
861270c6bc0b2a3e6cd389c21c8c895e62de8cf8bec6fcf23c178f8cbaae855d62b0ee98692671ab4f518d84cb43dd0b2fe46f5a609f65af6a6c06e0fdbb6d0c etc-lightdm-lightdm.conf
|
||||
5c3a692f22a29fca792c114c6d94ff1bf0d6921f068f207a2894a8f99c73dcc319e7c803ed7adfe64eb3e60088f37e2a2730118b2ed57aa01b35415664085567 etc-NetworkManager-conf.d-wlan0-preserve-mac.conf
|
||||
ef24527b13e48a9153643f3713167d3d08486e7de8b4c94d7c446ff380396115890573d8cd4aa5448766d9e779e189833a83e7921081679bd348c3f8a59410af etc-NetworkManager-conf.d-swlan0-unmanaged.conf
|
||||
abe1c4a2f59fe862cebef75c54b8806bd86ce06aeb15d8c0699ab1338c9d575cb72a4d5b099f94272b1d9c9c3f4960af209a9e058ea9e57733b7d905dad0d33f usr-libexec-samsungipcd-voicecall.sh
|
||||
2169590d10d6123575d43e8ff7dc0d2ba824f8266d9fa75a5b59a4cc5753e47e327368b777082930d6b7a7aed6f57fa6ac2c5a2e816e1e12cd1032a8bb1822b5 usr-share-alsa-ucm2-conf.d-Universal7870-I-HiFi.conf
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[connection]
|
||||
wifi.cloned-mac-address=preserve
|
Loading…
Reference in a new issue