SOLVED: Help configuring HID pandora 3d usb (2nd player)

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
User avatar
chocomochino
Posts: 76
Joined: Mon Feb 15, 2021 4:43 am
Location: Mexico
Has thanked: 26 times
Been thanked: 6 times
Contact:

SOLVED: Help configuring HID pandora 3d usb (2nd player)

Unread post by chocomochino »

Hello,can anyone help me? i have no idea how to make the mister recognize the player 2 buttons; on HID MBX n200 they work great on windows 10 but.. mister does nothing when i press them, they are not recognized when pressed but joystick works fine:
Player 1 works great;

mister.ini
; Disable merging input devices. Use if only player 1 works.
; Leave no_merge_pid empty to apply this to all devices with the same VID.
no_merge_vidpid=0x03140119

this is what info i have on it from cat /proc/bus/input/devices

I: Bus=0003 Vendor=0314 Product=0119 Version=0101
N: Name="MBX n200"
P: Phys=usb-ffb40000.usb-1.6/input0
S: Sysfs=/devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.6/1-1.6:1.0/0003:0314:0119.0008/input/input5
U: Uniq=12345678900
H: Handlers=js4 event5
B: PROP=0
B: EV=1b
B: KEY=3fff0000 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10

User avatar
Sorgelig
Site Admin
Posts: 882
Joined: Thu May 21, 2020 9:49 pm
Has thanked: 2 times
Been thanked: 212 times

Re: SOLVED: Help configuring HID pandora 3d usb (2nd player)

Unread post by Sorgelig »

As i see device is recognized as a single, so probably it gets merged in kernel driver.
I think you need to add kernel boot parameter to disable merging.
you need to edit/create /media/fat/linux/boot.txt file with line something like this:

usbhid.quirks=0x0314:0x0119:0x040

i'm not quite sure if 0x040 is correct. May be other users can tell more.
After creating/modifying that file, you need to reboot/powercycle the MiSTer.

After reboot, check /proc/bus/input/devices again to see if you have more than one device

User avatar
chocomochino
Posts: 76
Joined: Mon Feb 15, 2021 4:43 am
Location: Mexico
Has thanked: 26 times
Been thanked: 6 times
Contact:

Re: SOLVED: Help configuring HID pandora 3d usb (2nd player)

Unread post by chocomochino »

Thank you so much! I'll try it this morning! Have a great day

User avatar
chocomochino
Posts: 76
Joined: Mon Feb 15, 2021 4:43 am
Location: Mexico
Has thanked: 26 times
Been thanked: 6 times
Contact:

Re: SOLVED: Help configuring HID pandora 3d usb (2nd player)

Unread post by chocomochino »

It works!

this made all the difference:

mister.ini:
no_merge_vidpid=0x3140119

AND

uboot.txt
v=loglevel=4 usbhid.jspoll=0 xpad.cpoll=0 usbhid.quirks=0x0314:0x0119:0x040

threw:

I: Bus=0003 Vendor=0314 Product=0119 Version=0101
N: Name="MBX n200"
P: Phys=usb-ffb40000.usb-1.6/input0
S: Sysfs=/devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.6/1-1.6:1.0/0003:0314:0 119.000A/input/input11
U: Uniq=12345678900
H: Handlers=js4 event4
B: PROP=0
B: EV=1b
B: KEY=3fff0000 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10

I: Bus=0003 Vendor=0314 Product=0119 Version=0101
N: Name="MBX n200"
P: Phys=usb-ffb40000.usb-1.6/input0
S: Sysfs=/devices/platform/soc/ffb40000.usb/usb1/1-1/1-1.6/1-1.6:1.0/0003:0314:0 119.000A/input/input12
U: Uniq=12345678900
H: Handlers=js5 event5
B: PROP=0
B: EV=1b
B: KEY=3fff0000 0 0 0 0 0 0 0 0 0
B: ABS=30027
B: MSC=10

Post Reply