raspberry-pi-hdmiIf you have ever played around with a Raspberry Pi, you have also experienced the ‘missing HDMI output’ issue.

Basically, the HDMI output of the Raspberry Pi is only activated if  a monitor or television is connected and powered up before the Raspberry Pi is turned on.

If you are using your Raspberry Pi with a television, this can be very bothersome. Fortunately, there is an easy fix which will force the HDMI output to be turned on, no matter if a screen is connected or not. By following these simple steps, you will be able to turn on your Raspberry Pi when the TV or monitor is turned off or not connected, and still get a working HDMI output when you turn on or connect a display afterwards.

Step by step solution: Force HDMI

  1. Power up your Raspberry Pi and open a terminal
  2. Open the Raspberry Pi configuration file for editing with this command:
    sudo nano /boot/config.txt
  3. Use arrows to get to the end of the file and add these 3 lines:
    #Always force HDMI output and enable HDMI sound
  4. Save the changes by pressing CTRL + O
  5. Exit the editor by pressing CTRL + X

You can now reboot your Rapberry Pi and enjoy the possibility of hot plugging or turning on HDMI screen whenever you want, as the HDMI is forced to be always activated.

If you are using a normal monitor instead of a television, you may want to leave out the line ‘hdmi_drive=2’, as this forces HDMI mode rather than DVI mode. The main difference here is that HDMI mode enables sound through the HDMI connectection, which DVI does not.

I hope that this helps you to get rid of the bothersome and countless forced reboots caused when unintentionally starting the original Raspberry Pi image without a live HDMI screen connected.

By at .