Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Handheld Recalbox

    Your recalbox
    handheld
    11
    56
    29484
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cluf20
      cluf20 last edited by

      when I stop the pi and I restart the screen does not work anymore ... I do not understand where it may come ...

      1 Reply Last reply Reply Quote 0
      • pinuct
        pinuct last edited by

        Yes please!!!, i will make a full wiki happily 😄 About my previous "tutorial", it have to have a lot of mistakes XD. I made it from memory and probably the steps are out of order, or worng. But don't worry, if i write the wiki i'll be sure to write the correct steps and test it. About the screen working at restarting, you have to be sure to write in the file  /etc/init.d/S99Custom  the line:

        ./path_to_your_fcbp_file/fbcp &

        That makes autostart the fbcp executable. And remember if you can't save the file after you modify it, try:

        mount -o remount,rw /

        And the fbcp must be executable:

        chmod +x /path_to_your_fcbp_file/fbcp

        Thanks!

        1 Reply Last reply Reply Quote 0
        • cluf20
          cluf20 last edited by

          Yes thanks I do that! I have always the same problem. I need to restart and that's work.... i don't understand...

          1 Reply Last reply Reply Quote 0
          • pinuct
            pinuct last edited by

            Hi @Cluf20, i'm following with my protable Recalbox project and because i need to add controls to it and the gpio joystick included in recalbox uses some pins that are already used by the TFT screen i decided to fork it and chnage a little bit. I modified the code to alow customization of the gpios used in the module, so you can choose the gpios you want. If you are interested you can check it here. I made a pull request to the repository for those people who want to use it in recalbox.

            1 Reply Last reply Reply Quote 0
            • cluf20
              cluf20 last edited by

              Hi jj, for my project I use a teensy , it allows to be more flexible on the controller . The teensy connects to usb raspberry and after programming is recognized as a Gamepad trade. After you can easily remove and rejouter buttons. IF you are interested I have the program. For the screen , is that you have not forgotten anything in the procedure for it to be recognized after cold reboot ? because each screen reboot is white again as if SPI was more active ? After I have to redo a manipulation to make it work ... search conditions I followed your procedure I remade 5 times lol. I have a doubt against the S99costum contained . In this file you that this line ? If I had my 3D printer I can print the hull !!

              1 Reply Last reply Reply Quote 0
              • cluf20
                cluf20 last edited by

                hello hello jj, I try to rewrite your procedure , do you tell me if I forget something?I try to rewrite your procedure , do you tell me if I forget something? To see where is my error from your screen that works properly ? Change video mode in recalbox.conf: global.videomode=default Enable the SPI bus of the raspberry pi, to do that, write at the end of /boot/config.txt : mount -o remount,rw / mount -o remount,rw /boot nano /boot/config.txt dtparam=spi=on Add to the file /etc/modules.conf : nano /etc/modules.conf spi-bcm2835 After enabling the SPI you can reboot. After reboot you can enable the TFT by using the comand: modprobe fbtft_device name=pitft To make it launch at boot you have to add to the file /etc/modules.conf : mount -o remount,rw / mount -o remount,rw /boot nano  /etc/modules.conf fbtft_device Create a file under /etc/modprobe.d/fbtft.conf with the next line of code: nano /etc/modprobe.d/fbtft.conf options fbtft_device custom name=pitft width=320 height=480 rotate=90 speed=62000000 fps=60 Alow execution of the file fbcp: chmod +x /usr/fbcp/fbcp To automatically launch fbcp modify the starting scripts under /etc/init.d/: cd /etc/init.d/ ls cp S00Xxxxx S99custom nano S99custom /usr/fbcp/fbcp & /etc/init.d/S99custom start

                1 Reply Last reply Reply Quote 0
                • pinuct
                  pinuct last edited by

                  Hello, I'm going to do a condensed guide for the Adafruit 3.5 inches TFT (I tested other screen, wsaveshare 3.5, and the procedure is a little bit different). Adafruit 3.5: 0. - Note: i don’t know if anyone have this problem, but i read on the forums, and it seem that other people have the same problem. The problem is that when you try to write, you can’t because the file systems is only read. To solve it use:

                  mount -o remount,rw / mount -o remount,rw /boot

                  1. - Add to the file /etc/modules.conf

                  spi-bcm2835 fbtft_device

                  2, - create a file under /etc/modprobe.d/fbtft.conf with the next line of code:

                  options fbtft_device custom name=pitft width=320 height=480 rotate=90 speed=62000000 fps=60

                  3. - Get FBCP, compile it, or copy it. 4. - For autostart, your /etc/init.d/S99custom must look like (is your fbcp file is under /usr/local/bin/fbcp/):

                  #!/bin/bash ./usr/local/bin/fbcp/fbcp & test -e "/recalbox/share/system/custom.sh" && /recalbox/share/system/custom.sh

                  5. - Set global.videomode=default in recalbox.conf 6. - Reboot and enjoy   I hope this helps you.

                  1 Reply Last reply Reply Quote 0
                  • cluf20
                    cluf20 last edited by

                    Hello jj, I think you forget some instructions in your last post like SPI activation.

                    1 Reply Last reply Reply Quote 0
                    • cluf20
                      cluf20 last edited by

                      Hello jj, I need your help, I can not operate the screen more than once ... I do not understand..... Thank you for all

                      1 Reply Last reply Reply Quote 0
                      • cluf20
                        cluf20 last edited by

                        Bon après un premier essai d'impression j'ai du reprendre le modèle pour une meilleure qualité! Demain, début de l'impression!! Ci-joint le rendu final.

                        1 Reply Last reply Reply Quote 0
                        • cluf20
                          cluf20 last edited by

                          Hello hello !!! Le projet avance !!! Après quelques difficultés d'impression, quelques photos du premier montage !

                          farwrc 1 Reply Last reply Reply Quote 0
                          • cluf20
                            cluf20 last edited by

                            Et une autre photo de l'avant

                            1 Reply Last reply Reply Quote 0
                            • rockaddicted
                              rockaddicted last edited by

                              Prometteur! Good job 😉

                              Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                              Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                              Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                              Don't forget to upvote messages if it has been useful ;)

                              1 Reply Last reply Reply Quote 0
                              • julius181
                                julius181 last edited by

                                Salut, Très beau projet Cluf20 🙂 Dit, j'ai un projet similaire et je n'arrive pas à faire démarrer recalbox sur l’écran TFT. Je vois que vous avez pas mal cherché mais je ne suis pas très bon en anglais. Avez vous reussi ? Merci et bonne chance pour la suite 🙂

                                1 Reply Last reply Reply Quote 0
                                • julius181
                                  julius181 last edited by

                                  Re Après avoir fait les mêmes manipulations que vous. L’écran fonctionne a merveille à un détail près. L'affichage n'est pas à 100%. Un petite photo pour vous montrer. J'ai bien modifier le fichier /etc/modprobe.d/fbtft.conf en mettant : options fbtft_device custom name=pitft width=320 height=240 rotate=270 speed=80000000 fps=60 au lieu de : options fbtft_device custom name=pitft width=320 height=480 rotate=90 speed=62000000 fps=60 Mais cela ne change rien. Je vais continuer a chercher mais quelqu'un a une idée du probleme ? Merci 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • cluf20
                                    cluf20 last edited by

                                    Salut ! Désolé Julius181 j'avais pas vu tes posts!! Je pense que ton problème est dans le fichier fbtft.conf. dans la ligne : options fbtft_device custom name=pitft width=320 height=480 rotate=90 « speed=62000000 fps=60 » tu dois changer width=320 height=480 pour avoir ta résolution je pense. C'est quoi comme écran un 3,5? N'hésites pas si tu as des questions!!

                                    1 Reply Last reply Reply Quote 0
                                    • julius181
                                      julius181 last edited by

                                      C'est plutot a moi d'etre désolé, j'ai squatter ton poste sur un sujet genial pour mes problemes 😉 J'ai créé un autre poste sur le forum et j'ai resolu presque tout seul les problemes. C'etait effectivement un probleme de resolution mais plus vicieux, je te laisse admiré ma solution ici   N'hesite pas a poster la suite de ton projet, j'ai hate 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • _jdevos
                                        _jdevos last edited by

                                        Bonjour Cluff, est-ce qu'il te serait possible de m'aider à configurer mon ecran TFT ? J'ai un ecran blanc malgré les différentes configuration réalisées. Merci

                                        Responsable d'exploitation pour @_atecna - #Développeur #Magento - #freelance - #ecommerce - https://t.co/CM0xwfHsb2

                                        1 Reply Last reply Reply Quote 0
                                        • cluf20
                                          cluf20 last edited by

                                          Salut Jérémy DEVOS, Pour t'aider est ce que tu peux me dire ce que tu as comme écran et est ce que tu as pu récupérer quelque part fbcp car pour l'instant il n'est pas encore intégré à recalbox et comme il n'est pas possible de compiler sous recalbox en direct, il faut que tu ai déjà ce fichier !

                                          1 Reply Last reply Reply Quote 0
                                          • cluf20
                                            cluf20 last edited by

                                            Bon j'ai enfin réussi à finir ma console portable ce week-end. Je poste des photos ce soir de la réalisation.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            63
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com