PDA

View Full Version : Snow Leopard AppleHDA for Conexant Cx20561 Beta Release


ping99
10-09-2009, 07:05 PM
This is a beta release of patched AppleHDA for Conexant Cx20561 audio card.
I have worked on this for weeks and finally get almost things working, but not perfect. Let's see what working:
1. Internal speaker and Headphones, perfectly working with native better sound quality and automatic switch.
2. Internal mic, perfectly working with better recording quality and auto-switch(to external mic).
3. External mic, partially working. Can only record sound when you plug your headphone into mic jack (you have to speak to the headphones, funny). It is very strange and I haven't figured it out yet. If anyone have ideas about this, please let me know. I believe something can be done with the SoftwareDsp section to resolve this.
4. Digital out, not test yet.

This driver may cause "0" sound assertion when booting. If so, please boot with flags "-v" or "-v -f" (if failed or kp, try once again)and then you can get into snow leopard. On next boot, if you did not install new kext, booting with flag "-v" is not necessary.

Download link: http://rapidshare.com/files/288990810/AppleHDA.kext.zip.html


It would be much appreciated if you can give your ideas to improve this driver and post your findings here. Want to email me? deping.zheng(at)gmail.com

Important notice:Please use this kext with HDAEnbler or DSDT injection, see my DSDT section below.
Code begin here:


Device (HDEF)
{
Name (_ADR, 0x001B0000)
OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
Field (HDAR, WordAcc, NoLock, Preserve)
{
DCKA, 1,
Offset (0x01),
DCKM, 1,
, 6,
DCKS, 1,
Offset (0x08),
, 15,
PMES, 1
}




Method (_DSM, 4, NotSerialized)

{

Store (Package (0x08)

{

"codec-id",

Buffer (0x04)

{

0x51, 0x50, 0xf1, 0x14

},



"layout-id",

Buffer (0x04)

{


0x0c, 0x00, 0x00, 0x00

},


"device-type",

Buffer (0x11)

{


"Cx20561"


},




"PinConfigurations",


Buffer (0x14)


{

/* 0000 */ 0x40, 0x01, 0x10, 0x90, 0x50, 0x40, 0x2b, 0x01,

/* 0008 */ 0x10, 0x01, 0xa0, 0x90, 0x30, 0x30, 0x8b, 0x01,

/* 0010 */ 0x60, 0xe1, 0x4b, 0x01


}



}, Local0)


DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))


Return (Local0)


}

Name (_PRW, Package (0x02)
{
0x0D,
0x04
})
}

NaNo
10-22-2009, 02:44 AM
GREAT...... what about sleep and wake up ?

Cybex
10-23-2009, 07:58 AM
Could you please upload it to kexts.com? Rapidshare doesn't allow the download to be downloaded more then 10 times...

ping99
10-26-2009, 11:34 AM
Hi, all. I've uploaded to Ms Skydrive. Please find the link below.
http://cid-f347c450b3b5d011.skydrive.live.com/self.aspx/AppleHDA%5E_Snow/AppleHDA.kext.zip

A good way to reduce the possibilities of KP/Sound assertion:
If use Chameleon, pls put this AppleHDA.kext under /ext/extensions, then drag the folder"Extensions" to kext Utility2.3. You will get a new extensions.mkext. In this way, the chance to cause KP on boot is reduced to 1/15. Then reboot.
If use bootthink, put it into /Darwin/System/LibrarySL/Extensions/, then drag the folder"Extensions" to kext Utility2.3. You will get a new extensions.mkext. Reboot.

Once again, please share if any one have ideas about Line In SoftwareDSP.

milan475
12-16-2009, 06:50 PM
Doesn't work after sleep for me. Anybody who knows a solution to that problem??

w3stcoast87
12-17-2009, 01:36 AM
Hey you guys seem to have gotten this to work. can you please post an hdaenabler.kext that works with snow leopard x64? thanks

artimess
12-25-2009, 03:25 AM
This is a beta release of patched AppleHDA for Conexant Cx20561 audio card.
I have worked on this for weeks and finally get almost things working, but not perfect. Let's see what working:
1. Internal speaker and Headphones, perfectly working with native better sound quality and automatic switch.
2. Internal mic, perfectly working with better recording quality and auto-switch(to external mic).
3. External mic, partially working. Can only record sound when you plug your headphone into mic jack (you have to speak to the headphones, funny). It is very strange and I haven't figured it out yet. If anyone have ideas about this, please let me know. I believe something can be done with the SoftwareDsp section to resolve this.
4. Digital out, not test yet.

