Jump to content

jjekaa79

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    jjekaa79 got a reaction from Saurabh in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    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'
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines