Browse Source

tvservice doesn't work

main
Hendrik Langer 6 years ago
parent
commit
cc31f2bb5f
  1. 6
      raspberry-environment/display.py

6
raspberry-environment/display.py

@ -190,7 +190,7 @@ if __name__ == '__main__':
subprocess.run(['ln', '-s', g+"functions/hid.usb0", g+"configs/c.1"], shell=False, check=True)
subprocess.run(['ln', '-s', g+"configs/c.1", g+"os_desc"], shell=False, check=True)
# subprocess.run(['ln', '-s', g+"configs/c.1", g+"os_desc"], shell=False, check=True)
subprocess.run(['ls /sys/class/udc/ > '+g+'UDC'], shell=True, check=True)
# RNDIS OS descriptors
@ -202,8 +202,8 @@ if __name__ == '__main__':
#os_echo(g+"functions/rndis.usb0/os_desc/interface.rndis/compatible_id", "RNDIS")
#os_echo(g+"functions/rndis.usb0/os_desc/interface.rndis/sub_compatible_id", "5162001")
subprocess.run(['tvservice', '-p'], shell=False, check=False)
subprocess.run(['fbset', '-fb', '/dev/fb0', '-depth', '16'], shell=False, check=False)
# subprocess.run(['tvservice', '-p'], shell=False, check=False)
# subprocess.run(['fbset', '-fb', '/dev/fb0', '-depth', '16'], shell=False, check=False)
#tvservice -p
# tvservice -e "DMT 82"

Loading…
Cancel
Save