Retropie Xin-Mo joypad help Pulling my hair out now
-
I too am having the same issue. I have added the usbquirk text but the controllers both show as Player 1. I found the thread relating to the kernel and installed that and bricked my Pi (later reading that the kernel does not work for a Pi 3...)
So a fresh install of retropie 3.7 and re-added the usbquirks code and it still does not see my arcade buttons and 2 players. Please help. -
I found my issues, and it was pretty dumb on my part.
I figured you could plug the button connectors into any pin slot on the module and then reconfigure in emulation station, no big deal right? Wrong. Configuring doesn't work 100# so pin selection is important. I went back through and reconnected the buttons to the correct pin slots and now player 1 and p2 are working fine.
Djgra79, if you ad the USB quirk line correctly you should have two joysticks. Can you run js0 and js1?
-
@djgra79 I know the frustration. I have had trouble getting the Xin Mo 2 player to work correctly for days.
First, you need to make sure that the usbquirk has the number that matches your Xin Mo. At the command prompt type this: lsusb
It then shows the devices you have connected, and in the Xin Mo one it says something like "... Van Ooijen Technische Information..." etc. And right in front of that it says 'ID' and then the very important number, which is usually 16c0:05e1 but it CAN be different.
I made a little mistake putting the number incorrectly in the command line (/boot/cmdline.txt), and that caused the trouble I had. As it says it the Wiki; add the following content after a space at the end of the first line (stay in the first line) : usbhid.quirks=0x16c0:0x05e1:0x040 .
Remember that those numbers in bold should be the ones corresponding to the number you found when you typed lsusb.
And remember to put the 0x in front of both of them (this was my mistake - I forgot to do it with the second one).
And lastly remember to save everything pressing CTRL x X and type "Y" to confirm.
It could be small details like this that gives you problems, and of course it could be other stuff. Just wanted to see if I could be able to help you out, since I made a small, but important, mistake, which took me a long time to realise.
I hope you'll get it all fixed!
-
@jimd0586 said in Retropie Xin-Mo joypad help Pulling my hair out now:
I found my issues, and it was pretty dumb on my part.
I figured you could plug the button connectors into any pin slot on the module and then reconfigure in emulation station, no big deal right? Wrong. Configuring doesn't work 100# so pin selection is important. I went back through and reconnected the buttons to the correct pin slots and now player 1 and p2 are working fine.
Djgra79, if you ad the USB quirk line correctly you should have two joysticks. Can you run js0 and js1?
Thanks for the reply and glad you got yours running. I'm not sure what you mean by "run js0 and js1"?? I'm a noob when it comes to Pi coding/Linux. I'll have a 2nd look at my wiring as I'm pretty sure it's close to what it should be, but sounds like it could make all the difference.
-
@SteffenMB thanks for the reply. I have checked many times and I know the code is correct for these controllers. I'll try the above suggestion of re-checking wiring to see if this helps.
-
No problem. I am a relative noob myself. But I had a lot of help from people on the forums here so I may as well help now... you know, pay it forward. I think the first thing you need to do is check the wiring, making sure everything is connected and your grounds are correct. Next, you need to test and make sure both sets of buttons and joysticks are registering on the system. You need to run "jstest". I am not sure of the exact line you need but hit f4 and get into the dos type text terminal. I think you type "CD /opt/dev/jstest js0"
but I am not sure. You will need to google it. What this does is run a test with your player 1 controls (js0 is player 1). when you move a stick or press a button one of the fields on the screen should change from "off" to "on". If so, that button is working. When you are sure all are working for Js0, then hit I think ctrl c or ctrl x to exit back to the terminal. Then type the same CD /opt/... but instead jstest js1. This is player 2. Test to make sure all buttons and the joystick are working there.
Report back here once done. Again, google or youtube "retropie jstest" and that should help.
-
@jimd0586
Thanks Jim. I did a quick rewire just to make sure and it is now picking up 2 controllers, so that's the good news!
The bad news is despite that I configured the buttons in ES, I then went into a game to test, but the P1 left and right joystick and swapped, as well as start/select. Back in ES this new configuration remains (swapped) P2 is fine.
I googled jstest and both player buttons show up and appear to be working. I'm not sure what exactly is correct however -
@djgra79 I can tell you from experience, work with what you have... Configure P1 get it working and then leave P2's ES configuration alone. Don't configure it. Find the buttons that work in P2 and move the wiring around to accommodate. IE, determine which p2 button is working right now as start and then what button you want as start and switch the microswitches. Follow me? The problem I had was that I didn't wire completely to the diagram and figured I could reconfigure in emulations station (ES). But in configuration in ES the settings for P2 would overwrite P1 and vice versa. So at the end of the day I had to actually wire the system according to what worked.
-
@jimd0586
Thanks Jim, looks like problem solved! I kept the ES configurations for both P1 & P2 and physically swapped the cables for the switches on P1 that got changed. Tested in Mortal Combat SNES and both players work fine in game and exiting back in ES.
Thanks heaps again! -
No problem. Just pay it forward. Took me weeks to get right and I ended up buying a second board thinking that was the solution. Glad to see you figured it out before going to that extreme.
-
Hi Guys,
I am having the same issue, and still could not resolve myself even after following these instructions. I also followed the instructions on an old forum and installed some patch which did not resolve the 2 player issue and I have given it up and now picking it up after a few months. So don't quite remember what happened back than.
When I do lsusb, I get this:
root@retropie:/home/pi# lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 16c0:05e1 VOTI CDC-ACM class devices (modems)
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 006: ID 046d:c31c Logitech, Inc. Keyboard K120 for BusinessMy driver is the VOTI... because that disappears when I unplug it from the PI. I checked my command.txt and the usbhid quirks was not added without it my system did detect my controller as 4 axes and I could see all 4 axes in jstest. And the emulator was working and I could play with player 1.
Now with the quirks in, emulator is not working and in jstest I can only see 2 axes. So, I have taken the quirks out. What did I do wrong? Shall I start the whole thing right from the beginning with a new image?
-
@Csongor Are you sure we are talking about the same problem? This is specifically about the known problem with the Xin Mo Dual controller. This one: http://www.xin-mo.com/dual-players-controller.html
Is that the one you have?
-
@SteffenMB Yes, I am. I got that from ultracabs.co.uk.
Since my post earlier today, I backed up my SD card, got the latest version of RetroPie 3.7 (oh, I found out that I am using B+ not Rpi2) and installed it. I followed the standard setup procedure, got the emulation station working, mapped my controller and it was again working just fine for player 1. Now, I did lsusb again, I could see "... Van Ooijen Technische Information...", added it to command.txt as described above. I have restarted the machine. Now emulation station only responds to left and right of the joy, but I don't have button A or Options. When I go into jstest it still tells me that I have 2 axes and 10 buttons. When I test them it seems Player 2 joys works and the 6 or so buttons I have connected for player 2.
I am confused, what do I do now?Also, is that normal that my usb keyboard does not do anything in emulation station (other than exit at F4)? Is it because during the initial mapping I used my controller and not the keyboard?
-
@jimd0586 so that mean, that u don't need the 2nd board with this solution?
I don't know why this kernel
https://retropie.org.uk/forum/topic/693/how-to-get-xin-mo-dual-arcade-working-with-retropie-easy-guide-update/8
doesn't work ot for the Pi 3, especially when it works fine with the Pi 2B+. That is ridiculas.
I don't know what to do...I don't want to buy a 2nd BoardThanks
-
Hi Guys,
So nobody has any tips for my case?
-
A little kick: i've got retropie 3.8.1 and the Xin-Mo dual controller version. Is the other/custom kernel still neccesary?
-
Hi!
I got the same problem with my Xin-Mo Joystick-Panel an need help...maybe it will fix someone with automatic Retropie-Update? That would be great.
THX
-
Dudes, look through here and see if anything helps: https://retropie.org.uk/forum/topic/2127/xin-mo-instructions/13
I did everything in there and I have been solid, no issues.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.