Jump to content

ALC236 patch needed


coolstarorg
 Share

3 posts in this topic

Recommended Posts

Need an AppleHDA patch for ALC236 on my Lenovo Flex 3.

 

I have dumped the codec info from Linux.

 

 

I have tried Jake Lo's existing patch, however it does not work properly -- the mute button is completely nonfunctional and sleep/wake breaks with his patch.

 

VoodooHDA does not have the problems with mute or sleep/wake, but USB headphones don't work properly when VoodooHDA is installed.

codec_dump.txt

Link to comment
Share on other sites

Sleep/wake is now working well thank you!

 

However, I have noticed a problem with the headphones not working properly on cold boot until I sleep/wake.

 

I have loaded an SSDT for CodecCommander, which seems to be what is fixing it on sleep/wake. Any ideas? 

DefinitionBlock ("iASLA47JHk.aml", "SSDT", 8, "hack", "ALC236", 0x00000000)
{
    Name (_SB.PCI0.HDEF.RMCF, Package (0x02)
    {
        "CodecCommander", 
        Package (0x0A)
        {
            "Custom Commands", 
            Package (0x03)
            {
                Package (0x00) {}, 
                Package (0x08)
                {
                    "Command", 
                    Buffer (0x04)
                    {
                         0x01, 0x47, 0x08, 0x83                           /* .G.. */
                    }, 

                    "On Init", 
                    ">y", 
                    "On Sleep", 
                    ">n", 
                    "On Wake", 
                    ">y"
                }, 

                Package (0x08)
                {
                    "Command", 
                    Buffer (0x04)
                    {
                         0x02, 0x17, 0x08, 0x83                           /* .... */
                    }, 

                    "On Init", 
                    ">y", 
                    "On Sleep", 
                    ">n", 
                    "On Wake", 
                    ">y"
                }
            }, 

            "Perform Reset", 
            ">n", 
            "Perform Reset on External Wake", 
            ">y", 
            "Send Delay", 
            0x0A, 
            "Sleep Nodes", 
            ">n"
        }
    })
}


Link to comment
Share on other sites

 Share

×
×
  • Create New...