Jump to content

AppleHDA Binary Patching


EMlyDinEsH

Recommended Posts

Hi all. I have an issue with AppleHDA.. I use similar ALC269 codec, so I simply download kext for 10.9.4 + add dsdt patch.. Everything is working fine, but when I turn off my laptop and then turn it on, or if I relog to windows os then go back to os x - no sound in headphones.. Built-in sound still works.. May be it known issue?

Laptop Acer 5750G core i7 2630qm..

Link to comment
Share on other sites

Yes, what about Yosemite?

I followed the instruction for Yosemite with no luck. the speaker Icon is grayed out. Attached are my patch appleHDA, Codec and SVG dump

 

and Here is my calculation.    Please Help!!!

Speaker Playback Switch 
0x14 0x0d 0x03
20 13     3
HeadPhone PlayBack Switch
0x15 0x0c 0x02
21    12    2
 
Audio Input
0x08 0x23 0x18  --> 0x18 0x23  0x08
8     35   24    --> 24  35   8
 
0x09 0x22 0x12  --> 0x12 0x22  0x09
9    34    18    --> 18  34  9 13

card0-codec#0 2.txt

codec_dump_dec.txt.svg.zip

AppleHDA.kext.zip

Link to comment
Share on other sites

I, got a problem with my laptop,

ALC 269 but the following two problems sound works fine in windows but in xbuntu only one side works(i.e. no stereo) so I have to fix the verbs from the windows side the the guide is fairly incomplete and the windows links are dead.

terramir

Link to comment
Share on other sites

This kext is from Mavericks DP6, set the layout-id to 0 (zero)

Hi, I have STA9205 too, whose codec is 0x838476a0.

 

which layout shall be in Yosemite?

 

Also shall I change it accordingly in the DSDT?

 

FROM

 Device (HDEF)
            {
                Name (_ADR, 0x001B0000)  // _ADR: Address
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x04)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0x16, 0x76, 0x84, 0x83                         
                            }, 

                            "layout-id", 
                            Unicode ("\x0C")
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

TO:(changes are in RED).

 

Buffer (0x04)
                            {
                                 0xA0, 0x76, 0x84, 0x83                         
                            }, 
 
                            "layout-id", 
                            Unicode ("\x00")

 

IT's now with a Nvidia gfx card,sometimes when after Apple logo,it gets dark screen with power on. Voodoo can do,but poorly.

Codec.txt

Link to comment
Share on other sites

Hi, I have STA9205 too, whose codec is 0x838476a0.

 

which layout shall be in Yosemite?

 

Also shall I change it accordingly in the DSDT?

 

FROM

 Device (HDEF)
            {
                Name (_ADR, 0x001B0000)  // _ADR: Address
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x04)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0x16, 0x76, 0x84, 0x83                         
                            }, 

                            "layout-id", 
                            Unicode ("\x0C")
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
TO:(changes are in RED).

 

Buffer (0x04)

                            {

                                 0xA0, 0x76, 0x84, 0x83                         

                            }, 

 

                            "layout-id", 

                            Unicode ("\x00")

 

IT's now with a Nvidia gfx card,sometimes when after Apple logo,it gets dark screen with power on. Voodoo can do,but poorly.

 

 

The device-id don't matter

change layout-id to

"layout-id", 
                        Buffer (0x04)
                        {
                            0x00, 0x00, 0x00, 0x00
                        },
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...