Files
MiPi_TEST/cycle.sh

15 lines
410 B
Bash
Raw Permalink Normal View History

2026-05-26 17:33:02 +02:00
#!/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."