Disable HDMI switching on NOOBS

If you are running NOOBS on your Raspberry Pi, connected with a TV or AVR via HDMI, it's likely that your Pi will have your AV equipment switch to it as it's booting. This is because Pi by default is configured to use HDMI CEC. It makes sense to have this turned on, if you are using it as a media player.

For other use cases, where this is less desirable, it can be turned off via hdmi_ignore_cec and hdmi_ignore_cec_init configuration parameters.

Without NOOBS (Raspbian or XBMC), this can be turned off by adding the following two lines into /boot/config.txt.

hdmi_ignore_cec_init=1  
hdmi_ignore_cec=1  

However, if you are running NOOBS, configuring this in /boot/config.txt wouldn't work. NOOBS looks for this setting in the recovery partition instead. Follow the steps below to configure this in your Pi's recovery partition.

First, make a directory and mount the recovery partition into it.

mkdir recovery-mount  
sudo mount /dev/mmcblk0p1 recovery-mount  

Next, add hdmi_ignore_cec_init=1 into /config.txt on the mounted recovery partition, with the following lines:

cd recovery-mount  
echo hdmi_ignore_cec_init=1 | sudo tee --append config.txt  

Final step: Unmount the partition and reboot.

cd ..  
sudo umount recovery-mount  
rmdir recovery-mount/  
sudo reboot  

NOOBS will read this setting and will not use CEC to instruct your AVR or TV to switch to itself.

comments powered by Disqus