|
|
@ -252,8 +252,10 @@ if __name__ == '__main__': |
|
|
|
_stdout, _stderr = p.communicate() |
|
|
|
if (len(_stdout) > 0 and _stdout == fallback_str): |
|
|
|
subprocess.run('tvservice --explicit="CEA 16 HDMI"', shell=True, check=False) |
|
|
|
subprocess.run(['fbset', '-fb', '/dev/fb0', '-depth', '16'], shell=False, check=False) |
|
|
|
subprocess.run(['fbset', '-fb', '/dev/fb0', '-depth', '32'], shell=False, check=False) |
|
|
|
#subprocess.run(['fbset', '-fb', '/dev/fb0', '-depth', '16'], shell=False, check=False) |
|
|
|
time.sleep(0.5) |
|
|
|
subprocess.run('fbset -fb /dev/fb0 -a -g 1920 1080 1920 1080 32', shell=True, check=False) |
|
|
|
time.sleep(0.5) |
|
|
|
|
|
|
|
|
|
|
|
def callback(paths): |
|
|
|