summaryrefslogtreecommitdiff
path: root/bin
diff options
authorUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-03-01 15:25:21 +0000
committerUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-03-01 15:25:21 +0000
commitd0f6ab7f574cbaff3f843934b015f883cdd93ae6 (patch)
tree5b7812668ac5a22cee4f16044bdaab796c12b448 /bin
parenta924f1bf73787b8a0bb2cee8c990768f59010600 (diff)
parent042bf39bb2058e36f88df5d89155c3c4dbb6fe9e (diff)
Merge #416196 from ~kissiel/plainbox-provider-checkbox:zapperify-edid
Diffstat (limited to 'bin')
-rwxr-xr-xbin/edid_cycle.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/edid_cycle.py b/bin/edid_cycle.py
index e327cb0..64069cf 100755
--- a/bin/edid_cycle.py
+++ b/bin/edid_cycle.py
@@ -3,12 +3,10 @@
This program tests whether the system changes the resolution automatically
when supplied with a new EDID information.
-To run the test RaspberryPi equipped with a HDMI->CSI-2 bridge is needed. See
-here for details:
-https://docs.google.com/document/d/1kjgaazt2IMskn_HPjN7adXYx1O5zXc39DRayZ0PYh9Y
+To run the test you need Zapper board connected and set up.
The command-line argument for the program is the address of the RaspberryPi
-Host (optionally with a username), e.g.: pi@192.168.1.100
+Host (optionally with a username), e.g.: ubuntu@192.168.1.100
"""
import os
import re
@@ -28,8 +26,7 @@ def check_resolution():
def change_edid(host, edid_file):
with open(edid_file, 'rb') as f:
- cmd = ['ssh', host, '/snap/bin/pigbox', 'run',
- '\'v4l2-ctl --set-edid=file=-,'
+ cmd = ['ssh', host, '\'v4l2-ctl --set-edid=file=-,'
'format=raw --fix-edid-checksums\'']
subprocess.check_output(cmd, input=f.read())