eink-vnc
eink-vnc copied to clipboard
Kobo Glo (N613): Wrong screen rotation
Thanks for this program.
/sys/class/graphics/fb0/rotate
, on imx507 devices and most other Kobos, is set to 3
for the screen to be in an upright orientation (UR).
On my Glo it shows rotated vertically because you set it to 1
.
Refer to this script's excerpt for developing a fix:
Some devices codenames (emu
, bpi
, kt
) can be ignored.
if [ "${DEVICE}" == "n705" ] || [ "${DEVICE}" == "n905b" ] || [ "${DEVICE}" == "n905c" ] || [ "${DEVICE}" == "n613" ]; then
FB_UR=3
elif [ "${DEVICE}" == "n306" ]; then
FB_UR=3
elif [ "${DEVICE}" == "n873" ]; then
FB_UR=0
elif [ "${DEVICE}" == "emu" ]; then
FB_UR=0
ifconfig eth0 up
udhcpc -i eth0
elif [ "${DEVICE}" == "bpi" ]; then
FB_UR=0
elif [ "${DEVICE}" == "n236" ] || [ "${DEVICE}" == "n437" ]; then
FB_UR=3
elif [ "${DEVICE}" == "kt" ]; then
FB_UR=1
else
FB_UR=0
fi
echo ${FB_UR} > /sys/class/graphics/fb0/rotate
Yes, I'll deal with this once my work station is back up and operational. Thanks for the report!