Jump to content

[Solved] Help with ADI AD2000b on Mavericks

AD2000b

  • Please log in to reply
55 replies to this topic

#21
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,120 posts
  • Gender:Male
  • Location:Brazil

Actually it's much more practical when testing DSDTs to just load them from the boot prompt - as opposed to editing org.chameleon.Boot.plist each time.

 

Just type dsdt=test.aml and that'll load test.aml instead of dsdt.aml, as long as it's placed in /Extra.

 

You can also type dsdt=none to not load a DSDT.



#22
milomak

milomak

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

i loaded dsdt.dsl in DSDT Editor

changed 0C to 63

saved the dsl

compiled

then got the error - effective aml package length is zero

 

what have i done wrong?



#23
zecco

zecco

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts
I've installed the kexts but when I try to change the LayoutID from DSDT I have a KP like this

Attached File  image.jpg   83.88KB   6 downloads

#24
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

If you have a DSDT with HDEF info in it, then you shouldn't change anything, just install the two kexts.

If it doesn't work, then let me know what motherboard do you have, and maybe I can find a DSDT that works without problems.



#25
zecco

zecco

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts

That's right Shinji!!

I've installed once again Maverick this time with AppleACPIPlatform.kext that I've never installed before.

I've installed also the kexts in post # 1 and now Mavericks sings like Pavarotti!

When I try to upgrade Chameleon to new 2266 ver. something very strange happen to my hack. That doesn't sing anymore!

I downgrade to Chameleon 2248 ver. and I return to a fully singing Mavericks 

 

 

By the way I have a P6T Deluxe V2. All my hardware is in my signature.

 

Thank you so much Shinji

 

 

 

Edit: No way!!! Reboot and Mav is once again with no sound. Chameleon 2248 ver.



#26
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

Hi Zecco.

 

Please, update your Chameleon to the latest version. Then try the DSDT file attached, and install the two kext again using Kext Wizard. Remember to repair permissions and rebuild cache with Kext Wizard too after the installation but before rebooting you Mac.

 

PS: I always install AppleACPIPlatform.kext too after clean installation or upgrade, because other way the system won't boot.

Attached Files



#27
zecco

zecco

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts

Ok Shinji it works great!

Thank you very much... What have you changed?



#28
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

I've added HDEF and DPTG info, because that file originally doesn't have it. And I've changed the default HDEF Layout-ID then from 12 (in hex 0C) to 99 (63) just in case.



#29
zecco

zecco

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 330 posts

Ok.

Thank you again



#30
bigbalaboom

bigbalaboom

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

This works great on 10.9.0, but breaks on 10.9.2. I'm using VoodooHDA 2.8.4 instead now, but it generates too much noise.

 

What should I do to make it work on 10.9.2?

 

Motherboard: Asus P6T Deluxe V2

Audio: Onboard ADI AD2000B



#31
milomak

milomak

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

This works great on 10.9.0, but breaks on 10.9.2. I'm using VoodooHDA 2.8.4 instead now, but it generates too much noise.

 

What should I do to make it work on 10.9.2?

 

Motherboard: Asus P6T Deluxe V2

Audio: Onboard ADI AD2000B

did you find  a solution to the problem?



#32
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

You are trying to use the file I submitted for Asus P6T Deluxe?

 

Try installing these two kexts I'm attaching here and nothing more. It should work, these are the files I'm using now on 10.9.4

 

Attached Files



#33
milomak

milomak

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

You are trying to use the file I submitted for Asus P6T Deluxe?

 

Try installing these two kexts I'm attaching here and nothing more. It should work, these are the files I'm using now on 10.9.4

it's strange coz i have no luck with it.

 

- unzipped the 2 kext files to the desktop

- ran the kext program from the site that is not supported

- reboot

 

still no sound. should i be putting the DSDT.aml file in this thread in /Extras as well?



#34
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

Your DSDT.aml should be in Extra folder, yes.

And use Kext Wizard or Kext Utility to install those kexts.



#35
verdant

verdant

    InsanelyMac V.I.P.

  • Gurus
  • 5,570 posts
  • Gender:Male
  • Interests:At home, I have the following computers......
    >
    >
    >

I hope these pointers are helpful for anyone wishing to activate their AD2000B audio chipset/codec under OS X Mavericks 10.9.4 on their MOBO.

 

I have an Asus P5Q-E motherboard with a AD2000B audio chipset/codec, and I am currently using Chameleon bootloader v2.2svn r2266 or later, and have been able to obtain working audio under Mavericks in either of two ways:

 

A. Using Shinji3rd2000's AppleHDA.kext and HDAEnabler.kext in post #1 with HDEF section in my DSDT.aml, which I for myself always place in / but you can place it in /Extra as is more customary.

 

