Fredobedo / openFFB

4 stars 1 forks source link

Naomi2 - Wipi - G923 with new-lg4ff - Wheel shaking to left #2

Open cassianoperin opened 1 week ago

cassianoperin commented 1 week ago

Hey, I just received my FFB Controller, configured the arduino with ArcadeFFB_to_pc ( my setup is a real Naomi 2 board, raspberry PI with WIPI and JVS Hat).

I connected the 4 midi pins from CN9 to FFB controller following the pinout like this:

FFB_1

The wheel works perfectly with just openjvs, when I enable the OpenFFB, once I start a game (tested with Initial D 3 (Japan), the wheel start to shake left and do not stop.

root@Netbooter:~# sudo openffb -a

Available Devices:

Device[0] Simplified Name : logitech-g923-racing-wheel-for-playstation-4-and-pc Device[0] Real Name : Logitech G923 Racing Wheel for PlayStation 4 and PC Device[0] Vendor/Product/Version : 046d/c266/0111 Device[0] Driver Version : 1.0.1 Device[0] path : /dev/input/event0

All ffb configs are fine...

root@Netbooter:~# sudo openffb -h=0 -s OpenFFB Version 1.0.0 Sega FFB Controller: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 devicePath=/dev/input/event0 Using device 0.


-- Checking capabilities:

Nbr of programmable effects for this device: 16 Nbr of simultaneous effects the device can play: 16

ffb_supported constant effect:

ffb_supported condition effects:

ffb_supported global features:

Rumble ffb_supported:

A friend of mine made the same setup with a logitech wheel, the exact same setup, raspberry pi, jvs hat and ffb controller and had the same problem, could you please help me to identify the problem?

Regards, Cassiano

mathewbeall commented 1 week ago

I had the exact same behavior - but I do have a slightly different wheel. Logitech MOMO wheel - but still supported by the driver and showed up exactly as above.

Fredobedo commented 2 days ago

Hi @mathewbeall and @cassianoperin, let's try to find the root cause. I propose to investigate if it comes from the Sega FFB Controller or openFFB.

For this, let's activate the traces of openFFB and execute some FFB basic commands from within the Initial D game menu. Here are the steps I propose:

  1. launch Initial-d from Wipi.
  2. open a terminal session on your Wipi and just check by curiosity what Wipi has launched -> 'ps -ef | grep open' -> you should see 'openjvs initial-d' and 'openffb -h=0 -gp=initial-d'
  3. Kill the openffb process (as we will start it again manually in debug mode) but keep openjvs
  4. set openFFB DEBUG_TRACE to 3 ('nano /etc/openffb/config') -> Yes, level 3 exists but not documented :)
  5. start openFFB manually now (ex: 'openffb -h=0 -gp=initial-d &')
  6. Now, on your Naomi, go to the Service menu - Game menu - force feedback.
  7. test "Center, left and right' -> you should see now the openFFB traces representing the commands sent by the Sega FFB Controller.

Here is a short video I just made of what you should see: https://youtube.com/shorts/5ItqhiEdj54 -> If you don't see them, then we know by now that it comes from the Sega FFB Controller.

Could you tell me the test result, please?

Best regards Fred