Jump to content
EMlyDinEsH

Fix for no Audio issue after Sleep in Realtek codecs

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!!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Thank you man, don't forget to check the patch for codec 1b because the previus kext doesn't work

 

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

Share this post


Link to post
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!!!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Hey MlyDinEsH, I get a kernel panic after wake from sleep when your patched kext is installed for Speaker node 14 and Headphone node 21. What is wrong?

Share this post


Link to post
Share on other sites

Hey MlyDinEsH, I get a kernel panic after wake from sleep when your patched kext is installed for Speaker node 14 and Headphone node 21. What is wrong?

Bump!

Share this post


Link to post
Share on other sites
EMlyDinEsH, FYI, ALC270 suffers the same jack sense issue after sleep than ALC269.

 

​I've fixed it by activating your patch in your Elan Touchpad kext.

 

Quite useful!

Thanks.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...