DualShock 3 disconnecting and PSX not flushing saves
-
TBH I am really pissed, because I've just lost a HUGE amount of saved progress. It happened to me for the second time, so I've decided to look into this.
The problem is that when I play lets say Crash Bandicoot 3 and I go idle for some time (have lunch f.e.), when I come back, the DS3 controller indicates it's still connected (LED #1 is on), but does not respond to any button at all. I tried hooking up a USB controller to at least get into the emulator settings and restart it, but it does not work anyway.
This would not be so painfull, if the PSX emulator (not sure which one, default on RSPi) was flushing save files IMMEDIATELLY to the file system after being written to! When I reset the RSPi3 because of the locked up DS3, despite the fact that I was saving my progress frequently, I've lost THE WHOLE SESSION!!!
The second time this happened I tried to remotedly restart the console, so the file would get synced, from a terminal I typed sudo reboot, but the console did not reboot and for some reason it got stuck on the same screen as if I was about to launch the Crash Bandicoot game (the rectangle "Launching blah blah"). In that moment, DS3 was completely disconnected (no LED on), I could no longer log onto the RSPi remotely, so I had to reset it again and loosing all my progress AGAIN.
What is the problem with the DS3? The only thing I did not do is the auto pairing on boot (I have a bunch of other joysticks, so I don't need that, I pair it when I need it). And why on earth someon forgot to flush on write? Where is the source code?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.