Open cassianoperin opened 1 month 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.
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:
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
Hey Fred, just made the tests here, there's a timeout when starting the openffb process, lets the steps:
1) Started the game normally using Wipi (onde the openffb process start, the wheel start going left):
2) Killed both openffb processes (wheel stop):
3) After set debug to level 3, started again the process, and the timeouts started (wheel start going left again):
4) The connections of my openffb controller (MIDI to the board and a usb cable connected to rasperry pi).
I didn't made the service menu ffb tests you requested because probably there's something to fix here first to see the commands you want to see.
I also made a video and uploaded to wetransfer.com, please let me know if you can download it, otherwise I can upload to youtube.
Regards! Cassiano
Thank you @cassianoperin for all the precious information you shared!
From the traces, we can deduct that openFFB:
I could pass you the firmware I got from Aganyte but this was for the standard Sega FFB Controller (basic Arduino), not for the pro version you have. (I never got this pro version in fact)
PS: the fact that the wheel moves on the left is normal behaviour; it is done by openFFB (playCOMEndEffect()) when reinitializating himself when no communication comes from the Sega FFB controller or when openFFB process terminates.
Having said that, when the problem with Sega FFB controller will be solved, I think we will also have to look at driver version of new-lg4ff. I suspect you have 0.3.1 but should need 0.4.0 for your wheel. (c/o https://github.com/berarma/new-lg4ff/releases) and it should be set in PS3 mode.
Best regards Fred
@cassianoperin , Would you be willing to contact me on Discord, please? (Fredobedo on the OpenJVS Server)
Just sent you a message on Discord, @Fredobedo with some more info.
I should be able to get everything setup next weekend and get you the info you need as well, since I have a different wheel.
On Mon, Nov 4, 2024 at 8:18 AM Fredobedo @.***> wrote:
Hi @mathewbeall https://github.com/mathewbeall and @cassianoperin https://github.com/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:
- launch Initial-d from Wipi.
- 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'
- Kill the openffb process (as we will start it again manually in debug mode) but keep openjvs
- set openFFB DEBUG_TRACE to 3 ('nano /etc/openffb/config') -> Yes, level 3 exists but not documented :)
- start ffb (ex: 'openffb -h=0 -gp=initial-d &')
- Now, on your Naomi, go to the Service menu - Game menu - force feedback.
- 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
— Reply to this email directly, view it on GitHub https://github.com/Fredobedo/openFFB/issues/2#issuecomment-2455139123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4VYSQMBJ2RUCWEWS6VCH3Z66M5TAVCNFSM6AAAAABQR4OIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJVGEZTSMJSGM . You are receiving this because you were mentioned.Message ID: @.***>
@mathewbeall , could you make a checksum of the version of the firmware you uploaded, please? And if possible, share it with us?
@cassianoperin just uploaded another version, now he gets traces from Sega FFB controller but he gets only 0x8000000000 messages, so basically the raspberry Pi doesn't get any FFB effect requests from the Naomi
Thanks
You mean the firmware for the Sega FFB controller board right?
I got it from here: https://drive.google.com/drive/folders/1d2D6AD6aovME_twogujptYNjNHbW_VdJ?usp=sharing
ArcadeFFB_to_pc is what I used.
BTW - works perfectly fine for the Microsoft FFB Sidewinder wheel.
On Wed, Nov 13, 2024 at 12:40 AM Fredobedo @.***> wrote:
@mathewbeall https://github.com/mathewbeall , could you make a checksum of the version of the firmware you uploaded, please? And if possible, share it with us?
@cassianoperin https://github.com/cassianoperin just uploaded another version, now he gets traces from Sega FFB controller but he gets only 0x8000000000 messages, so basically the raspberry Pi doesn't get any FFB effect requests from the Naomi
Thanks
— Reply to this email directly, view it on GitHub https://github.com/Fredobedo/openFFB/issues/2#issuecomment-2472845403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4VYSS4S5AJLQZ2AERPVCD2AMF6XAVCNFSM6AAAAABQR4OIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZSHA2DKNBQGM . You are receiving this because you were mentioned.Message ID: @.***>
@mathewbeall , Mmm I don't find ArcadeFFB_to_pc in the google drive you shared.
And thank you to confirm that it works with an MS Sidewinder Wheel, I never test this one. For the effects you have in initial D when driving straight ahead, I do have the same behaviour as you by now; the faster the car drives, the stronger the effect is. I will see if I can do something in my code but most probably it is the same in a real initial D racecab. Unfortunately I didn't find any near by my home to double check :(
Are you also on OpenJVS Discord Server?
Sorry - download the "update" zip at the top of the page - and then go into programs and you will see it.
I can join the discord - I will have to check later to see if I am already on it.
Matt
On Thu, Nov 14, 2024 at 1:48 AM Fredobedo @.***> wrote:
@mathewbeall https://github.com/mathewbeall , Mmm I don't find ArcadeFFB_to_pc in the google drive you shared.
And thank you to confirm that it works with an MS Sidewinder Wheel, I never test this one. For the effects you have in initial D when driving straight ahead, I do have the same behaviour as you by now; the faster the car drives, the stronger the effect is. I will see if I can do something in my code but most probably it is the same in a real initial D racecab. Unfortunately I didn't find any near by my home to double check :(
Are you also on OpenJVS Discord Server?
— Reply to this email directly, view it on GitHub https://github.com/Fredobedo/openFFB/issues/2#issuecomment-2475875996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4VYSQLRYHN6P62JC5J6Z32ARWVTAVCNFSM6AAAAABQR4OIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZVHA3TKOJZGY . You are receiving this because you were mentioned.Message ID: @.***>
I am not - if you send me the link I can join, or the whatsapp chat - I can also join that, I am at xxx.
I will go get my wheels from storage and set things up tmrw so I can do the testing.
Matt
On Thu, Nov 14, 2024 at 1:48 AM Fredobedo @.***> wrote:
@mathewbeall https://github.com/mathewbeall , Mmm I don't find ArcadeFFB_to_pc in the google drive you shared.
And thank you to confirm that it works with an MS Sidewinder Wheel, I never test this one. For the effects you have in initial D when driving straight ahead, I do have the same behaviour as you by now; the faster the car drives, the stronger the effect is. I will see if I can do something in my code but most probably it is the same in a real initial D racecab. Unfortunately I didn't find any near by my home to double check :(
Are you also on OpenJVS Discord Server?
— Reply to this email directly, view it on GitHub https://github.com/Fredobedo/openFFB/issues/2#issuecomment-2475875996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4VYSQLRYHN6P62JC5J6Z32ARWVTAVCNFSM6AAAAABQR4OIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZVHA3TKOJZGY . You are receiving this because you were mentioned.Message ID: @.***>
@mathewbeall , could you give me your country code, please ?
US, so 001?
On Sat, Nov 16, 2024 at 4:52 AM Fredobedo @.***> wrote:
@mathewbeall https://github.com/mathewbeall , could you give me your country code, please ?
— Reply to this email directly, view it on GitHub https://github.com/Fredobedo/openFFB/issues/2#issuecomment-2480550243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4VYSUBEFSR2EWQJZIZHEL2A45YXAVCNFSM6AAAAABQR4OIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGU2TAMRUGM . You are receiving this because you were mentioned.Message ID: @.***>
Ok - I have everything set up now - with the MOMO, I am getting error 80000000000 constantly...
`root@Netbooter:/etc/openjvs/devices# openffb -h=0 -gp=initial-d OpenFFB Version 1.0.0 Sega FFB Controller: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
Debug messages will appear below, you are in debug mode 3.
devicePath=/dev/input/event0 Using device 0.
FF_CONSTANT Effect id=0 FF_SINE Effect id=1 FF_FRICTION Effect id=2 FF_FRICTION Effect id=3 FF_SPRING Effect id=4 FF_RUMBLE Effect id=5 FFBSetGlobalGain Connecting to Sega FFB Controller Will start the main loop... Error: timout occoured, nbrOfTimeOut=0 Error: timout occoured, nbrOfTimeOut=1 Error: timout occoured, nbrOfTimeOut=2 426F6F740D0A
Warning, checksum error Error: checksum error occoured 800000000000 800000000000 800000000000 800000000000 playCOMInitEffect!!! TriggerConstantEffect TriggerConstantEffect TriggerConstantEffect TriggerConstantEffect 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 800000000000 `
Maybe that 800000000 is ok - I just tested with my microsoft force feedback sidewinder - all worked in the test menu as expected, let me test with logitech MOMO now.
OK - I did a good amount of testing....
within the InitialD3 menu - on BOTH wheels - when I hit right, it goes slightly right and the code changes, and when I hit left, the code changes... For the Logitech:
RIGHT - 807F00012E50 LEFT - 807F00002F50 CENTER 807F0000007F
But, when I go into the game - even though I see all sorts of numbers flying around - there is no FFB in the game.
When I plug in my Microsoft Sidewinder FFB Wheel (and change nothing) - behavior is the same in the test menu, but in game - the force feedback works (it seems a little odd to me - but never played in the arcade so have no baseline to compare to).
Let me know what else you would like to see, video - logs, etc. I have it set up in my garage for the weekend.
Matt
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:
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