Recalbox Forum

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

    Recalbox 7.0 Reloaded (Sortie Jack)

    Recalbox Général
    recalbox 7.0 reloaded sortie
    14
    52
    7074
    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.
    • ian57
      ian57 Staff last edited by

      @gm03 @nono7 @Laban pouvez vous tester ceci :

      connexion à recalbox via SSH :

      ensuite

      /etc/init.d/S31emulationstation stop
      

      pour stopper ES
      ensuite modification à la mano de recalbox.conf avec nano pour définir

      audio.device=jack
      

      sauvegarde du fichier et ensuite reboot

      reboot
      

      "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

      nono7 Valfadir 2 Replies Last reply Reply Quote 0
      • nono7
        nono7 @ian57 last edited by

        @ian57 said in Recalbox 7.0 Reloaded (Sortie Jack):

        @gm03 @nono7 @Laban pouvez vous tester ceci :

        connexion à recalbox via SSH :

        ensuite

        /etc/init.d/S31emulationstation stop
        

        pour stopper ES
        ensuite modification à la mano de recalbox.conf avec nano pour définir

        audio.device=jack
        

        sauvegarde du fichier et ensuite reboot

        reboot
        

        heuuuuu tu me parle un peu en chinois la ?!!😵 l'idéal serait qu'apparaisse l'option sortie jack tout simplement comme avant 😁

        ian57 1 Reply Last reply Reply Quote 0
        • ian57
          ian57 Staff @nono7 last edited by

          @nono7 oui effectivement, mais tout a été unifié pour le support d'autre board, seul @Bkg2k pourra répondre c'est lui qui a géré je crois

          ah du coup ça va pas être simple pour tester si ça vient d'ES ou d'ailleurs

          "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

          1 Reply Last reply Reply Quote 0
          • Valfadir
            Valfadir @ian57 last edited by

            @ian57 said in Recalbox 7.0 Reloaded (Sortie Jack):

            @gm03 @nono7 @Laban pouvez vous tester ceci :

            connexion à recalbox via SSH :

            ensuite

            /etc/init.d/S31emulationstation stop
            

            pour stopper ES
            ensuite modification à la mano de recalbox.conf avec nano pour définir

            audio.device=jack
            

            sauvegarde du fichier et ensuite reboot

            reboot
            

            Ça fonctionne la première fois et dès que je reboot plus de son. Le paramètre est passé de nouveau sur audio.device=Default output

            Raspberry 3B+
            Recalbox 7.0

            ian57 1 Reply Last reply Reply Quote 0
            • ian57
              ian57 Staff @Valfadir last edited by

              @Valfadir ok merci du retour, il ya donc ES qui réécrase tout... c'est pas cool... il faut que l'on fasse plus de test.. je n'ai pas eu le soucis de mon coté

              "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

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

                @ian57 said in Recalbox 7.0 Reloaded (Sortie Jack):

                Apres le premier Reboot c'est Ok, un reboot après ca ne marche plus ....

                Ca m'a aussi fait pareil en changeant l'écran en DMT 47 HDMI ... bizarrement en le rentrant 3-4 fois il a l'air de rester ... mais pas l'audio !

                En fait il y a Headphones dans la liste de ES pas jack ... cela ne vient pas de ca ?

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

                  Bonjour

                  idem pour moi sur raspberry 3B

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

                    Si ça peut aider...
                    Quand je met jack dans l'interface web de recalbox et que je sauvegarde
                    Avant
                    text alternatif
                    Après
                    Jack est écrasé en defaut output
                    audio.device=Default output
                    text alternatif

                    Reboot
                    Le son fonctionne
                    audio.device=Default output
                    text alternatif

                    Reboot
                    Plus de son et le recalbox.conf est toujours le même
                    audio.device=Default output

                    Raspberry 3B+
                    Recalbox 7.0

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

                      Toujours identique. dès le reboot on a Default ouput comme valeur, alors qu'il a été changé juste avant.

                      Borne d'arcade
                      PC i7 3840MQ / Quadro K2000M / 32Go / SSD 500 Go
                      Ecran iiyama ProLite E1980SD-B1
                      Son sortie jack/amplificateur
                      Joystick SANWA JLF-TP-8YT
                      Bouton lumineux Cherry D44X

                      GPI Case Rpi 0w sandisk ultra 128 Go

                      MegaPi RPi 3b+ sandisk ultra 128 Go

                      1 Reply Last reply Reply Quote 0
                      • ian57
                        ian57 Staff last edited by

                        ok, merci des retours ça doit être un bug ES... toute la partie gestion du son a été réécrite pour permettre la détection des cartes sons sur l'ensemble des matériels... mais il ya un effet de bord 🙂

                        "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

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

                          Bon quelques tests :
                          Reboot : plus de son
                          lancement de la commande
                          /etc/init.d/S31emulationstation stop
                          modification du fichier de configuration
                          lancement de la commande
                          /etc/init.d/S31emulationstation start
                          et voilà le retour

                          /etc/init.d/S31emulationstation start

                          [2020/10/03 19:28:50.346] (ERROR) : Cannot find audio device jack

                          [2020/10/03 19:28:50.390] (ERROR) : [MQTT] Sending messageConnexion to tcp://127.0.0.1:1883 from recalbox-emulationstation failed (send) !
                          [2020/10/03 19:28:50.390] (ERROR) : [MQTT] Sending messageConnexion to tcp://127.0.0.1:1883 from recalbox-emulationstation failed (send) !
                          [2020/10/03 19:28:52.162] (ERROR) : Core vice_xcbm5x0 cannot be added to emulator libretro
                          [2020/10/03 19:28:55.373] (ERROR) : Can´t watch Path! Path does not exist. Path: gamelist.xml
                          [2020/10/03 19:28:55.374] (ERROR) : Can´t watch Path! Path does not exist. Path: gamelist.xml
                          [2020/10/03 19:28:50.346] (ERROR) : Cannot find audio device jack
                          -bash: syntax error near unexpected token `('

                          [2020/10/03 19:28:50.390] (ERROR) : [MQTT] Sending messageConnexion to tcp://127.0.0.1:1883 from recalbox-emulationstation failed (send) !

                          -bash: syntax error near unexpected token `('

                          [2020/10/03 19:28:50.390] (ERROR) : [MQTT] Sending messageConnexion to tcp://127.0.0.1:1883 from recalbox-emulationstation failed (send) !

                          -bash: syntax error near unexpected token `('

                          [2020/10/03 19:28:52.162] (ERROR) : Core vice_xcbm5x0 cannot be added to emulator libretro

                          -bash: syntax error near unexpected token (' th: gamelist.xml:28:55.373] (ERROR) : Can´t watch Path! Path does not exist. Pat -bash: syntax error near unexpected token ('
                          th: gamelist.xml:28:55.374] (ERROR) : Can´t watch Path! Path does not exist. Pat
                          -bash: syntax error near unexpected token `('

                          Le paramétre est bien entendu repassé à Default output suite à cela.

                          Borne d'arcade
                          PC i7 3840MQ / Quadro K2000M / 32Go / SSD 500 Go
                          Ecran iiyama ProLite E1980SD-B1
                          Son sortie jack/amplificateur
                          Joystick SANWA JLF-TP-8YT
                          Bouton lumineux Cherry D44X

                          GPI Case Rpi 0w sandisk ultra 128 Go

                          MegaPi RPi 3b+ sandisk ultra 128 Go

                          1 Reply Last reply Reply Quote 0
                          • Laban
                            Laban last edited by acris

                            Les logs

                            [4.58] Wifi option disabled
                            [        6.17] [        4.58] Wifi option disabled
                            es
                            [        6.32] Will not start S13fbcp : system.fbcp.enabled is set to 0
                            [        6.36] Running MIGRATIONS...
                            [        6.81] modprobe: module usbhid not found in modules.dep
                            [        6.98] starting new log
                            [        6.99] converting dos to unix carriage return characters
                            [        7.04] setting hostname to RECALBOX
                            [        7.05] setting audio volume to 90
                            [        7.07] setting keyboard layout to en
                            [        7.08] ---- recalbox-config.sh ----
                            [        7.10] setting audio volume : 90
                            [        7.08] cannot open file en
                            [        7.75] setting timezone to Europe/Paris
                            [        7.06] Simple mixer control 'PCM',0
                            [        7.06]   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
                            [        7.06]   Playback channels: Mono
                            [        7.06]   Limits: Playback -10239 - 400
                            [        7.06]   Mono: Playback -662 [90%] [-6.62dB] [on]
                            [        7.77] Setting volume for numid=3
                            [        7.79] Setting volume for numid=2
                            [        7.80] Setting volume for numid=1
                            [        7.81] Setting volume for numid=5
                            [        7.06] amixer: Control default element write error: Operation not permitted
                            [        7.06] 
                            [        7.82] Setting volume for numid=4
                            [        7.84] Force unmute on HDMI
                            [        7.06] amixer: Control default element write error: Operation not permitted
                            [        7.06] 
                            [        7.86] Force unmute on HDMI
                            [        7.87] Restoring audio configuration
                            [        7.88] setting audio to Default output
                            [        7.90] ---- recalbox-config.sh ----
                            [        7.93] Unknown audio format : Default
                            [       15.95] starting xarcade2jstick
                            [       16.31] xarcade2jstick : no official stick found, looking for keyboard encoder now ...
                            [       27.08] starting emulationstation with lang = en_US
                            [       27.15] emulationstation-starter started
                            [       27.16] started emulationstation (pid=1057)
                            [       27.19] S32mini TFT : Reading system.secondminitft.enabled => 0
                            [       27.22] S32miniTFT not enabled
                            [       27.25] ---- recalbox-config.sh ----
                            [       28.41] Starting S92switch
                            [       28.42] script /recalbox/scripts/powerswitch.sh [ STARTED ]
                            [       28.52] Starting S94manager
                            [       28.53] ... Starting manager v2
                            [      264.51] ---- recalbox-config.sh ----
                            [      264.78] enabled overclock mode : rpi3-turbo
                            [      272.26] Stopping S94manager
                            [      272.40] Stopping S92switch
                            [      272.41] script /recalbox/scripts/powerswitch.sh already stopped !
                            [      272.44] emulationstation exited code 0
                            [      272.45] emulationstation-starter ended
                            [      272.70] S32mini TFT : Reading system.secondminitft.enabled => 0
                            [      272.72] S32miniTFT not enabled
                            [      272.83] Stopping Emulationstation
                            [      273.05] Stopping S13fbcp
                            [      273.14] recalbox.conf saved to /boot partition
                            

                            La partie audio est bizarre dans le script de config

                            if [ "$command" == "audio" ];then
                                # this code is specific to the rpi
                                # don't set it on other boards
                                # find a more generic way would be nice
                                rm /recalbox/share/system/.asoundrc 2>/dev/null
                                if [[ "${arch}" =~ "rpi" && "auto hdmi jack" =~ "${mode}" ]]
                                then
                                    # this is specific to the rpi
                                    cmdVal="0"
                                    if [ "$mode" == "hdmi" ];then
                                        cmdVal="2"
                                    elif [ "$mode" == "jack" ];then
                                        cmdVal="1"
                                    fi
                                    recallog "setting audio output mode : $mode"
                                    amixer cset numid=3 $cmdVal || exit 1
                                elif echo "$mode" | grep -qE "^[[0-9]:[0-9]]"
                                then
                                    cardId=`echo $mode | sed "s+^[\([0-9]\)\:\([0-9]\)].*+\1+g"`
                                    deviceId=`echo $mode | sed "s+^[\([0-9]\)\:\([0-9]\)].*+\2+g"`
                                    recallog "setting audio output mode : '$mode' => $cardId $deviceId"
                                    if [[ "${arch}" == "odroidxu4" && "${cardId}${deviceId}" == "00" ]]
                                    then
                                        # this is specific to the xu4
                                        # bypass the creation of the .asoundrc file for the default 0,0 device as the asound.conf is just enough
                                        recallog "bypass the creation of .asoundrc file"
                                        exit 0
                                    fi
                                    cat > /recalbox/share/system/.asoundrc << EOF
                            pcm.!default {
                                    type hw
                                    card ${cardId}
                                    device ${deviceId}
                            }
                            
                            ctl.!default {
                                    type hw
                                    card ${cardId}
                            }
                            EOF
                                    exit $?
                                else
                                    recallog -e "Unknown audio format : $mode"
                                    exit 1
                                fi
                                exit 0
                            fi
                            

                            Borne d'arcade
                            PC i7 3840MQ / Quadro K2000M / 32Go / SSD 500 Go
                            Ecran iiyama ProLite E1980SD-B1
                            Son sortie jack/amplificateur
                            Joystick SANWA JLF-TP-8YT
                            Bouton lumineux Cherry D44X

                            GPI Case Rpi 0w sandisk ultra 128 Go

                            MegaPi RPi 3b+ sandisk ultra 128 Go

                            1 Reply Last reply Reply Quote 0
                            • Axel Rousset
                              Axel Rousset last edited by

                              peut tu me dire quelle modif tu as faite , j'ai le même problème ? merci

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

                                /recalbox/scripts/recalbox-config.sh audio

                                cela fonctionne bien après
                                Je regarde pour faire un workaround en lançant la commande avec emulationstation

                                Borne d'arcade
                                PC i7 3840MQ / Quadro K2000M / 32Go / SSD 500 Go
                                Ecran iiyama ProLite E1980SD-B1
                                Son sortie jack/amplificateur
                                Joystick SANWA JLF-TP-8YT
                                Bouton lumineux Cherry D44X

                                GPI Case Rpi 0w sandisk ultra 128 Go

                                MegaPi RPi 3b+ sandisk ultra 128 Go

                                Axel Rousset acris 2 Replies Last reply Reply Quote 0
                                • Axel Rousset
                                  Axel Rousset @Laban last edited by

                                  @Laban Merci de ta réponse hyper rapide !
                                  Malheureusement je saisie pas tout a fait .
                                  C'est pas du ssh ?
                                  c'est une commande à faire en local ?
                                  de mon coté j'avais l'habitude de triturer le fichier config.txt , à priori c'est pas la ?
                                  si tu peux m'aiguiller un chouilla plus je m'en sortirai Merci !

                                  1 Reply Last reply Reply Quote 0
                                  • acris
                                    acris @Laban last edited by

                                    @Laban said in Recalbox 7.0 Reloaded (Sortie Jack):

                                    /recalbox/scripts/recalbox-config.sh audio

                                    cela fonctionne bien après
                                    Je regarde pour faire un workaround en lançant la commande avec emulationstation

                                    tu as modifié quoi ?

                                    Axel Rousset 1 Reply Last reply Reply Quote 0
                                    • Axel Rousset
                                      Axel Rousset @acris last edited by

                                      @acris dans config.txt sans succes ..

                                      hdmi_safe=1
                                      hdmi_force_edid_audio=1
                                      hdmi_drive=2

                                      sinon , si mon raisonement est bon, j'ai compris qu'il fallait lancer un script mais je vois pas comment ..
                                      pouvez vous me donnez la manip pour avoir la main sur l'os éventuellement ?

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

                                        ya pas de solution pour la sortie jack pour le moment, la team dev travaille sur le problème
                                        merci de patienter , la team est en déplacement à Paris.

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

                                          Je suis en train de tester, mais mon workaround semble fonctionner en attendant un correctif des dev. Dès que j'ai fini mes tests, je vous donne la procédure

                                          Borne d'arcade
                                          PC i7 3840MQ / Quadro K2000M / 32Go / SSD 500 Go
                                          Ecran iiyama ProLite E1980SD-B1
                                          Son sortie jack/amplificateur
                                          Joystick SANWA JLF-TP-8YT
                                          Bouton lumineux Cherry D44X

                                          GPI Case Rpi 0w sandisk ultra 128 Go

                                          MegaPi RPi 3b+ sandisk ultra 128 Go

                                          1 Reply Last reply Reply Quote 1
                                          • nono7
                                            nono7 last edited by

                                            On va donc attendre que la team règle le problème alors, merci 😉

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

                                            Want to support us ?

                                            92
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com