Recalbox Forum

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

    Solved Ajouter d'un monnayeur

    Manettes/GPIO/Encodeurs
    dun monnayeur
    4
    38
    17935
    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.
    • Hachile
      Hachile @Substring last edited by

      @subs comment je fais pour lancer ssh sur recalbox ? Concernant le monnayeur, je n,ai toujours pas réussi à le faire fonctionner. Je t'avoue que je suis perdue avec tout ça.
      Mon monnayeur à trois fils.
      1 fil Jaune 12v que j'ai branché sur l'alimentation
      1 fil noir que j'ai branché sur le gpio ground de mon raspberry pi3
      Et 1 fil vert que j'ai branché sur le gpio sélecteur player 2 du raspberry pi3
      Merci pour votre aide je suis vraiment perdu.

      Hachile 1 Reply Last reply Reply Quote 0
      • Hachile
        Hachile @Hachile last edited by

        @Hachile si ça peut aider, mon monnayeur est de ce type
        http://www.gotronic.fr/art-monnayeur-configurable-c5260-18904.htm

        1 Reply Last reply Reply Quote 0
        • Hachile
          Hachile @Substring last edited by

          @subs ré salut subs. J'ai finalement réussi à tester mes boutons avec putty
          Et il me détecte bien les deux contrôleurs. Jouer 1 et 2. Comme je peux te transmettre les résultats de test ?

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

            le seul qui m'intéresse c'est otn monnayeur. Donc tu selectionnes le texte de putty, il sera copié automatiquement, tu vas sur pastebin.com et tu me donnes le lien

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            Hachile 2 Replies Last reply Reply Quote 0
            • Hachile
              Hachile @Substring last edited by

              @subs je viens d'envoyer par poste bin. com
              L'as tu reçu ?

              1 Reply Last reply Reply Quote 0
              • Hachile
                Hachile @Substring last edited by

                @subs concernant le monnayeur, je n'ai toujours pas réussi à le faire fonctionner

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

                  Alors, petite suggecstion : cabler en parallèle le monnayeur et un bouton, ou cabler le monnayeur sur les 2 selects parce que certains jeux avaient un monnayeur par joueur

                  Ensuite je n'ai pas eu ton pastebin. Une fois que tu l'as créé, tu dois coller ici le lien généré

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  Hachile 2 Replies Last reply Reply Quote 0
                  • Hachile
                    Hachile @Substring last edited by

                    @subs login as: root
                    root@192.168.1.22's password:

                    jstest

                    Usage: jstest [<mode>] <device>

                    Modes:
                    --normal One-line mode showing immediate status
                    --old Same as --normal, using 0.x interface
                    --event Prints events as they come in
                    --nonblock Same as --event, in nonblocking mode
                    --select Same as --event, using select() call

                    cat /proc/bus/input/devices

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input0
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:FA20.0001/input/input0
                    U: Uniq=
                    H: Handlers=sysrq kbd event0
                    B: PROP=0
                    B: EV=120013
                    B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
                    B: MSC=10
                    B: LED=7

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input1
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:FA20.0002/input/input1
                    U: Uniq=
                    H: Handlers=mouse0 event1
                    B: PROP=0
                    B: EV=17
                    B: KEY=1f0000 0 0 0 0 0 0 0 0
                    B: REL=143
                    B: MSC=10

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input2
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:FA20.0003/input/input2
                    U: Uniq=
                    H: Handlers=kbd event2
                    B: PROP=0
                    B: EV=1f
                    B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d941dfed 9ed680 4400 0 10000002
                    B: REL=40
                    B: ABS=1 0
                    B: MSC=10

                    I: Bus=0015 Vendor=0001 Product=0001 Version=0100
                    N: Name="GPIO Controller 1"
                    P: Phys=input0
                    S: Sysfs=/devices/virtual/input/input3
                    U: Uniq=
                    H: Handlers=event3 js0
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    I: Bus=0015 Vendor=0001 Product=0002 Version=0100
                    N: Name="GPIO Controller 2"
                    P: Phys=input1
                    S: Sysfs=/devices/virtual/input/input4
                    U: Uniq=
                    H: Handlers=event4 js1
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    ls /dev/input/ js*

                    ls: js*: No such file or directory
                    /dev/input/:
                    by-id event0 event2 event4 js1 mouse0
                    by-path event1 event3 js0 mice

                    jstest /dev/input/js0

                    Driver version is 2.1.0.
                    Joystick (GPIO Controller 1) has 2 axes (X, Y)
                    and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR, ?).
                    Testing ... (interrupt to exit)
                    Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off #
                    jstest
                    jlogin as: root
                    root@192.168.1.22's password:

                    jstest

                    Usage: jstest [<mode>] <device>

                    Modes:
                    --normal One-line mode showing immediate status
                    --old Same as --normal, using 0.x interface
                    --event Prints events as they come in
                    --nonblock Same as --event, in nonblocking mode
                    --select Same as --event, using select() call

                    cat /proc/bus/input/devices

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input0
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:FA20.0001/input/input0
                    U: Uniq=
                    H: Handlers=sysrq kbd event0
                    B: PROP=0
                    B: EV=120013
                    B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
                    B: MSC=10
                    B: LED=7

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input1
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:FA20.0002/input/input1
                    U: Uniq=
                    H: Handlers=mouse0 event1
                    B: PROP=0
                    B: EV=17
                    B: KEY=1f0000 0 0 0 0 0 0 0 0
                    B: REL=143
                    B: MSC=10

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input2
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:FA20.0003/input/input2
                    U: Uniq=
                    H: Handlers=kbd event2
                    B: PROP=0
                    B: EV=1f
                    B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d941dfed 9ed680 4400 0 10000002
                    B: REL=40
                    B: ABS=1 0
                    B: MSC=10

                    I: Bus=0015 Vendor=0001 Product=0001 Version=0100
                    N: Name="GPIO Controller 1"
                    P: Phys=input0
                    S: Sysfs=/devices/virtual/input/input3
                    U: Uniq=
                    H: Handlers=event3 js0
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    I: Bus=0015 Vendor=0001 Product=0002 Version=0100
                    N: Name="GPIO Controller 2"
                    P: Phys=input1
                    S: Sysfs=/devices/virtual/input/input4
                    U: Uniq=
                    H: Handlers=event4 js1
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    ls /dev/input/ js*

                    ls: js*: No such file or directory
                    /dev/input/:
                    by-id event0 event2 event4 js1 mouse0
                    by-path event1 event3 js0 mice

                    jstest /dev/input/js0

                    Driver version is 2.1.0.
                    Joystick (GPIO Controller 1) has 2 axes (X, Y)
                    and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR, ?).
                    Testing ... (interrupt to exit)
                    Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off

                    By: hachile 0 sec ago | reply | delete

                    login as: root
                    root@192.168.1.22's password:

                    jstest

                    Usage: jstest [<mode>] <device>

                    Modes:
                    --normal One-line mode showing immediate status
                    --old Same as --normal, using 0.x interface
                    --event Prints events as they come in
                    --nonblock Same as --event, in nonblocking mode
                    --select Same as --event, using select() call

                    cat /proc/bus/input/devices

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input0
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:F A20.0001/input/input0
                    U: Uniq=
                    H: Handlers=sysrq kbd event0
                    B: PROP=0
                    B: EV=120013
                    B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
                    B: MSC=10
                    B: LED=7

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input1
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:F A20.0002/input/input1
                    U: Uniq=
                    H: Handlers=mouse0 event1
                    B: PROP=0
                    B: EV=17
                    B: KEY=1f0000 0 0 0 0 0 0 0 0
                    B: REL=143
                    B: MSC=10

                    I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
                    N: Name="Compx 2.4G Receiver"
                    P: Phys=usb-3f980000.usb-1.3/input2
                    S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:F A20.0003/input/input2
                    U: Uniq=
                    H: Handlers=kbd event2
                    B: PROP=0
                    B: EV=1f
                    B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d 941dfed 9ed680 4400 0 10000002
                    B: REL=40
                    B: ABS=1 0
                    B: MSC=10

                    I: Bus=0015 Vendor=0001 Product=0001 Version=0100
                    N: Name="GPIO Controller 1"
                    P: Phys=input0
                    S: Sysfs=/devices/virtual/input/input3
                    U: Uniq=
                    H: Handlers=event3 js0
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    I: Bus=0015 Vendor=0001 Product=0002 Version=0100
                    N: Name="GPIO Controller 2"
                    P: Phys=input1
                    S: Sysfs=/devices/virtual/input/input4
                    U: Uniq=
                    H: Handlers=event4 js1
                    B: PROP=0
                    B: EV=b
                    B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
                    B: ABS=3

                    ls /dev/input/js*

                    /dev/input/js0 /dev/input/js1

                    ls /dev/input/ js*

                    ls: js*: No such file or directory
                    /dev/input/:
                    by-id event0 event2 event4 js1 mouse0
                    by-path event1 event3 js0 mice

                    jstest /dev/input/js1

                    Driver version is 2.1.0.
                    Joystick (GPIO Controller 2) has 2 axes (X, Y)
                    and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR , ?).
                    Testing ... (interrupt to exit)
                    Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: on 7:off 8:off

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

                      Sans ton monnyeur, le select du p2 marche avec un bouton ?

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • Hachile
                        Hachile @Substring last edited by

                        @subs Slt subs. Que penses-tu des résultats du test que je t'ai transmis ? J'ai aussi connecté le monnayeur sur les deux sélecteurs comme tu m'as suggère mais rien ne se passe.

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

                          Yo !
                          Ca ne correspond pas vraiment à ce dont j'ai besoin 😕
                          Le plus simple serait sûrement que tu viennes sur IRC et qu'on fasse un teamviewer que je prenne la main sur ton pc pour regarder ça. Il y a un lien sur la barre en haut. Quand j'y suis, tu me trouveras sous mon pseudo complet, substring

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                            cf https://forum.recalbox.com/post/26342 le pi3 avat des GPIO morts. Hop résolu !

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                            Want to support us ?

                            84
                            Online

                            99.7k
                            Users

                            28.1k
                            Topics

                            187.1k
                            Posts

                            Copyright © 2021 recalbox.com