DSDT.aml patching

 

Place the HDEF section at the end of Device (PCI0) in the dsdt.dsl file:

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D,
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x63, 0x00, 0x00, 0x00
                            },

                            "platformFamily",
                            Buffer (One)
                            {
                                0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

 

equivalent to the DSDT.aml file:

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D,
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "layout-id",
                            Unicode ("c"),
                            "platformFamily",
                            Buffer (One)
                            {
                                0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

 

Placing AppleHDA.kext and HDAEnabler.kext in /S/L/E

 

1. Rename original 10.9.4 AppleHDA.kext as follows:

cd /System/Library/Extensions
sudo mv AppleHDA.kext AppleHDA.kext_1094_ORIG

2. Copy and paste AppleHDA.kext and HDAEnabler.kext into /S/L/E

 

3. Go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files present within Startup…

 

IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
loadedkextmt.plist

 

4. In Terminal type:

sudo chown -R root:wheel /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions
sudo touch /System/Library/Extensions
exit

5. Reboot to see in System Report under Audio:

 

Attached File  P5Q-E Audio Devices with HDEF and AppleHDA and HDAEnaber Kexts.png   28.48KB   1 downloads

 

B. Use oldnapalm's VoodooHDA AD1988B 7.1 kext with no need for a Device (HDEF) section to be inserted in your DSDT.aml file.

 

oldnapalm's original VoodooHDA kext patched for AD1988B (tested on his Asus P5E) works for the AD2000B chipset/codec on my Asus P5Q-E, enabling Headphones (green front) auto-detect.

 

 I have not tested the other inputs/outputs but this is what I see in the Mavericks System Report:

 

Attached File  AD2000B P5Q-E Audio in System Profile.png   18.64KB   0 downloads

 

Download from here and place in /S/L/E, leaving the original 10.9.4 AppleHDA.kext as is, and then

 

1. Go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files present within Startup…

 

IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
loadedkextmt.plist

 

2. In Terminal type:

sudo chown -R root:wheel /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions
sudo touch /System/Library/Extensions
exit

3. Reboot.



#36
Phr4c7ur3

Phr4c7ur3

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Physics, SciFi, tech and preparing for the Zombie Apocalypse!

Hi Verdant and all,

 

In your last post (Number 35) you list some changes/additions to make to the DSDT: I'm a bit confused because you wrote "equivalent to the DSDT.aml file", does this mean that the sets of code are interchangable or are they meant for different scenarios? Which should I use?

 

 

Place the HDEF section at the end of Device (PCI0) in the dsdt.dsl file:

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D,
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x63, 0x00, 0x00, 0x00
                            },

                            "platformFamily",
                            Buffer (One)
                            {
                                0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

 

equivalent to the DSDT.aml file:

 

Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (Package (0x02)
                    {
                        0x0D,
                        0x05
                    })
                }

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "layout-id",
                            Unicode ("c"),
                            "platformFamily",
                            Buffer (One)
                            {
                                0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

 

 Also, does this get pasted into the next available line at the end of Device (PCI0)?

 

Thank you



#37
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

Phr4c7ur3, what kind of file are you using in your extra folder? DSDT.dsl or DSDT.aml? If you wish, send me your dsdt file and I will do the modifications for you.



#38
Phr4c7ur3

Phr4c7ur3

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Physics, SciFi, tech and preparing for the Zombie Apocalypse!

Hi, Shinj3rd2000

 

I've got a dsdt which I extracted in Windows.  Unfortunately I wasn't able to extract using DSDT Editor in Mavericks (it just didn't create the file) and MaciASL won't launch for some reason.  So I currently have a DSDT.bin renamed to .aml: it opens in DSDT Editor and I can make edits although I haven't yet. 

 

Currently I have a vanilla install of Mavericks with just IONetworkingFamily.kext Yukon edited to enable ethernet.  Other than that the install is totally vanilla with sleep working.

 

I'd be very grateful if you would make the necessary edits to my DSDT although I'd really like to learn how to do it myself...however, my coding experience is ZERO.

 

Thanks. 



#39
Shinji3rd2000

Shinji3rd2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts
  • Gender:Male

Hey Phr4c7ur3, please try to use the dsdt I've provided on post #26. Put it on Extra folder, and then install the two kexts I've uploaded on post #32 using kext beast. Reboot your hackintosh, go to System Preferences / Sound and chek what output options do you have. The sound must be working now.



#40
Phr4c7ur3

Phr4c7ur3

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Scotland
  • Interests:Physics, SciFi, tech and preparing for the Zombie Apocalypse!
Hi Shinji3rd2000,
I don't think I can use that DSDT, isn't it from the P6T Deluxe V1? I have a V2.





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