Author Topic: Xin-Mo Xin-Mo Dual Gamepad Problems  (Read 8185 times)

Ghostfur

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Xin-Mo Xin-Mo Dual Gamepad Problems
« on: January 02, 2017, 02:55:26 AM »
Hi Everybody Happy New Year!  ::)

Long Story:
I'm having problems setting up my gamepads (Xin-Mo Xin-Mo Dual)
when i set gamepad 1 everything works well and i can leave games with select start....
but after i set gamepad 2 in retropie the menu part everything works fine! till i start a game
when i start a game the controller settings changes and i cannot leave game anymore
so i restart the raspberry after restart only gamepad 2 seen to work and gamepad 1 is losing the button configurations
does someone also encounted this problem and is there a tutorial how i can fix this problem! i building a bartop arcade
and iam stuck :( at these configurations

Short Story:
Gamepad 1 Working perfectly but when setting up gamepad 2
after a restart or when i start a game gamepad 1 not working anymore so i cannot leave any games
it keep doing this i already reinstalled Retropie + Attract Mode But doesnt fix my problem!

Player Buttons:
9 buttons 1 joystick
8 buttons 1 joystick

i added usbhid.quirks=0x16c0:0x05e1:0x040 to the cmdline so thats already done !

inside /opt/retropie/configs/all/retroarch-joypads

Xin-MoXin-MoDualArcade

input_device = "Xin-Mo Xin-Mo Dual Arcade"
input_driver = "udev"
input_l_btn = "5"
input_load_state_btn = "5"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_up_axis = "-1"
input_a_btn = "3"
input_b_btn = "1"
input_reset_btn = "1"
input_down_axis = "+1"
input_r_btn = "4"
input_save_state_btn = "4"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_x_btn = "0"
input_menu_toggle_btn = "0"
input_select_btn = "6"
input_enable_hotkey_btn = "6"
input_y_btn = "2"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"

Xin-MoXin-MoDualArcade.cfg

input_device = "Xin-Mo Xin-Mo Dual Arcade"
input_driver = "udev"
input_l_btn = "2"
input_load_state_btn = "2"
input_start_btn = "10"
input_exit_emulator_btn = "10"
input_up_axis = "-1"
input_a_btn = "3"
input_b_btn = "0"
input_reset_btn = "0"
input_down_axis = "+1"
input_r_btn = "1"
input_save_state_btn = "1"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_x_btn = "9"
input_menu_toggle_btn = "9"
input_select_btn = "11"
input_enable_hotkey_btn = "11"
input_y_btn = "8"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"

Sorry For My Bad English Hope you Guys/Girls Understand :)

Greetings Michel !


« Last Edit: January 02, 2017, 03:01:55 AM by Ghostfur »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #1 on: January 02, 2017, 08:48:22 PM »
Your issue is with the cmdline.txt. There is something wrong with your addition of "usbhid.quirks=0x16c0:0x05e1:0x040".

Read this for details https://github.com/retropie/retropie-setup/wiki/Xin-Mo-Controller.

Possible issues are:
1. you have added this to an additional line (this file needs to all be on one line)
2. You have a different hardware address (vendor id & hardware id) and "usbhid.quirks=0x16c0:0x05e1:0x040" is not the correct entry for your xin-mo (see the link above for details).
3. You have modified the file using a program that isn't compatible with linux text.
4. You don't have a trailing line (empty line) at the end of the cmdline.txt file.

Ghostfur

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #2 on: January 21, 2017, 03:30:56 AM »
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 logo.nologo consoleblank=0 plymouth.enable=0 usbhid.quirks=0x16c0:0x05e1:0x040

The cmdline is in one line without any space at the end
also i checked vendor id & hardware id with lsusb and its 16c0:05e1 so that must be right to i guess
it also recognized 2 gamespads when entering retropie i can setup all fine
and it works at that moment but if i do a restart or i enter a game everything reconfigs automaticly
player one cannot leave game anymore when entering game so i need to restart raspberry by hand after startup player 2 works but cannot leave game so i need to configurate player 1 again it keep doing this it looks like it doesnt save my settings when entering game or leaving system  i also tryed to format sd again and installed retropie + emulationstation again but it keep doing it!

I will try some other solutions i found! pff hope those will work!

Same Problem here
https://retropie.org.uk/forum/topic/321/yet-another-xin-mo-2-player-installation-question-retropie-3-6-pi-3b


« Last Edit: January 21, 2017, 03:45:10 AM by Ghostfur »

Ghostfur

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #3 on: January 27, 2017, 11:32:17 AM »
Problem solved :) really happy now :) i will post tutorial about how i did it :)

Stromslund

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #4 on: April 17, 2017, 09:15:53 AM »
Problem solved  really happy now  i will post tutorial about how i did it
-------------------------------------------------------------------------------

I would love to see how you did these because I need help.

rmilyard

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #5 on: April 20, 2017, 09:57:02 AM »
Please share how got this working.  Running into same issue now.

colinvella

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Xin-Mo Xin-Mo Dual Gamepad Problems
« Reply #6 on: April 29, 2017, 05:45:19 AM »
I am also having this problem.  After setting the quirks parameter, ES recognises the Xin-Mo board as a dual joystick. I was also able to verify that the inputs for each joystick wor properly by using the command line tool "jstest /dev/input/js0" for the first joysticknow  (and /js1 for the second one) and the inputs work.

However, although ES does allow you to configure both sticks as Gamepad 1 and 2, the ES configuration  file doesn't distinguish between the two, resulting in the configurations overwriting each other when accessing a game or restarting ES.