Using a 7'' TFT I can't use HDMI - Raspberry Pi Forums


hi everyone!

i've been digging lot on internet this, , asked in recalbox forum, , nobody seems know.
i'm using raspberry pi 3 b recalbox (4.1), installed element14 7'tft https://www.element14.com/community/doc ... ated-prods

screen works perfectly, has terrific image quality, sound output flawless through audio jack.

problem when plug hdmi cable i've been using before tv, when turn rpi on see black screen on tv, , image comes 7'' tft.
thing tv sound.
doing wrong?
can configure config.txt "autodetect" when plug hdmi , switch between hdmi , 7tft? or there script available that?
lot in advance.
here's copy of current config.txt

code: select all

uncomment if no picture on hdmi default "safe" mode hdmi_safe=1  disable_overscan=1  uncomment force specific hdmi mode (this force vga) #hdmi_group=1 #hdmi_mode=1  #comment jack audio hdmi_drive=2  #config_hdmi_boost=0  force hdmi while tv can take time before sending signal on hdmi output hdmi_force_hotplug=1  #uncomment composite pal sdtv_mode=2  uncomment lirc-rpi #dtoverlay=lirc-rpi  if plug tv @ same time rpi , rpi switches hdmi or give low resolution because tv had no enough time initialize boot_delay=3  #uncomment if don't want rainbow @ 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 hdmi cable plugged , detects tv, that.
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
device_name=gsm-lg_tv

-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.

confirm hdmi working, added "ignore_lcd=1" config.txt
rebooted , expected, got image , sound tv, rpi lcd off now.

used display_default_lcd=0 on config.txt
hdmi works fine on tv, no image on lcd screen. when rebooted without hdmi cable plugged, still no image on lcd.

got work partially.
added config.txt:

code: select all

[edid=gsm-lg_tv] ignore_lcd=1 hdmi_group=2 hdmi_mode=82 [all]
when hdmi tv connected before boot, detect , prefer hdmi , works fine, , if hdmi not plugged in, lcd come usual.

problem works tv... how make work example if take friends house?

think answer finding way have detect hdmi , if detected run ignore_lcd=1 , if not detected, don't run or change ignore_lcd=0

please?
lot in advance!



raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'