pi4 8gb testing help needed

Installing ARpiCADE for the first time? Having issues? Check here first for solutions and tips on installing.

Moderator: dee2eR

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

pi4 8gb testing help needed

Post by bash64 » Tue Mar 22, 2022 6:51 am

I am upgrading my pi3b+ cabinet to pi4
my pi4 is the 8gb version and was bought right after release of the pi4
it was benched and running arpicade 4.2

I bought a new jamma and 4player adapter.
I have jamma dip set to 2down and 2up
i have 4player dips set to all down

i have 2 15pin harnesses plugged into player 3/4 M
I installed a fresh 64gb sd card with 4.3.7
partitions resized as suggested and kept below the 32gb mark
i swapped the pi3 for the pi4

I enable 4player mode

joy 1 and 2 are hooked up to jamma using 6buttons
joy 3 and 4 are in the 4player adapter

i have some usb items, spinner knob, trackball, wireless keyboard, 2button flight stick

i cannot see the jamma joysticks at all

if i move player 3/4 from M to K, strangely, joy 1 appears and begins working, but intermittently

any suggestions, thanks

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Tue Mar 22, 2022 6:52 am

do you think rpi-update is needed?

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Wed Mar 23, 2022 2:59 am

rpi-update made it non bootable.
out of ideas.

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Wed Mar 23, 2022 1:37 pm

i disconnected the 4player adapter
still cannot see joysticks 1 and 2 on the jamma cable

my jamma and 4player were bought within the last month
this all works with the 3b+

i am going to build a 4.3 and then a 4.3.1 sd card to see if there is any improvement

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Wed Mar 23, 2022 1:38 pm

i just read that some mame versions might not be able to see 4player.
roms with an issue will be moved to mame 230

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Wed Mar 23, 2022 4:52 pm

SOLVED:

my original arcade cabinet builder chose to use 9pin harnesses.
they have 15wires on the end going into the 4player adapter, but , apparently, only have 9 wires at the other end.
I kept plugging them into the All Games ports instead of the Konami ports for that reason.

Verified with my 3b+ first.

Then the pi4.

Now for a real arpicade 4 issue:
only joy #1 (which is joystick 2) out of 4 joys is visible.
I am up and running as I don't really need more than one joy but I'd like to have all 4 going.

dee2eR
Inventor
Inventor
Posts: 1857
Joined: Tue Aug 22, 2017 2:07 pm

Re: pi4 8gb testing help needed

Post by dee2eR » Wed Mar 23, 2022 10:54 pm

Sorry I didn't reply faster. Not sure exactly what your issue is offhand.

What version of ARpiCADE software are you using? 4.3.7 doesn't exist yet, 4.3.1 should work in four player mode.

Sounds like you had Konami wiring plugged into Midway headers? Not surprised that didn't work right. Not sure what you meant by all games ports but it sounds like you have this aspect fixed.

joy 1 is joy2 (?) DO you mean you have the cab wired so Joy1 is in position 2? That's a fairly common way to wire a 4 player multi if you plan to use 2 player games as the 2 player games end up on the centremost 2 controls without massive amounts of control setting fiddling (there's way more 2 player games than 4 player games so if you need to do per game adjusting it's far easier to do the 4 player games).

I assume you mean in an emulator or a specific game only 1 joy is functioning...(?) I'd recommend doing basic testing on the command line to remove any emulator settings as a variable. Confirm the hardware is working, if it is then we can figure out the emulator setting issue. If you boot up with a USB keyboard plugged in you can access the command line by presisng F4 to exit each menu. Once on the command line type:
jstest /dev/input/js0
to test player 1 inputs, change js0 to js1 for player 2, js2 for player 3 and js3 for player 4. Once you have tested the inputs ctrl+c will exit the test. When finished entirely typing
sudo reboot
will reboot and return you to the menu.

Once you know everything is working on the command line then you can figure out any mapping issues for particular games in the emulators. If you don't make sure the hardware is working first it can be very confusing what the issue may actually be.

EDIT: it's also possible one of the extra controllers is ghanging the joystick order. Not sure re. this though as I don't now what the extra controls are registering themselves as to the Linux kernel. It may be worth keeping the extra stuff unplugged until you are sure the JAMMA bits are working right - but then it may also make no difference.

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Wed Mar 23, 2022 11:49 pm

P.S. the joy that is working is on jamma, not 4player

bash64
Contributing Member
Contributing Member
Posts: 38
Joined: Tue Mar 22, 2022 6:40 am

Re: pi4 8gb testing help needed

Post by bash64 » Mon Apr 25, 2022 10:29 am

after having everything work for almost 2 months now i am back to having only my 2nd joystick working again...and all of the usb joys.
the first two joys are on jamma which is set to have 6 buttons
the 3rd and fourth joys are on the 4 player adapter

lets number my jamma joys 1,2,3, and 4...for simplicity sake. only 2 works, so you can understand
i recovered from a backup and tried unplugging the usb joys and a lot of things.
no dice.
i also made a fresh stick with 4.3.1 and still only joy 2 works
very frustrating
i am down to checking wires now
if the usb joys can cause this...well, i unplugged them and still only jamma joy 2 works
i can get by for now
i can make a symlink that will cause daphne to use joy 2 if need be

p.s. : i tested from the terminal. still only js1 works and responds.

i just realized i can swap the harnesses for #1 and #2 as a temporary fix.

dee2eR
Inventor
Inventor
Posts: 1857
Joined: Tue Aug 22, 2017 2:07 pm

Re: pi4 8gb testing help needed

Post by dee2eR » Wed Apr 27, 2022 12:24 am

This is a weird one. Not sure what would cause 3 of 4 joysticks to stop working at once, it doesn't sound like it's likely to be the board - but I'm not sure what it is offhand, I'm sure we can figure it out.

Are all your inputs grounds shared by all players? If they're not all daisy chained together that may be a good place to check first as it could explain the symptoms you're seeing there.

Maybe if you post photos of both ends of the wiring I could spot something amiss... hard to be sure.

Dropping 3/4 of your inputs is pretty odd, I havne't encountered that before.

Post Reply