InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Snow Leopard AppleHDA for Conexant Cx20561 Beta Release (http://infinitemac.com/showthread.php?t=4374)

ping99 10-09-2009 07:05 PM

Snow Leopard AppleHDA for Conexant Cx20561 Beta Release
 
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/28899081....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...leHDA.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

AppleHDA
 
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

Internal Mic Volume issue?
 
Quote:

Originally Posted by ping99 (Post 37033)
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/28899081....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

look here
 
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.

Thank you,
Bugs

ping99 04-24-2010 05:58 PM

HDAEnabler & LegacyHDA
 
1 Attachment(s)
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.