Jump to content

Fix for no Audio issue after Sleep in Realtek codecs


EMlyDinEsH

Recommended Posts

Hi I´m still trying to get this on my ASUS G74SX, my speaker codec is 1b so i tried to modified EMlyDinEsH patch for ioaudiofamily kext for my codec

this is the part I think it needs to be modified.

 

 

void commandWrit()

{

    // write the command

    UInt32 cmd = 0x01470c02;

    ioreg_->writeBytes(0x60, &cmd, sizeof(cmd));

    status = 1;

    ioreg_->writeBytes(0x68, &status, sizeof(status));

 

into

 

 

void commandWrit()

{

    // write the command

    UInt32 cmd = 0x01b70c02;

    ioreg_->writeBytes(0x60, &cmd, sizeof(cmd));

    status = 1;

    ioreg_->writeBytes(0x68, &status, sizeof(status));

 

I tried and build the kext but it doesn´t work.  Any ideas???? qwerty12?? EMlyDinEsH??

 

Thank you!!

Link to comment
Share on other sites

Hi I´m still trying to get this on my ASUS G74SX, my speaker codec is 1b so i tried to modified EMlyDinEsH patch for ioaudiofamily kext for my codec

this is the part I think it needs to be modified.

 

 

void commandWrit()

{

    // write the command

    UInt32 cmd = 0x01470c02;

    ioreg_->writeBytes(0x60, &cmd, sizeof(cmd));

    status = 1;

    ioreg_->writeBytes(0x68, &status, sizeof(status));

 

into

 

 

void commandWrit()

{

    // write the command

    UInt32 cmd = 0x01b70c02;

    ioreg_->writeBytes(0x60, &cmd, sizeof(cmd));

    status = 1;

    ioreg_->writeBytes(0x68, &status, sizeof(status));

 

I tried and build the kext but it doesn´t work.  Any ideas???? qwerty12?? EMlyDinEsH??

 

Thank you!!

 

Do this and let me know: Sleep the Notebook and after sleep play some music then Look at System log file in Console for message "EAPD: xxxxxxxxx". 

 

Tell me whether you get this message or not?

 

EDIT: I've uploaded new patched files for all the possible EAPD nodes, so check that as well.

Link to comment
Share on other sites

I've uploaded newly patched kexts for all the possible nodes, so check out.

I check the new kext for speaker node 1B but it doesn´t work so I give it a try for kext for node 14 and it Works!!!!

 

I don´t know why, my alc 269 has in fact EAPD at node 1B

 

Thank you EMlyDinEsH!!!

Link to comment
Share on other sites

I check the new kext for speaker node 1B but it doesn´t work so I give it a try for kext for node 14 and it Works!!!!

 

I don´t know why, my alc 269 has in fact EAPD at node 1B

 

Thank you EMlyDinEsH!!!

 

May be your AppleHDA patch is the reason for this problem, because it may have mapped output devices wrongly.

Link to comment
Share on other sites

Hi,

I fixed my ALC270 problem. But when I plug my headphone in, sound cannot switch to it.

My nodes are 0x14 SPK and 0x1a HP, I don't see 0x1a HP in your files so I installer #Node14_SPK.zip, maybe that's the reason. I read the source code but can't find out how to add my node. Can you compile a 0x1a HP version? Thank you so much :D

Link to comment
Share on other sites

×
×
  • Create New...