Jump to content

ALC885 sound but no sound controls or sound at all...


Best Answer asapreta, 27 July 2013 - 01:25 AM

Use layout id 64 (0x42)  in your DSDT, go back to Vanilla AppleHDA and get rid of any other enablers.

You will need to change in system prefs sound from HP to line out 1

Works even after updates.

Thanks for the reply.

 

I don't use any enablers. But this DSDT was made a long time ago. Can you help me how to change this layout id? Or point me in the right direction?

 

I need to find something like this:

"layout-id", 
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},

And replace the 0x0C (in this example) to the 0x42 you mentioned?

 

Thanks in advance.

 

EDIT:

 

Below is the HDEF part of my DSDT:

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x05
                    })
                }
 
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0A)
                        {
                            "built-in", 
                            Buffer (One)
                            {
                                 0x01
                            }, 
 
                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0x85, 0x08, 0xEC, 0x10
                            }, 
 
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x75, 0x03, 0x00, 0x00
                            }, 
 
                            "device-type", 
                            Buffer (0x10)
                            {
                                "Realtek ALC889A"
                            }, 
 
                            "PinConfigurations", 
                            Buffer (0x28)
                            {
                                /* 0000 */   0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,
                                /* 0008 */   0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,
                                /* 0010 */   0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,
                                /* 0018 */   0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,
                                /* 0020 */   0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
 
            Name (BUFA, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11,12,14,15}
            })
            Name (BUFB, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFB, One, IRQV)
            
Go to the full post


  • Please log in to reply
11 replies to this topic

#1
asapreta

asapreta

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 755 posts

I've my DSDT working since Snow Leopard (Lion and ML) fine. Sound works fine.

 

Now I tried the new Mavericks DP1 and for my "surprise" I got sound, but no sound controls or sound at all. Look at the screen below:

 

https://www.dropbox....26 19.51.59.jpg

 

2013-07-26195159_zps96eb0e0b.jpg

 

The system is on the signature, any hints?



#2
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,143 posts
  • Gender:Male

I've my DSDT working since Snow Leopard (Lion and ML) fine. Sound works fine.

 

Now I tried the new Mavericks DP1 and for my "surprise" I got sound, but no sound controls or sound at all. Look at the screen below:

 

https://www.dropbox....26 19.51.59.jpg

 

2013-07-26%2019.51.59.jpg

 

The system is on the signature, any hints?

Use layout id 64 (0x42)  in your DSDT, go back to Vanilla AppleHDA and get rid of any other enablers.

You will need to change in system prefs sound from HP to line out 1

Works even after updates.



#3
asapreta

asapreta

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 755 posts

Best Answer

Use layout id 64 (0x42)  in your DSDT, go back to Vanilla AppleHDA and get rid of any other enablers.

You will need to change in system prefs sound from HP to line out 1

Works even after updates.

Thanks for the reply.

 

I don't use any enablers. But this DSDT was made a long time ago. Can you help me how to change this layout id? Or point me in the right direction?

 

I need to find something like this:

"layout-id", 
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},

And replace the 0x0C (in this example) to the 0x42 you mentioned?

 

Thanks in advance.

 

EDIT:

 

Below is the HDEF part of my DSDT:

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x05
                    })
                }
 
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x0A)
                        {
                            "built-in", 
                            Buffer (One)
                            {
                                 0x01
                            }, 
 
                            "codec-id", 
                            Buffer (0x04)
                            {
                                 0x85, 0x08, 0xEC, 0x10
                            }, 
 
                            "layout-id", 
                            Buffer (0x04)
                            {
                                 0x75, 0x03, 0x00, 0x00
                            }, 
 
                            "device-type", 
                            Buffer (0x10)
                            {
                                "Realtek ALC889A"
                            }, 
 
                            "PinConfigurations", 
                            Buffer (0x28)
                            {
                                /* 0000 */   0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,
                                /* 0008 */   0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,
                                /* 0010 */   0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,
                                /* 0018 */   0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,
                                /* 0020 */   0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
 
            Name (BUFA, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {3,4,5,6,7,9,10,11,12,14,15}
            })
            Name (BUFB, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared, )
                    {}
            })
            CreateWordField (BUFB, One, IRQV)
            


