diff --git a/platform/kobo/disable-wifi.sh b/platform/kobo/disable-wifi.sh index c890f30df..32722c0de 100755 --- a/platform/kobo/disable-wifi.sh +++ b/platform/kobo/disable-wifi.sh @@ -35,7 +35,7 @@ fi wpa_cli terminate -[ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && wlarm_le -i "${INTERFACE}" down +[ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && [ "${WIFI_MODULE}" != "8821cs" ] && wlarm_le -i "${INTERFACE}" down ifconfig "${INTERFACE}" down # Some sleep in between may avoid system getting hung diff --git a/platform/kobo/enable-wifi.sh b/platform/kobo/enable-wifi.sh index 3824c3ba7..6c2d8aad8 100755 --- a/platform/kobo/enable-wifi.sh +++ b/platform/kobo/enable-wifi.sh @@ -33,7 +33,7 @@ grep -q "${WIFI_MODULE}" "/proc/modules" || insmod "/drivers/${PLATFORM}/wifi/${ sleep 1 ifconfig "${INTERFACE}" up -[ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && wlarm_le -i "${INTERFACE}" up +[ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && [ "${WIFI_MODULE}" != "8821cs" ] && wlarm_le -i "${INTERFACE}" up pkill -0 wpa_supplicant || env -u LD_LIBRARY_PATH \ diff --git a/platform/kobo/nickel.sh b/platform/kobo/nickel.sh index 7cdf9345f..f3fd54851 100755 --- a/platform/kobo/nickel.sh +++ b/platform/kobo/nickel.sh @@ -5,6 +5,8 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib:" # Meaning we've already got most of the necessary env from nickel itself via both our launcher (fmon/KFMon) and our own startup script. # NOTE: LD_LIBRARY_PATH is the only late export from rcS we don't siphon in koreader.sh, for obvious reasons ;). export LD_LIBRARY_PATH="/usr/local/Kobo" +# Ditto, 4.28+ +export QT_GSTREAMER_PLAYBIN_AUDIOSINK=alsasink # Reset PWD, and clear up our own custom stuff from the env while we're there, otherwise, USBMS may become very wonky on newer FW... # shellcheck disable=SC2164 @@ -54,7 +56,7 @@ if grep -q "sdio_wifi_pwr" "/proc/modules"; then rm -f "/tmp/resolv.ko" fi wpa_cli terminate - [ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && wlarm_le -i "${INTERFACE}" down + [ "${WIFI_MODULE}" != "8189fs" ] && [ "${WIFI_MODULE}" != "8192es" ] && [ "${WIFI_MODULE}" != "8821cs" ] && wlarm_le -i "${INTERFACE}" down ifconfig "${INTERFACE}" down # NOTE: Kobo's busybox build is weird. rmmod appears to be modprobe in disguise, defaulting to the -r flag... # But since there's currently no modules.dep file being shipped, nor do they include the depmod applet,