-
Notifications
You must be signed in to change notification settings - Fork 297
Description
Hello.
I use my Raspberry Pi as a portable console with an SPI screen.
However, I also want to connect it to a TV to play on a big screen.
The problem is that when I do it, the SPI screen stays on and the sound is always on the console speakers.
My question is: How to detect if an HDMI screen is connected to disable fbcp-ili9341 in this case?
I tried to detect the presence of an HDMI screen with the commands tvservice and cat /sys/class/drm/card0-HDMI-A-1/status but it always detects a screen. Maybe because of hdmi_force_hotplug=1?
I also tried to connect an screen to the second HDMI port of my Raspberry Pi 4 but firstly nothing is displayed and secondly it is also always detected as connected.
Any direction and help would be very much appreciated!