hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

RasPi only boots correct when HDMI is plugged in

Wed Jan 29, 2020 12:34 pm

It seems that this was an issue some time ago, since most posts about this issue are 5+ years old, but i am encountering now and the given solution to it back in the day don't work for me.

here is what is going on:

i want to let the pi run without a screen connected, but when i boot the pi nothing happens.
when i boot the pi connected to a screen via the hdmi port everything goes as normal,
i can disconnect the hdmi cable at that point and it keeps running as it should.
even the screen has not to be turned on and the pi will boot as it should!
but when there is nothing plugged in, nothing happens.


i'm using a raspberry pi 3B+ & rasbian buster (the version of june 2019)

aBUGSworstnightmare
Posts: 1886
Joined: Tue Jun 30, 2015 1:35 pm

Re: RasPi only boots correct when HDMI is plugged in

Wed Jan 29, 2020 1:02 pm

Add below to config.txt

Code: Select all

  hdmi_force_hotplug 
all details here https://www.raspberrypi.org/documentati ... t/video.md

hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

Re: RasPi only boots correct when HDMI is plugged in

Wed Jan 29, 2020 2:40 pm

it is already in the config folder as

hdmi_force_hotplug = 1

hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

Re: RasPi only boots correct when HDMI is plugged in

Wed Jan 29, 2020 8:03 pm

is it an idea to copy paste the full config.txt in here?

hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

Re: RasPi only boots correct when HDMI is plugged in

Thu Jan 30, 2020 12:22 pm

any engineer that can help me out?

thank you in advance!

User avatar
Burngate
Posts: 6290
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: RasPi only boots correct when HDMI is plugged in

Sun Feb 02, 2020 11:20 am

hansandreasr wrote:
Wed Jan 29, 2020 2:40 pm
it is already in the config folder as

hdmi_force_hotplug = 1
Is it

Code: Select all

#hdmi_force_hotplug=1
or

Code: Select all

hdmi_force_hotplug=1
Removing the # makes it live

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: RasPi only boots correct when HDMI is plugged in

Sun Feb 02, 2020 2:09 pm

hansandreasr wrote:
Wed Jan 29, 2020 2:40 pm
it is already in the config folder as

Code: Select all

hdmi_force_hotplug = 1
Remove the spaces

Code: Select all

hdmi_force_hotplug=1
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

Re: RasPi only boots correct when HDMI is plugged in

Wed Feb 05, 2020 8:14 pm

Burngate wrote:
Sun Feb 02, 2020 11:20 am
hansandreasr wrote:
Wed Jan 29, 2020 2:40 pm
it is already in the config folder as

hdmi_force_hotplug = 1
Is it

Code: Select all

#hdmi_force_hotplug=1
or

Code: Select all

hdmi_force_hotplug=1
Removing the # makes it live
AHA!
this worked!

thx @Burngate !

and

does that mean that removing the "#" always makes the command live in the coinfig folder?
i thought i had to change that number "hdmi_force_hotplug=1" to "hdmi_force_hotplug=0"
to turn it off....
everything starts with the # so i thought that was just code or something...
Last edited by hansandreasr on Wed Feb 05, 2020 8:17 pm, edited 1 time in total.

hansandreasr
Posts: 11
Joined: Mon Nov 16, 2015 9:22 pm

Re: RasPi only boots correct when HDMI is plugged in

Wed Feb 05, 2020 8:16 pm

DougieLawson wrote:
Sun Feb 02, 2020 2:09 pm
hansandreasr wrote:
Wed Jan 29, 2020 2:40 pm
it is already in the config folder as

Code: Select all

hdmi_force_hotplug = 1
Remove the spaces

Code: Select all

hdmi_force_hotplug=1
it was in the config without space, i just added them while typing it here...
my bad, but thanks anyway for the help @DougieLawson !

User avatar
Burngate
Posts: 6290
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: RasPi only boots correct when HDMI is plugged in

Thu Feb 06, 2020 10:31 am

hansandreasr wrote:
Wed Feb 05, 2020 8:14 pm
does that mean that removing the "#" always makes the command live in the coinfig folder?
Yes - the "#" is just their way of marking something as a remark rather than code.
Other places, other methods - you're probably too young to remember BBC BASIC's "REM"

It's just assumed you already know this, like knowing which side of the plane the pilot sits on (helicopters tend to be opposite to fixed-wing planes, for no discernable reason)

Return to “Troubleshooting”