|
|
|
@ -99,7 +99,7 @@ ko_update_check() {
|
|
|
|
|
export FBINK_NAMED_PIPE="/tmp/koreader.fbink"
|
|
|
|
|
rm -f "${FBINK_NAMED_PIPE}"
|
|
|
|
|
# We'll want to use REAGL on sunxi, because AUTO is slow, and fast merges are extremely broken outside of REAGL...
|
|
|
|
|
eval "$(fbink -e | tr ';' '\n' | grep -e isSunxi | tr '\n' ';')"
|
|
|
|
|
eval "$(./fbink -e | tr ';' '\n' | grep -e isSunxi | tr '\n' ';')"
|
|
|
|
|
# shellcheck disable=SC2154
|
|
|
|
|
if [ "${isSunxi}" = "1" ]; then
|
|
|
|
|
PBAR_WFM="REAGL"
|
|
|
|
@ -336,7 +336,7 @@ ko_do_fbdepth() {
|
|
|
|
|
|
|
|
|
|
# On color panels, we target 32bpp for, well, color, and sane addressing (it also happens to be their default) ;o).
|
|
|
|
|
# Also, the current lineup of MTK + Kaleido devices doesn't even *support* switching to 8bpp anymore.
|
|
|
|
|
eval "$(fbink -e | tr ';' '\n' | grep -e hasColorPanel | tr '\n' ';')"
|
|
|
|
|
eval "$(./fbink -e | tr ';' '\n' | grep -e hasColorPanel | tr '\n' ';')"
|
|
|
|
|
# shellcheck disable=SC2154
|
|
|
|
|
if [ "${hasColorPanel}" = "1" ]; then
|
|
|
|
|
echo "Switching fb bitdepth to 32bpp & rotation to Portrait" >>crash.log 2>&1
|
|
|
|
|