I've been digging a lot on the internet about this, and also asked in the Recalbox forum, and nobody seems to know.
I'm using a Raspberry Pi 3 B with Recalbox (4.1), I installed the Element14 7'TFT https://www.element14.com/community/doc ... ated-prods
Screen works perfectly, has a terrific image quality, sound output is flawless through audio jack.
Problem is when I plug the HDMI cable I've been using before to the TV, when I turn the RPi on I just see a black screen on the TV, and the image comes from the 7'' TFT.
Only thing I get from the TV is sound.
What am I doing wrong?
Can I configure config.txt to "autodetect" when I plug HDMI and switch between HDMI and 7TFT? Or is there any script available for that?
Thanks a lot in advance.
Here's a copy of my current config.txt
Code: Select all
uncomment if you get no picture on HDMI for a default "safe" mode hdmi_safe=1 disable_overscan=1 uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 #comment to get jack audio hdmi_drive=2 #config_hdmi_boost=0 force hdmi while the tv can take time before sending the signal on the hdmi output hdmi_force_hotplug=1 #uncomment for composite PAL sdtv_mode=2 uncomment for lirc-rpi #dtoverlay=lirc-rpi if you plug your tv at the same time as your rpi and that the rpi switches from the hdmi or give a low resolution because tv had no enough time to initialize it boot_delay=3 #uncomment if you don't want the rainbow at startup disable_splash=1 Overclock gpu_mem_256=128 gpu_mem_512=256 gpu_mem_1024=512 avoid_safe_mode=1 kernel=zImage NOOBS Auto-generated Settings: #hdmi_force_hotplug=1 overscan_scale=0 max_usb_current=1 lcd_rotate=2 avoid_warnings=1 dtparam=audio=on
Tried tvservice while the HDMI cable is plugged and it detects the TV, but just that.
It won't let me try -m or -M commands.
-s says this:
/recalbox/share_init/system$ tvservice -s
state 0x400000 [LCD], 800x480 @ 60.00Hz, progressive
-n says this:
/recalbox/share_init/system$ tvservice -n
-a says this:
/recalbox/share_init/system$ tvservice -a
PCM supported: Max channels: 2, Max samplerate: 192kHz, Max samplesize 24 bits.
AC3 supported: Max channels: 6, Max samplerate: 48kHz, Max rate 640 kb/s.
Just to confirm the HDMI is working, I added "ignore_lcd=1" to config.txt
Then I rebooted and as expected, I got image and sound from the TV, the RPi LCD is off now.
I used display_default_lcd=0 on the config.txt
HDMI works fine on TV, no image on LCD screen. When rebooted without the HDMI cable plugged, still no image on LCD.
I got it to work but only partially.
I added this to the config.txt:
Code: Select all
[EDID=GSM-LG_TV] ignore_lcd=1 hdmi_group=2 hdmi_mode=82 [all]
Problem is it only works with my TV... How do I make that work for example if I take it to a friends house?
I think the answer is finding a way to have it detect HDMI and if detected run ignore_lcd=1 and if not detected, don't run it or change it to ignore_lcd=0
Any help please?
Thanks a lot in advance!