matlo / GIMX

The GIMX software.
GNU General Public License v3.0
578 stars 103 forks source link

Gimx with PS5 #673

Open badzh666 opened 3 years ago

badzh666 commented 3 years ago

Hi. I wanna try use gmix with my ps5 and driving force gt. After use maybe 8-10minutes my wheel is ceases with ps5 and i need to reboot gimx. If i plug Dual Sense. Gimx not work. With ps4 i dont have this problems. Any solution? Thnx

matlo commented 3 years ago

Hello, Sadly there is no solution at the moment. I am expecting to receive my PS5 mid-December, and it may be hard for me to find a solution without it. In the meantime, please provide a debug log file with 'controller' and 'usb_con' enabled. This may help figuring out what's happening.

dogtopus commented 3 years ago

That reminds me that someone also mentioned that their custom PS4 passthrough authenticator does not work on PS5 and they managed to fix it. However I don't know more than that because apparently that person didn't release the source code :S. (What's worse is it's built on top of several GPL libraries but that's off topic) Seems like all reports at this point are about steering wheels so this is likely irrelevant. Other than that, did you try obvious actions like swapping out USB cables?

lianyanjiajia commented 3 years ago

I have the same problem on PS5 that is gmix lose control in eight minutes. This is my log. log.txt debug.txt

dogtopus commented 2 years ago

Not sure if this will be helpful on narrowing down the issue or not but: As a byproduct of another investigation, I now know that a controller built with the current knowledge on the 3rd party controller protocol at least for regular controllers (aka DS4-like, non-dedicated controllers) should work with PS5 if a valid key is used (regardless of whether the key is from a DS4 or not). So either PS5 is now super hard on checking for the steering wheels or there's a bug in GIMX that sets the PS5 off (don't know how likely this is but something could still go wrong e.g. longer than usual auth timing).

Also there could be a third reason: using knockoff controllers that got the keys banned on PS5 but not PS4. Not sure how likely this is but might be possible.

ytak01 commented 2 years ago

I changed the USB ID part of the GIMX source a little and tried it with a controller made by 3rd Party. I expected that the same thing could be done with GIMX, as with many converters, but it disconnects in about 8 minutes.

What are you currently having problems with?

I sincerely hope that GIMX will support PS5 as GT7 will be released soon.

SteveC78 commented 2 years ago

Hi guys, anyone tried Dirt Rally 2.0 on PS5? The game behaves like a PS5 game in the sense that after 5-6 minutes I lose the connection with the wheel. On PS4 everything works perfectly. Obviously with the same connections on both PS4 and PS5. I use gimx on rpi3. Has anyone had any experiences with this game on PS5?

bdr27 commented 2 years ago

With the disconnect issue on PS5 while I need to actually test it with my GIMX I know the DriveHub had a similar issue with disconnecting with the PS5 after a 5-6 minutes and this issue can be solved by using a third party wired only PS4 controller. I wonder if it's doing some sort of wireless verification and if it can communicate with Bluetooth it'll disconnect the wheel which shouldn't be able to communicate over Bluetooth

magneval commented 2 years ago

I have the following setup: A Logitech Driving Force GT A raspberry pi 3 A PS4 controller connected by USB to the Raspberry PI The PI is wired to a PS5 and I have the same issue with a deconexion after few minutes I have seen that just restarting the gimx service solve the connection temporally but still get the deconected few minute laters I have found the following logs messages that could help: /var/log/kern.log:Mar 31 21:44:20 gimxGT29 kernel: [   42.255455] sony 0003:054C:05C4.0001: can't resubmit intr, 3f980000.usb-1.4/input0, status -2 and Loaded: loaded (/etc/systemd/system/gimx.service; enabled; vendor preset: enabled)    Active: active (running) since Thu 2022-03-31 21:44:19 CEST; 27min ago Main PID: 582 (gimx)     Tasks: 2 (limit: 2178)    CGroup: /system.slice/gimx.service            └─582 /usr/bin/gimx -p /dev/ttyUSB0 -c LogitechDrivingForceGT++_G29.xml --nograb

mars 31 21:44:21 gimxGT29 gimx[582]: Appuyez sur le bouton ou la touche assignée à PS. mars 31 21:51:26 gimxGT29 gimx[582]: 1648756286.221646 timer fired 3 times... mars 31 21:51:26 gimxGT29 gimx[582]: 1648756286.342552 timer fired 2 times... mars 31 21:51:42 gimxGT29 gimx[582]: 1648756302.051535 debug packet received (size = 1 bytes) mars 31 21:51:42 gimxGT29 gimx[582]: 0x31 mars 31 21:51:42 gimxGT29 gimx[582]: Warning: skipping unsupported command DEFAULT_SPRING_ON mars 31 21:51:42 gimxGT29 gimx[582]: wheel range adjusted to 900 degrees mars 31 21:51:42 gimxGT29 gimx[582]: Warning: < skipping unsupported set leds commands mars 31 21:52:21 gimxGT29 gimx[582]: 1648756341.093492 timer fired 3 times... mars 31 21:52:23 gimxGT29 gimx[582]: 1648756343.373173 timer fired 2 times...

nanoono commented 1 year ago

Hi, How is the status of this issue?

GIMX 8.0 with ps4 gamedpad wired on PS5 and Force GT, stops with few minutes with Warning: < skipping unsupported set leds commands

Thks for new noticed.

magneval commented 1 year ago

I'm afraid I can't have any more information as I migrate to a Logitech 293 which is designed for PS5. Anyway with Dirt Rally, from time to time the game freezes but after unplugging and plugging again the wheel,it is working again.

Le lun. 25 juil. 2022 à 08:37, nanoono @.***> a écrit :

Hi, How is the status of this issue?

GIMX 8.0 with ps4 gamedpad wired on PS5 and Force GT, stops with few minutes with Warning: < skipping unsupported set leds commands

Thks for new noticed.

— Reply to this email directly, view it on GitHub https://github.com/matlo/GIMX/issues/673#issuecomment-1193641988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMWAKOMOBJKR6NUBYOROYLVVYY37ANCNFSM4UBO3YPA . You are receiving this because you commented.Message ID: @.***>

Pymous64 commented 1 year ago

Hi, If I remember with the 5.5 PS4 Firmware, it was the same problem than the game in PS5, 8 minutes stop. How did the devs get through this problem ?

However is it possible to create a script who : pause the game, shutdown gimx and restart gimx and controller before the 8 minutes stop ?

dogtopus commented 10 months ago

So I might have a lead on this. Turns out PS5 has stricter check when a PS4 fightstick is connected to a PS5 game. Besides the usual feature bits, it also apparently checks whether the DS4Key serial number belongs to a third party licensed controller (00030003xxxxxxxx). If this fails the controller could be disconnected later. I suspect that something similar has happened to wheels as well.

The easiest way to test this theory would be using a Hori Mini as the donor controller (@matlo might need to support this from the GIMX side) and check if the problem goes away.

martinhoyer commented 10 months ago

The easiest way to test this theory would be using a Hori Mini as the donor controller

That's how the Drivehub works, no?