Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active May 26, 2021 10:30
Show Gist options
  • Save tstellanova/818a0d4533406b519df4 to your computer and use it in GitHub Desktop.
Save tstellanova/818a0d4533406b519df4 to your computer and use it in GitHub Desktop.
Enable and Disable HDMI display on Jetson TK1

All operations as root:

turn off HDMI:

echo -1 > /sys/kernel/debug/tegra_hdmi/hotplug
echo 4 > /sys/class/graphics/fb0/blank

turn on HDMI:

echo 1 > /sys/kernel/debug/tegra_hdmi/hotplug
echo 0 > /sys/class/graphics/fb0/blank
@vivekmids
Copy link

Is this safe to do in jetson tx2 as well?

@epleterte
Copy link

epleterte commented Mar 5, 2021

Seems to work well on TX2 as well (I'm turning it off - it hangs a bit sometimes, but that's because of i2c timeouts that I get rid of by disabling display that is not there and thus avoiding the polling).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment