Files
MiPi_TEST/cycle.sh
David Rice 0f7b0e1ac5 Commit
2026-05-26 17:33:02 +02:00

15 lines
410 B
Bash

#!/bin/bash
# Blank/unblank cycle reproducer for the MIPI flicker investigation.
# Each iteration: blank the display, wait 1s, unblank, wait 3s.
# Watch the screen and count cycles that produced visible flicker.
N=${1:-30}
for i in $(seq 1 $N); do
echo "--- cycle $i / $N ---"
echo 4 > /sys/class/graphics/fb0/blank
sleep 1
echo 0 > /sys/class/graphics/fb0/blank
sleep 3
done
echo "done."