Choose style:

Author Topic: Hori Fighting Stick 3  (Read 438 times)

0 Members and 1 Guest are viewing this topic.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1917
  • Karma: 330
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Hori Fighting Stick 3
« on: December 01, 2018, 05:40:14 pm »
I picked up this arcade joystick/fightstick quite cheap today, hoping to use it for MAME on Peppermint (9). It was intended for a PlayStation 3.

I plug in the USB cable and the joystick is detected as

Code: [Select]
/dev/input/by-id/usb-HORI_FIGHTING_STICK_3-joystick
/dev/input/by-id/usb-HORI_FIGHTING_STICK_3-event-joystick

I can't get any of the directions or buttons to be detected in MAME. I compiled antimicro and it also can see what the device is called but doesn't recognise it doing anything.
Code: [Select]
cat /dev/input/by-id/usb-HORI_FIGHTING_STICK_3-event-joystick
doesn't show anything when I try the controls.

The device doesn't seem to be dead as I can set turbo functions which make its green turbo light come on. Any ideas?  :-\

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1917
  • Karma: 330
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Hori Fighting Stick 3
« Reply #1 on: December 01, 2018, 06:08:42 pm »
I did also try this:

https://forum.peppermintos.com/index.php/topic,6053.msg68272.html#msg68272

Code: [Select]
sudo xboxdrv --detach-kernel-driver

But it gives
Code: [Select]
-- [ ERROR ] ------------------------------------------------------
No Xbox or Xbox360 controller found

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24925
  • Karma: 2753
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Hori Fighting Stick 3
« Reply #2 on: December 01, 2018, 06:34:45 pm »
output from:
Code: [Select]
lsusb
?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1917
  • Karma: 330
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Hori Fighting Stick 3
« Reply #3 on: December 01, 2018, 07:17:41 pm »
Code: [Select]
$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 005: ID 0f0d:0010 Hori Co., Ltd
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 89e5:101b 
Bus 001 Device 005: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 004: ID 04d9:4545 Holtek Semiconductor, Inc.
Bus 001 Device 003: ID 0c45:51f4 Microdia
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 1210:0002 DigiTech
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1917
  • Karma: 330
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Hori Fighting Stick 3
« Reply #4 on: December 01, 2018, 10:16:01 pm »
Code: [Select]
$ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: AliTV Remote V1 Airmouse
/dev/input/event3: AliTV Remote V1 Airmouse
/dev/input/event4: AliTV Remote V1 Airmouse
/dev/input/event5: USB Keyboard
/dev/input/event6: USB Keyboard
/dev/input/event7: USB OPTICAL MOUSE
/dev/input/event8: HDA Intel Mic
/dev/input/event9: HDA Intel Line
/dev/input/event10: HDA Intel Line Out
/dev/input/event11: HDA Intel Front Headphone
/dev/input/event12: Xbox 360 Wireless Receiver
/dev/input/event13: Xbox 360 Wireless Receiver
/dev/input/event14: Xbox 360 Wireless Receiver
/dev/input/event15: Xbox 360 Wireless Receiver
/dev/input/event16: HORI FIGHTING STICK 3
Select the device event number [0-16]: 16
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xf0d product 0x10 version 0x100
Input device name: "HORI FIGHTING STICK 3"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 304 (BTN_SOUTH)
    Event code 305 (BTN_EAST)
    Event code 306 (BTN_C)
    Event code 307 (BTN_NORTH)
    Event code 308 (BTN_WEST)
    Event code 309 (BTN_Z)
    Event code 310 (BTN_TL)
    Event code 311 (BTN_TR)
    Event code 312 (BTN_TL2)
    Event code 313 (BTN_TR2)
    Event code 314 (BTN_SELECT)
    Event code 315 (BTN_START)
    Event code 316 (BTN_MODE)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max      255
      Flat      15
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max      255
      Flat      15
    Event code 2 (ABS_Z)
      Value      0
      Min        0
      Max      255
      Flat      15
    Event code 5 (ABS_RZ)
      Value      0
      Min        0
      Max      255
      Flat      15
    Event code 16 (ABS_HAT0X)
      Value      0
      Min       -1
      Max        1
    Event code 17 (ABS_HAT0Y)
      Value      0
      Min       -1
      Max        1
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)

I don't get any events showing up though when I try the joystick.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24925
  • Karma: 2753
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Hori Fighting Stick 3
« Reply #5 on: December 02, 2018, 05:34:30 pm »
I know there's a way to register unknown USB IDvendor:IDdevice strings with xboxdrv .. I know this because I had an XBox controller that gave me the exact same "No Xbox or Xbox360 controller found" message, until I did something. Problem is I can't recall what I had to do but I'll see if I can find out again when I have time .. may be a while though, currently working on the respin.

If you can't find out yourself, and I've not got back to you within a week or so, gimme a reminder.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1917
  • Karma: 330
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Hori Fighting Stick 3
« Reply #6 on: December 03, 2018, 04:26:09 am »
Thanks, that's interesting to know. I'll have a look for that, maybe it's in the extensive xboxdrv documentation or in one of the many threads out there about awkward controllers  :)