Page 1 of 1

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

Posted: Sat Dec 02, 2023 4:28 am
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


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

Posted: Sat Dec 02, 2023 6:54 am
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


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

Posted: Sat Dec 02, 2023 1:44 pm
by chocomochino

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


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

Posted: Sat Dec 02, 2023 6:20 pm
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