Recalbox Forum

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

    Quel encodeur choisir pour un PC

    Manettes/GPIO/Encodeurs
    encodeur choisir
    5
    29
    5957
    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

      @acris sur mon x86 les xinmo sont bien détecté :
      18 pins

      [  128.372110] usb 4-1: USB disconnect, device number 2
      [  165.640052] usb 4-1: new low-speed USB device number 3 using uhci_hcd
      [  166.038084] usb 4-1: New USB device found, idVendor=16c0, idProduct=05e1
      [  166.038088] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [  166.038091] usb 4-1: Product: THT Arcade console 2P USB Player
      [  166.038093] usb 4-1: Manufacturer: THT
      [  166.089294] input: THT THT Arcade console 2P USB Player as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:16C0:05E1.0004/input/input10
      [  166.089694] input: THT THT Arcade console 2P USB Player as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:16C0:05E1.0004/input/input11
      [  166.089990] xinmo 0003:16C0:05E1.0004: input,hidraw1: USB HID v1.01 Joystick [THT THT Arcade console 2P USB Player] on usb-0000:00:1d.2-1/input0
      

      20 pins

      [    6.356059] usb 4-1: New USB device found, idVendor=16c0, idProduct=75e1
      [    6.356064] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [    6.356067] usb 4-1: Product: THT 2P arcade controller
      [    6.356070] usb 4-1: Manufacturer: THT 2P arcade controller
      [    6.368212] input: THT 2P arcade controller THT 2P arcade controller as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:16C0:75E1.0002/input/input7
      [    6.368479] input: THT 2P arcade controller THT 2P arcade controller as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:16C0:75E1.0002/input/input8
      [    6.368640] hid-generic 0003:16C0:75E1.0002: input,hidraw1: USB HID v1.11 Joystick [THT 2P arcade controller THT 2P arcade controller] on usb-0000:00:1d.2-1/input0
      

      il faut que je les test avec evtest

      ceci dit dans les logs de @stephgre je n'ai pas vu de détection des THT arcade!

      "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
      • stephgre
        stephgre @acris last edited by

        @acris @ian57 Je viens de modifier le es_input.cfg puis je l'ai testé en jeu et c'est pareil... toujours Haut-gauche qui ne marchent pas. 😞

        Voici la modif effectuée :
        0_1524048427062_Capture.JPG

        Raspberry pi 3 - Recalbox 4.1 - https://www.facebook.com/bornedestef

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

          Je viens de recevoir ma vraie Xin-mo 18pins , je l'ai câblée et tout marche du 1er coup ...
          Du coup y a t il un problème de compatibilité entre la THT arcade 20pins et Recalbox PC?

          Raspberry pi 3 - Recalbox 4.1 - https://www.facebook.com/bornedestef

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

            @stephgre Je comprends plus rien, c'était quoi ton ancien encodeur? As tu un lien ?

            moi mes xinmo sont reconnuc comme THT etc....
            envoie l'archive de support du nouveau stp

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

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

              @ian57 L'ancien encodeur était un THT arcade 20pins et le nouveau un Xin-mo 18pins

              L'ancien THT 20pins :
              0_1524077307598_20180413_090900.jpg

              Le nouveau Xin-mo 18 pins :
              0_1524077216587_Xin-mo 18.jpg

              Et voici ma nouvelle archive support :
              http://dl.free.fr/qcnK16jfr

              Raspberry pi 3 - Recalbox 4.1 - https://www.facebook.com/bornedestef

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

                @stephgre sur mon pi3 voici comment sont détecté les 2 modules arcades xinmo 20 et 18 pins (dans cette ordre :

                0_1524122319448_DSC_2731.JPG

                [  110.581790] usb 1-1.1.2: new full-speed USB device number 6 using dwc_otg
                [  110.681787] usb 1-1.1.2: device descriptor read/64, error -32
                [  110.937868] usb 1-1.1.2: New USB device found, idVendor=16c0, idProduct=75e1
                [  110.937876] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
                [  110.937880] usb 1-1.1.2: Product: THT 2P arcade controller
                [  110.937883] usb 1-1.1.2: Manufacturer: THT 2P arcade controller
                [  110.951185] input: THT 2P arcade controller THT 2P arcade controller as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/0003:16C0:75E1.0002/input/input1
                [  110.951686] input: THT 2P arcade controller THT 2P arcade controller as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/0003:16C0:75E1.0002/input/input2
                [  110.952088] xinmo 0003:16C0:75E1.0002: input,hidraw1: USB HID v1.11 Joystick [THT 2P arcade controller THT 2P arcade controller] on usb-3f980000.usb-1.1.2/input0
                [  141.461766] usb 1-1.3: new low-speed USB device number 7 using dwc_otg
                [  141.606369] usb 1-1.3: New USB device found, idVendor=16c0, idProduct=05e1
                [  141.606376] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
                [  141.606380] usb 1-1.3: Product: THT Arcade console 2P USB Player
                [  141.606384] usb 1-1.3: Manufacturer: THT
                [  141.622719] input: THT THT Arcade console 2P USB Player as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:16C0:05E1.0003/input/input3
                [  141.623301] input: THT THT Arcade console 2P USB Player as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:16C0:05E1.0003/input/input4
                [  141.623630] xinmo 0003:16C0:05E1.0003: input,hidraw2: USB HID v1.01 Joystick [THT THT Arcade console 2P USB Player] on usb-3f980000.usb-1.3/input0
                # evtest 
                No device specified, trying to scan all of /dev/input/event*
                Available devices:
                /dev/input/event0:	DragonRise Inc.   Generic   USB  Joystick  
                /dev/input/event1:	THT 2P arcade controller THT 2P arcade controller
                /dev/input/event2:	THT 2P arcade controller THT 2P arcade controller
                /dev/input/event3:	THT THT Arcade console 2P USB Player
                /dev/input/event4:	THT THT Arcade console 2P USB Player
                
                

                rien d'anormal ils sont bien détectés comme des THT Arcade.

                Du coup je me demande ce qu'il a ton module 20 pins? était il au moins bien détecté?

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

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

                  @ian57 Sur mon Rpi3 oui, il est très bien détecté comme 'THT 2P arcade" et il fonctionne.

                  C'est seulement sur PC qu'il y a des soucis. Il est également détecté comme THT mais les fonctions gauche-haut ne marchent pas ...

                  Raspberry pi 3 - Recalbox 4.1 - https://www.facebook.com/bornedestef

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

                    @stephgre ok je recompile une x86_64 et j'appliquerai le patch rpi3 pour voir si ça vient de la.. le noyau x86 n'est pas patché... c'est peut être une effet de bord de de bug corrigé seulement pour rpi3 https://www.spinics.net/lists/linux-input/msg40826.html

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

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

                      @ian57 Ok, dis moi quand c'est bon que je puisse tester 😉 Merci en tout cas

                      Raspberry pi 3 - Recalbox 4.1 - https://www.facebook.com/bornedestef

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

                        bah dès que j'ai une image je te fais signe... je recompile et j'ai des erreurs... des trucs ont bougés 😉

                        "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
                        • First post
                          Last post

                        Want to support us ?

                        76
                        Online

                        99.7k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com