This driver may cause "0" sound assertion when booting. If so, please boot with flags "-v" or "-v -f" (if failed or kp, try once again)and then you can get into snow leopard. On next boot, if you did not install new kext, booting with flag "-v" is not necessary.

Download link: http://rapidshare.com/files/288990810/AppleHDA.kext.zip.html


It would be much appreciated if you can give your ideas to improve this driver and post your findings here. Want to email me? deping.zheng(at)gmail.com

Important notice:Please use this kext with HDAEnbler or DSDT injection, see my DSDT section below.
Code begin here:


Device (HDEF)
{
Name (_ADR, 0x001B0000)
OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
Field (HDAR, WordAcc, NoLock, Preserve)
{
DCKA, 1,
Offset (0x01),
DCKM, 1,
, 6,
DCKS, 1,
Offset (0x08),
, 15,
PMES, 1
}




Method (_DSM, 4, NotSerialized)

{

Store (Package (0x08)

{

"codec-id",

Buffer (0x04)

{

0x51, 0x50, 0xf1, 0x14

},



"layout-id",

Buffer (0x04)

{


0x0c, 0x00, 0x00, 0x00

},


"device-type",

Buffer (0x11)

{


"Cx20561"


},




"PinConfigurations",


Buffer (0x14)


{

/* 0000 */ 0x40, 0x01, 0x10, 0x90, 0x50, 0x40, 0x2b, 0x01,

/* 0008 */ 0x10, 0x01, 0xa0, 0x90, 0x30, 0x30, 0x8b, 0x01,

/* 0010 */ 0x60, 0xe1, 0x4b, 0x01


}



}, Local0)


DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))


Return (Local0)


}

Name (_PRW, Package (0x02)
{
0x0D,
0x04
})
}
First thans for your ext. I installed it and it works fine, except for internal mic, it is recognized o, the volume is too low. When I increase the volume to max it wors for a second and then Volume jumps to middle and makes the mic unusable again? Any suggestion how to increase the volume sensitivity?

lemonsoda
01-15-2010, 06:01 PM
check http://www.applelife.ru/ ;)

BugsB
03-20-2010, 09:19 AM
Almost everything works on my Conexant Cx20551 except internal speakers (they work with Azalia so the DSDT is fine), and I am stuck here with probably Node and/or Layout IDs. I would be so thrilled if somebody could help me with this last step (even for a little reward). All info is here (http://www.insanelymac.com/forum/index.php?showtopic=127227&st=200&p=1429097&#entry1429097).

Thank you,
Bugs

ping99
04-24-2010, 05:58 PM
Sorry that i failed to reply to above posts.
Attached is HDAEnabler & LegacyHDA(32&64bit). Do not need to patch dsdt any more, just put these kexts under /Extra/Extensions/ and rebuild mkext.

Before update to 10.6.3, please backup AppleHDA.kext. After update, re-install AppleHDA.kext from 10.6.2.

The sleep & mute issue have not been resolved. No sound when wake up from sleep. Hope someone else can continue to work it out.

Now I have to use VoodooHDA instead. But the sound recording quality is not good, too much noise.

TheOriginalPol
04-27-2010, 07:06 PM
I'm running 10.6.3 on a Gateway P-7805u FX with the CX20561 chipset.... I patched my DSDT and tried the original AppleHDA kext, but it gives me KP's (repeatedly, not just first time).

The LegacyHDA+Enabler (which I'd prefer to use anyway) doesn't seem to do anything at all. Is there something I'm missing here?

btw my deviceID in sys profiler is 0x107B0696

JaS
04-29-2010, 03:34 PM
if you make a script to unload and reload the driver on wake then I think that would be a temp solution.

ping99
05-08-2010, 04:04 AM
Hi, guys. Please do not use AppleHDA from 10.6.3 because it is hardcoded and legacyhda will do nothing.

Use AppleHDA.kext from 10.6.2/10.6.0 instead.

BugsB
05-15-2012, 03:16 AM
has there been any progress on the "No sound when wake up from sleep"?