Switching image from LCD to HDMI when connected
-
@nijate here is the topic i was thinking about : https://forum.recalbox.com/topic/11194/n64-écran-7-raspberry/8 but it's in French. @Jidem says he solved such problemes, and you should take a look at his profile to find his posts mentionning the solution
-
@nijate try to put this line in config.txt file and and it will be good
display_default_lcd=0If it's work, tell us.
-
@substring Thank you, i will try that on the weekend. That troubleshooting is so time consuming.
@jidem I did exactly that as written twice. But it just works for Debian. If i boot Recalbox it stays at the LCD Screen. Don't know why.
and thanks guys!
-
@nijate jidem was talking about the recalbox config file.
I have a dualboot recalbox too : you had to do the flip screen trick in both .config ?
So you have to do the display_default_lcd=0 in both config. I put that early in the .config file, but I'm not sure this have an effect.And... This works. You have to boot on it but this work.
I think this should be written in 160 bold underlined font somewhere in the faq because I hunted for that information almost a week !
(or maybe this should be an advance recalbox setting ?)(oh, and "merci mec", @Jidem \o/
I'm trying to script-cut the 7'' screen power while outputing on HDMI now). -
@coincoin Merci pour le commentaire! J'avais un peu mis de côté ce truc là...je suis autre chose en ce moment et je l'avais mis sur ma TO DO List sans jamais avoir pris le temps de tester! lol
Tu peux me dire exactement comment se comporte le Pi avec cette ligne?
D'avance merci! -
@jidem Bah ça boot avec la sortie HDMI si c'est branché, sinon, ça boot sur le LCD.
Je me prennais la tête franchement en me disant "mais si j'essaye, ça va sortir re-inversé verticalement" mais non !Donc il suffit de coller la ligne qui va bien pour inverser l'écran, et celle -là pour que ça marche parfaitement. Maintenant, le truc casse-pied, c'est le petit écran qui est allumé en noir pendant la sortie HDMI, je crois que je vais être obligé de bricoler un interrupteur comme toi, mais j'ai pas envie...
-edit- ah si : au début, y a NOOB qui sort àl'envers sur le 7''. Tu choisi recalbox et après ça sort en HDMI dans le bon sens.
-
@coincoin tu déconnes!!!!! Ça marche??? Je suis presque certain d'avoir essayé sans succès! Tu l'as rajouté en dernière ligne du config.txt?
Je m y remet tout de suite du coup! Merci de ton retour! -
@jidem bah in fact I turned on the screen inversion line as soon as I saw a .config file.
I put it in the .config of the recalbox, rasbian and at some point in NOOB but I can't find the menu (it was in a boot interface: maybe at some point on the recoveries?).So far, I've only put the display_default_lcd=0 in the. config recalbox but it works like I told you. If @Nijate says it's booting on HDMI by changing Rasbian's. config, I believe it (I'll try, but I'm looking for something else here).
-
@coincoin tu veux dire que tu as mis la ligne dans recolbox.conf?
Ou le config.txt du boot? -
@jidem ahahah, I'm a pgm
At the very beginning, when it boot, you press shift when you see the raspberry on the 7 ".
There, there is a screen in which you can change the. config (by default pressing the e key).
You put on the front line
display_default_lcd=0Below the disable_overscan, I put the lcd_rotate = 2
And then my rasbian comes out on TV.
On the other hand, there is no way to get NOOBS outputing on HDMI. I really suck at Linux, but I guess it has its own .config?
-
This is an english topic so please change back to english.
-
@coincoin so dualboot with raspbian?
Because on recalbox only, without another system, it seems not working! -
@paradadf sorry...thanks adrenaline!
-
@jidem just a question, how many gpio ports you used for the 7'', just 5v/GND as every online tutorial says ?
I used all 4, like described on the documentation you get with the screen. Maybe, those 2 more I have are command / data ports ?
-
@paradadf sorry.
I will edit and translate my posts soon. -
@coincoin good idea!
I use just 5V/GND but please tell me where I must plug the others gpio. -
@jidem mmm I can't find the doc and i don't want to tell you s**t stuff
-
@coincoin said in Switching image from LCD to HDMI when connected:
@jidem Bah ça boot avec la sortie HDMI si c'est branché, sinon, ça boot sur le LCD.
Je me prennais la tête franchement en me disant "mais si j'essaye, ça va sortir re-inversé verticalement" mais non !Donc il suffit de coller la ligne qui va bien pour inverser l'écran, et celle -là pour que ça marche parfaitement. Maintenant, le truc casse-pied, c'est le petit écran qui est allumé en noir pendant la sortie HDMI, je crois que je vais être obligé de bricoler un interrupteur comme toi, mais j'ai pas envie...
-edit- ah si : au début, y a NOOB qui sort àl'envers sur le 7''. Tu choisi recalbox et après ça sort en HDMI dans le bon sens.
==> translation because it seems I can't edit after one hour :
Well, it's booting with the HDMI output if it's plugged in, otherwise, it's booting on the LCD.
I was frankly thinking "but if I try, it's going to come out inverted vertically" but no!So all you have to do is paste the line that goes well to invert the screen, and this one will work perfectly. Now, the puzzling thing is the small screen that is lit in black during the HDMI output, I think I'm going to have to tinker with a switch like you, but I don't want to...
edit- oh yeah : at first, NOOB comes out upside down on the 7''. You choose recalbox and then it comes out in HDMI in the right direction.
-
@coincoin OK, I found it:
SCL to the third pin down on the left hand side, and
SDA to the second pin down on the left hand side.
Please can you try to boot without SDL et SDA wires connected to see what happens? If it doesn't work, I purchase 2 wires!
Thanks by advance! -
If the 7'' screen is in normal position on your table (HDMI output on top) :
- on the GPIO all thread are in a square shape :
- first line, from right to left, nothing / pin / pin / nothing / nothing / ... / nothing
- second line, from right to left, nothing / pin / pin / nothing / nothing / ... / nothing
Ok.
Now if you look this square shape : top left, I have yellow, top right blue, bottom left is black, then I have red.On the screen, there is 4 (if I remember ?) pins which are from left to right : black yellow green red. So yellow & green use the two spot between your typical 5v/GND (which if I done things right, are red / black in what I did).
I really can't find the documentation, but the color of these threads are typical of I/O lines (so that's why I'm telling this is it).