#4
the_indrewder

the_indrewder

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

I'm having the exact same issue - with the same HDEF portion of my DSDT as @asapreta, just altering layout-id to 0x42. Profiler shows the list of sound ports, but nothing in Prefs.



#5
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 560 posts
  • Gender:Male

I'm having the exact same issue - with the same HDEF portion of my DSDT as @asapreta, just altering layout-id to 0x42. Profiler shows the list of sound ports, but nothing in Prefs.

The first steps would be to verify if you really have the ALC885 sound chip and if the layout-id setting is actually used. You can see it for example in asapreta's first post at "Audio ID: 885".

 

PS: You should write your hardware details in your signature.



#6
the_indrewder

the_indrewder

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Well, I have an ALC889a, but the two are the same. Just as in his screenshot, I see the layout ID being 885, with the list of the various input/output ports below it. Altering my DSDT to use layout-id 0x42 results in the layout ID switching to 66, shown in System Info (with the list of ports below it still). System Prefs doesn't show these ports, though. I'm not using any enablers, and have the vanilla 10.9 AppleHDA in S/L/E (on DP3 at the moment). 

 

I just found that System Info reports AppleHDA.kext as not being loaded, but I'm not sure why... :/



#7
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 560 posts
  • Gender:Male

AppleHDA is only loaded if it finds a device id match for a supported chip. Even if 889a and 885 are identical, you will need a binary patch due to the different device id. You should give the version from the download section a try or if you want to do the modifications yourself, try bcc9's script.



#8
asapreta

asapreta

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 755 posts

I'm having the exact same issue - with the same HDEF portion of my DSDT as @asapreta, just altering layout-id to 0x42. Profiler shows the list of sound ports, but nothing in Prefs.

 

After I made the changes everything is fine.



#9
Derty

Derty

    InsanelyMacaholic

  • Donators
  • 3,219 posts
  • Gender:Male

my applehda layout ID 12  "0x0C, 0x00, 0x00, 0x00"

 

Attached File  AppleHDA.kext.zip   1.24MB   13 downloads

 

 

 

 

Device (HDEF)

            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D, 
                        0x05
                    })
                }
 
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 
 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }


#10
BiTRiP

BiTRiP

    InsanelyMac Sage

  • Donators
  • 309 posts
  • Gender:Not Telling

Hi,

 

I have a GA-EX58-UD5 mobo wich also has the ALC889A/885 onboard.

Until 10.9 I never had any problems at with it using a DSDT with layout id 1 (0x01) and a patched AppleHDA.kext.

Now on 10.9 I get no sound or outputs shown in sys pref. Neither in profiler, it only shows: Audio ID: 1

 

I also tried to replace the vanilla AppleHDA with the patched AppleHDA.kext from 10.8.4 but still no go.

 

What can I do?

 

Thanks,

BiTRiP

 

ok, I fixed it also by using right dsdt code and using layout id 66 now. :)

 

Only strange thing is, the applehda seems to be loaded later and not during boot.

I already have my desktop shown but the i/o are not present yet, neither audio is working but just a few seconds later they are.

 

Anyone experiencing this as well?



#11
BiTRiP

BiTRiP

    InsanelyMac Sage

  • Donators
  • 309 posts
  • Gender:Not Telling

I noticed using layout 66 works BUT there is a lot of distortion/static noise in background. So with volume up you hear a lot of garbage moving mouse opening programs etc etc.

 

I booted from another HD with ML and patched AppleHDA using layout ID 1 and it completely clear!

 

So, this is a temp solution but not the best yet.



#12
ameris cyning

ameris cyning

    Boycott the apostrophe

  • Donators
  • 1,009 posts
  • Gender:Male
  • Location:My apartment
  • Interests:OSx86, Deutschland, electronic music, Clover EFI

I noticed using layout 66 works BUT there is a lot of distortion/static noise in background. So with volume up you hear a lot of garbage moving mouse opening programs etc etc.

 

I booted from another HD with ML and patched AppleHDA using layout ID 1 and it completely clear!

 

So, this is a temp solution but not the best yet.

 

Open Audio MIDI Setup and select a lower sample rate







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy