Xin-Mo Xin-Mo Dual Arcade Joystick USB (unsuccessful recognizing) [SOLVED]

Hello all, it’s my first post here so please be gentle if I do something wrong :wink:

I have the following problem: I made an arcade from scrap wood, put together some buttons and joysticks I bought on ebay and assembled all of it together perfectly. At first I used an old motherboard and Windows XP with MAME and everything was plug and play (it was automatically recognized, I just had to map the buttons), but now the motherboard went dead and I want to take this opportunity to move away from Windows for good (this was my last home PC with it, now all have GNU/Linux). I have a Raspberry Pi 2 model B 1GB but I’m having trouble recognizing my USB joysticks with LAKKA (no movement on menus and/or games)… but I think I must be not configure it well.

But if I plug it on my Linux Mint XFCE box, after I run

sudo apt-get install joystick

sudo apt-get install jstest-gtk

the joystick preferences shows this: Xin-Mo Xin-Mo Dual Arcade Joystick Device: /dev/input/js0 Axes:4 Buttons:22 http://imgur.com/hLmhqfu

And if I run MAME in Linux Mint the joystick works out of the box!

Can anyone please advise me how I should config my joysticks in LAKKA?

P.S: You can check the WIP picture album here http://imgur.com/a/5voXN

Is it possible to connect to Lakka by ssh and get the output of

lsusb

Thank you.

good job on the cabinet > http://imgur.com/a/5voXN it looks really good

[QUOTE=gouchi;45518]Is it possible to connect to Lakka by ssh and get the output of

lsusb

Thank you.[/QUOTE]

Sure… here it is:

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 16c0:05e1 Van Ooijen Technische Informatica Free shared USB VID/PID pair for CDC devices
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04f3:0234 Elan Microelectronics Corp. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

http://imgur.com/0n4RmM7

[QUOTE=s199;45526]good job on the cabinet > http://imgur.com/a/5voXN it looks really good[/QUOTE]

Thanks :wink: It’s a WIP with a lot of work still to do… I will cover everything in black later (I’m thinking auto adhesive plastic paper), then some artwork and some led lights, and I still have to figure out if can improve the rotating mechanism of the screen cause I like to play those vertical shoot’em’ups and pinballs in that way (I don’t know if LAKKA suports screen rotation though, does it?)

eyyy, that screen rotating wheel is cool.

RetroArch doesn’t support TATE/rotation as well as I would like. There’s a rotation setting in settings > video, but it just rotates the game image and not the entire UI, and it can be hard to force shmups to fill the whole TATEd screen without using the custom viewport settings.

1 Like

Can you try to add boot arguments (press Tab to edit cmdline in the boot menu) usbhid.quirks=0x16c0:0x05e1:0x040 ?

Source

[QUOTE=gouchi;45591]Can you try to add boot arguments (press Tab to edit cmdline in the boot menu) usbhid.quirks=0x16c0:0x05e1:0x040 ?

Source[/QUOTE]

I’m very sorry for such a late response but I had to go away for a few days… now I’m back, and with a lot of work still to do but I’ll try to be quicker.

So since last time, I’ve installed LAKKA again on my RaspberryPi, updated to last devel version, and I think I noticed something different… something I could swear that didn’t happened before… (NOTE I did not add boot arguments yet since I have no boot menu on RaspeberryPi)

Just after the menus loads, the following message appears for brief seconds: Xin-Mo Xin-Mo Dual Arcade (5824/1505) not configured (see screenshot below)

Is this a good sign? Does this mean that LAKKA is recognising the joysticks, and all is left to do is configured them? If so, how do I do it?

Try to bind it with Setting Tab > Input > Input User 1 Binds > User 1 Bind All for P1

But it shouldn’t work for P2.

That is why you need to append the boot argument so that it can be recognized as 2 Players.

[QUOTE=gouchi;46315]Try to bind it with Setting Tab > Input > Input User 1 Binds > User 1 Bind All for P1

But it shouldn’t work for P2.

That is why you need to append the boot argument so that it can be recognized as 2 Players.[/QUOTE]

YEAHH !!! “User 1 Bind All for P1” immediately enabled navigation menus with the joystick…

Next I’m going to add 1 or 2 game ROMs and test them… I’ll get back with the results :wink:

NOTE: Upon reboot, the message “Xin-Mo Xin-Mo Dual Arcade not configured” still appears but joystick is responding without needing to “User 1 Bind All for P1”

[QUOTE=gouchi;45591]Can you try to add boot arguments (press Tab to edit cmdline in the boot menu) usbhid.quirks=0x16c0:0x05e1:0x040 ?

Source[/QUOTE]

Ok so now after I successfully test a few game ROMS, I’ve added

usbhid.quirks=0x16c0:0x05e1:0x040

to the cmdline.txt file on the SD card, booted LAKKA, and…YEEEEEEEEES, I now succefully managed to config each player (1 and 2) with different joysticks (left and right).

Thanks to you, I’ll now be able to kick W!nd0w$ from my house once and for all!!!

THANK YOU, THANK YOU, THANK YOU

Linux community rocks!!!

Admin(s)m please change title of this thread to [SOLVED]

Many thanks in advance

Great ! Glad it works !