Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes dec18 (part III) #161

Merged
merged 3 commits into from Dec 20, 2018
Merged

Fixes dec18 (part III) #161

merged 3 commits into from Dec 20, 2018

Conversation

sp193
Copy link
Contributor

@sp193 sp193 commented Dec 18, 2018

Pull Request checklist

Note: these are not necessarily requirements

  • I reformatted the code with clang-format
  • I checked to make sure my submission worked
  • I am the author of submission or have permission from the original author
  • Requires update of the PS2SDK
  • Requires update of the gsKit
  • Others (please specify below)

Pull Request description

  • Fixed incorrect handling of the config load result (did not return the types of config files loaded).
  • (ingame ATAD) port patch for issuing STANDBY IMMEDIATE before DEV9 is shut down, to avoid causing an "emergency park" for some HDDs.
  • (ingame USB) Patched USB support to issue STOP UNIT before the PS2 is shut down.
  • Added shutdown mode to IGR.

Note: nothing was tested again. Any inconvenience is regretted.
The changes related to STANDBY IMMEDIATE and STOP UNIT are related to this problem with modern (typically 2.5") HDDs.
For the devices to be shut down correctly in both the UI and in-game, the PS2SDK must be updated to get the new drivers for the UI.

@sp193
Copy link
Contributor Author

sp193 commented Dec 19, 2018

For the new code to actually help your HDDs to be shut down properly (if applicable), you must use IGR to shut down the console if you are not using an expansion bay PS2. Other types have power button that will only hard-reset the PS2, providing no way for software to know that the PS2 is being switched off.

For external USB HDDs, please use IGR to shut down the PS2, regardless of what console you have. As it does not involve DEV9, the PS2's reset button will always act as only a reset button.

As for whether you have a device that really needs this software method of getting shut down, you need to refer to the manual because it depends on the device.

@ElPatas1 ElPatas1 merged commit 646e850 into ps2homebrew:master Dec 20, 2018
AKuHAK pushed a commit that referenced this pull request Sep 30, 2021
citronalco pushed a commit to citronalco/OPL-Daily-Builds that referenced this pull request Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants