ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<) in General Chat Posted February 11, 2018 On 08.02.2018 at 9:36 AM, Saurabh said: Yes I tried changing mode from 1080 to 720p60hz. It was showing same ,"Input not supported" hi there in the file - hdmi.sh error for changing to 720 need to take my #!/bin/sh bpp=32 #bpp=24 #mode=1080p60hz mode=720p60hz case $mode in 1080*) fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp fbset -fb /dev/fb1 -g 32 32 32 32 32 echo $mode > /sys/class/display/mode echo 0 > /sys/class/graphics/fb0/free_scale echo 1 > /sys/class/graphics/fb0/freescale_mode echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis echo 0 > /sys/class/graphics/fb1/free_scale ;; 720*) fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp fbset -fb /dev/fb1 -g 32 32 32 32 32 echo $mode > /sys/class/display/mode echo 0 > /sys/class/graphics/fb0/free_scale echo 1 > /sys/class/graphics/fb0/freescale_mode echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis echo 0 > /sys/class/graphics/fb1/free_scale ;; esac # Enable framebuffer device echo 0 > /sys/class/graphics/fb0/blank # Blank fb1 to prevent static noise echo 1 > /sys/class/graphics/fb1/blank echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink #/etc/webmin/start & #su -c 'hciattach /dev/ttyS1 any' 1
ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)
in General Chat
Posted
hi there in the file - hdmi.sh error for changing to 720 need to take my
#!/bin/sh
bpp=32
#bpp=24
#mode=1080p60hz
mode=720p60hz
case $mode in
1080*)
fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp
fbset -fb /dev/fb1 -g 32 32 32 32 32
echo $mode > /sys/class/display/mode
echo 0 > /sys/class/graphics/fb0/free_scale
echo 1 > /sys/class/graphics/fb0/freescale_mode
echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis
echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis
echo 0 > /sys/class/graphics/fb1/free_scale
;;
720*)
fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp
fbset -fb /dev/fb1 -g 32 32 32 32 32
echo $mode > /sys/class/display/mode
echo 0 > /sys/class/graphics/fb0/free_scale
echo 1 > /sys/class/graphics/fb0/freescale_mode
echo 0 0 1279 719 > /sys/class/graphics/fb0/free_scale_axis
echo 0 0 1279 719 > /sys/class/graphics/fb0/window_axis
echo 0 > /sys/class/graphics/fb1/free_scale
;;
esac
# Enable framebuffer device
echo 0 > /sys/class/graphics/fb0/blank
# Blank fb1 to prevent static noise
echo 1 > /sys/class/graphics/fb1/blank
echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
#/etc/webmin/start &
#su -c 'hciattach /dev/ttyS1 any'