Giter Site home page Giter Site logo

Comments (2)

jalavoui avatar jalavoui commented on May 17, 2024

can confirm working code

void X5000HWLibs::wrapUpdateSdmaPowerGating(void * param1, uint32_t mode) {
if (mode == 0 || mode == 3) {
NRed::callback->sendMsgToSmc(PPSMC_MSG_PowerUpSdma);
}
FunctionCast(wrapUpdateSdmaPowerGating, callback->orgUpdateSdmaPowerGating)(param1, mode);
}

trying to use a boolean here as the effect to break the sleep fix
pressing ctrl once wakes cpu
few more and lcd turns on

update
after the pc enter sleep mode
push the power button wakes both cpu and display
my desktop mobo is pro!

i might lose this code so i changed:

uint32_t sendMsgToSmc(uint32_t msg, uint32_t param=0) {
// no panics here!!
// PANIC_COND(smuWaitForResp() != 1, "nred", "Msg issuing pre-check failed; SMU may be in an improper state");
// PANIC_COND(smuWaitForResp() != 1, "nred", "No response from SMU");

and disabled
{"_SmuRaven_Initialize", wrapSmuRavenInitialize, this->orgSmuRavenInitialize},
{"_SmuRenoir_Initialize", wrapSmuRenoirInitialize, this->orgSmuRenoirInitialize},

from nootedred.

VisualEhrmanntraut avatar VisualEhrmanntraut commented on May 17, 2024

Seems to be working, anyone with the issue persisting shall make a comment and provide information for further diagnosis

from nootedred.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.