Homepage Forums RetroPie Project Everything else related to the RetroPie Project RetroPie not recognizing Xarcade Dual Tank Stick

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #6021
    charger1369
    Participant

    Hello, I am having a problem with retropie. I have an arcade cabinet set up with a big old tv, some speakers and an xarcade dual tank stick system. I have read that retropie is compatible with this, and have also read of others who the controls work for but they are having other problems with them. My problem is that retropie will not recognize a single button push of this tank stick. I have looked everywhere for help and there is not anything that I could find that addresses this specific problem. I am using the newest version of the retropie image, just burned it. I really need this to work, im just trying to get the tank stick working with retropie right now.

    #7104
    petrockblog
    Keymaster

    FYI: RetroPie will support the X-Arcade Tankstick soon. I am working on this these days …

    #7386
    petrockblog
    Keymaster

    The Xarcade Tankstick is working with RetroPie seamlessly now!

    If you are more interested in this have a look at https://www.petrockblock.com/2014/06/01/xarcade2jstick/.

    Have fun!

    #7588
    miggy
    Participant

    What about the DualJoyStick?
    I have installed and followed the instructions and I can’t get my xarcade DualStick to work at all ;(

    #7590
    petrockblog
    Keymaster

    I only had the Tankstick for the development of Xarcade2Jstick. However, it should be possible to extend Xarcade2Jstick to also support the DualStick.

    Could you post the output of the command sudo lsinput here?

    If the command lsinput is unknown you can install this tool with sudo apt-get install -y input-utils.

    What we are looking for is something similar to the output as shown below:
    [gist id=”43dd12d8dcd8fe222abb”][/gist]

    #9953
    Shibo
    Guest

    This is without Xarcade2jstick installed. This is on raspberry pi model b. Xarcade DualJoyStick

    Additionally, when I first setup RetroPie I registered a usb keyboard and both joysticks with their keyboard commands so they could navigate the menus, so I am not sure if that will cause extra input events below.

    /dev/input/event0
    bustype : BUS_USB
    vendor : 0xaa55
    product : 0x101
    version : 272
    name : “XGaming X-Arcade”
    phys : “usb-bcm2708_usb-1.2/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    /dev/input/event1
    bustype : BUS_USB
    vendor : 0xb38
    product : 0x10
    version : 272
    name : “HID 0b38:0010”
    phys : “usb-bcm2708_usb-1.3/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    /dev/input/event2
    bustype : BUS_USB
    vendor : 0xb38
    product : 0x10
    version : 272
    name : “HID 0b38:0010”
    phys : “usb-bcm2708_usb-1.3/input1”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC

    /dev/input/event3
    bustype : BUS_USB
    vendor : 0x1
    product : 0x1
    version : 4
    name : “Xarcade-to-Gamepad Device”
    bits ev : EV_SYN EV_KEY EV_REL EV_ABS

    /dev/input/event4
    bustype : BUS_USB
    vendor : 0x1
    product : 0x1
    version : 4
    name : “Xarcade-to-Gamepad Device”
    bits ev : EV_SYN EV_KEY EV_REL EV_ABS

    /dev/input/event5
    bustype : BUS_USB
    vendor : 0x1
    product : 0x1
    version : 4
    name : “SNES-to-Keyboard Device”
    bits ev : EV_SYN EV_KEY EV_REL

    #10106
    petrockblog
    Keymaster

    What does the command ls /dev/input show? If there are entries like js0, js1 etc. this indicates that the OS has registered joystick devices. If Xarcade2Jstick is properly running one of the jsX files represents player 1 and another one represents player 2 on the DualStick.

    You can test these devices on OS level, e.g., with the command jstest /dev/input/js0. Adjust js0 to js1, js2 etc. accordingly.

    #10180
    Krsjuan
    Guest

    I have the X-Arcade DIY dual kit installed in an arcade cab.
    Running lsinput returns

    /dev/input/event0
       bustype : BUS_USB
       vendor  : 0xaa55
       product : 0x101
       version : 272
       name    : "XGaming X-Arcade"
       phys    : "usb-bcm2708_usb-1.3.5/input0"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    #10356
    petrockblog
    Keymaster

    [quote=10180]I have the X-Arcade DIY dual kit installed in an arcade cab.
    Running lsinput returns

    /dev/input/event0
       bustype : BUS_USB
       vendor  : 0xaa55
       product : 0x101
       version : 272
       name    : "XGaming X-Arcade"
       phys    : "usb-bcm2708_usb-1.3.5/input0"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    [/quote]

    What do you get when you follow the commands given above (https://www.petrockblock.com/forums/topic/retropie-not-recognizing-xarcade-dual-tank-stick/#post-10106)?

    #11942
    Shibo
    Guest

    I have a js0 and a js1. The tests both hang after listing all the buttons so I interrupted them. Again this is without having Xarcade2JStick though.

    pi@raspberrypi ~ $ jstest /dev/input/js1
    Driver version is 2.1.0.
    Joystick (Xarcade-to-Gamepad Device) has 2 axes (X, Y)
    and 10 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR).
    Testing … (interrupt to exit)
    Axes: 0: 32767 1:-32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off
    pi@raspberrypi ~ $ jstest /dev/input/js0
    Driver version is 2.1.0.
    Joystick (Xarcade-to-Gamepad Device) has 2 axes (X, Y)
    and 10 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, 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:off 7:off 8:off 9:off

    #17920
    Dirac
    Guest

    Sorry if these are dumb questions – am very new to this (*):

    – If I install from SD-card (v.2.2) Image Do I have to use one of the RetroPie-setup options 1 or 2, or can I go straight to Setup (seemed to work for me)

    – My Tankstick has 2 USB jacks, do I use both of them, or only the one belonging to the keyboard?

    (*)
    – Bought Tankstick ~6 years ago
    – Tried PiCade ~2 years ago, failed to get any Tankstick done, gave up
    – Stumbled upon this EXCELLENT project a few hours ago after a random Google search

    #17922
    Dirac
    Guest

    Sorry, Correction, I meant

    “Do I have to use one of the RetroPie-installation options 1 (binaries) or 2 (sources), or can I go straight to Setup (seemed to work for me)”

    #18070
    petrockblog
    Keymaster

    [quote=17922]Sorry, Correction, I meant

    “Do I have to use one of the RetroPie-installation options 1 (binaries) or 2 (sources), or can I go straight to Setup (seemed to work for me)”
    [/quote]
    You can go straight to “Setup” and choose the X-Arcade entry there.

    #18115
    Dirac
    Guest

    @Keymaster: Thank you!

    #111700
    tomtuttle
    Participant

    I’m trying to get an old, PS2-era X-Arcade unit running, and have posted in another thread.

    It *seems* to be recognized at the OS level, but I can’t seem to get things working within Emulation Station.

    When I try to configure from the main Emulation Station menu, the program basically doesn’t recognize any of the actions that can be taken on the X-Arcade. I can get to the Configure Input by using the attached PS2 keyboard (through the XArcade) or through a USB keyboard attached directly to the Pi.

    When I hold down a key on the X-Arcade, it recognizes it as “Keyboard”. But it does NOT recognize an “Up” motion on either joystick.

    IS there manual mapping that can/should be done through one of the cfg files? What am I missing?

    Many thanks.

    [attachment file=”lsinput.JPG”]

    #116535
    qubth
    Participant

    Hello,

    I don’t know if this can be useful here:

    I own a X-Arcade Dual Joystick with a serial-to-USB adapter (yeah, more than 10 years of service)
    When I use it without Xarcade2Jstick on RetroPie, it’s recogniced as a keyboard, when the service is up, it does nothing.
    The system is Raspbian Jessie lite with Retropie from github after fresh install.

    pi@arcade:~ $ sudo lsinput
    /dev/input/event0
    bustype : BUS_USB
    vendor : 0xaa55
    product : 0x101
    version : 272
    name : “XGaming X-Arcade”
    phys : “usb-3f980000.usb-1.2/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    /dev/input/event1
    bustype : BUS_PARPORT
    vendor : 0x1
    product : 0x1
    version : 256
    name : “GPIO Controller 1”
    phys : “input0”
    bits ev : EV_SYN EV_KEY EV_ABS

    /dev/input/event2
    bustype : BUS_USB
    vendor : 0x46a
    product : 0x1
    version : 256
    name : “HID 046a:0001”
    phys : “usb-3f980000.usb-1.5/input0”
    uniq : “”
    bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

    pi@arcade:~ $ ls -l /dev/input/event0
    crw-rw—- 1 root input 13, 64 Feb 8 23:35 /dev/input/event0

    pi@arcade:~ $ id
    uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi)

    pi@arcade:~ $ jstest /dev/input/event0
    Driver version is 0.8.0.
    jstest is not fully compatible with your kernel. Unable to retrieve button map!
    Joystick (Unknown) has 2 axes and 2 buttons.
    Testing … (interrupt to exit)

    jstest: error reading: Invalid argument

    pi@arcade:~ $ uname -a
    Linux arcade 4.1.17-v7+ #834 SMP Mon Feb 1 15:17:54 GMT 2016 armv7l GNU/Linux

    Made some test with strace on xarcade2jstick and he gets exclusive access to /dev/input/event0 as shown in lsof:

    xarcade2j 448 root 4r CHR 13,64 0t0 1848 /dev/input/event0

    shows intercepted data after using the xarcade device with this error after pushing UP in left joystick:

    read(4,”)3\271V\340\251\f\0\4\0\4\0`\0\7\0)3\271V\340\251\f\0\1\0H\0\1\0\0\0″…, 1024) = 48
    gettimeofday({1454977833, 831350}, NULL) = 0
    write(0, “)3\271Vv\257\f\0\3\0\1\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271Vv\257\f\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271Vv\257\f\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    read(4, “)3\271V\1@\16\0\4\0\4\0`\0\7\0)3\271V\1@\16\0\1\0H\0\0\0\0\0″…, 1024) = 48
    gettimeofday({1454977833, 934357}, NULL) = 0
    write(0, “)3\271V\325A\16\0\3\0\1\0\2\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271V\325A\16\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)
    write(0, “)3\271V\325A\16\0\0\0\0\0\0\0\0\0”, 16) = -1 EBADF (Bad file descriptor)

    Hope it helps

    Kind regards

Viewing 16 posts - 1 through 16 (of 16 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.