Jump to content

AppleHDA for cx20590 and HDMI for Nvidia 410m 1.0

Sign in to follow this  

About This File

AppleHDA for Conexant SmartAudio HD cx20590 and HDMI for NVIDIA GeForce 410M

Tested on: Sony Vaio VPCEH2J1E

Conexant SmartAudio HD (VEN_14F1, DEV_506E ) 8086, 1c20

NVIDIA High Definition Audio (VEN_10DE DEV_001C) 10de,0e08

for example i uploaded own dsdt, ONLY FOR EXAMPLE, may not work for you

- Speakers (worked)

- Headphones (worked)

- Mic (worked)

- Line In (worked)

- HDMI (worked)

1, Edit DSDT:

a, add or replace your Method (_DSM, 4, NotSerialized) in Device (HDEF)

Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
If (WKMD)
{
Return (Package (0x02)
{
0x0D,
0x04
})
}
Else
{
Return (Package (0x02)
{
0x0D,
Zero
})
}
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0E)
{
"built-in",
Buffer (One)
{
0x01
},
"Codec-id",
Buffer (0x04)
{
0x3E, 0x3A, 0xEC, 0x10
},
"layout-id",
Buffer (0x04)
{
0x0C, 0x00, 0x00, 0x00
},
"model",
Buffer (0x1A)
{
"HD Audio Conexant Cx20590"
},
"device-type",
Buffer (0x11)
{
"Audio Controller"
},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
},
"PinConfigurations",
Buffer (Zero) {}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

b, add hda-gfx in Method (_DSM, 4, NotSerialized) in Device (IGPU)

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x04)
{
"AAPL,snb-platform-id",
Buffer (0x04)
{
0x00, 0x00, 0x01, 0x00
},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

c, replace Device (PEGP)

Device (PEGP)
{
Name (_ADR, 0x00010000)
Name (_PRW, Package (0x02)
{
0x09,
0x05
})
Device (GFX0)
{
Name (_ADR, Zero)
Name (_SUN, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (HDMI)
{
Name (_ADR, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Method (NINT, 2, NotSerialized)
{
If (LEqual (^DGPU.PBCC, One))
{
If (LEqual (Arg0, One))
{
Store (One, ^DGPU.PBMX)
Store (Zero, Local0)
While (LLess (Local0, 0x03E8))
{
Store (0xC5100000, ^DGPU.PBCM)
Stall (0x64)
And (^DGPU.PBCM, 0xFF, Local1)
Increment (Local0)
If (LEqual (Local1, One))
{
Store (0x03E8, Local0)
}
}
Store (Zero, ^DGPU.PBCM)
Store (Zero, ^DGPU.PBMX)
Store (^DGPU.PBDO, Local2)
Return (Local2)
}
If (LEqual (Arg0, 0x02))
{
Store (Arg1, Local1)
Store (Zero, Local0)
Multiply (Local1, 0x03E8, Local3)
Divide (Local3, 0xFF, Local2, Local4)
ShiftLeft (Local4, 0x08, Local4)
Store (Local4, ^DGPU.PBDI)
While (LLess (Local0, 0x03E8))
{
Store (One, ^DGPU.PBMX)
Store (0x86100000, ^DGPU.PBCM)
Stall (0x64)
And (^DGPU.PBCM, 0xFF, Local2)
Increment (Local0)
If (LEqual (Local2, One))
{
Store (0x03E8, Local0)
}
}
Store (Zero, ^DGPU.PBCM)
Store (Zero, ^DGPU.PBMX)
Return (Zero)
}
}
Return (Zero)
}

2, insert these lines to org.Chameleon.boot.plist:


EnableHDMIAudio
Yes

3, install AppleHDA and HDEFInject with Kext Utility (remove VoodooHDA if you installed)




User Feedback

Recommended Comments

i've figured it out. it only works in -f booting because of interrupt conflicts. Add "IRQ {0}" under device (HPET) in DSDT to reserve interrupt 0 for applehda. anyone has similar problem can try it by inserting corresponding interrupt for your applehda to work.

Share this comment


Link to comment
Share on other sites

another issue is that it seems the sound icon does not change for speaker, either maximum or no sound. it just works fine for headphones.

Share this comment


Link to comment
Share on other sites

thanx lisai9093 but im not a developer, i had an vaio and i hated voodoohda so red a lot forum and used my brain and a lot of time to create this. but now i haven't this notebook.

Share this comment


Link to comment
Share on other sites

Can you list what you have changed inside the AppleHDA.kext? I want to edit the layout12.xml to solve the icon bug, so it is better to know where your previous changes are.

Share this comment


Link to comment
Share on other sites

ConfigData

01971C30 01971D40 01971E2B 01971F0E

01F71C20 01F71D01 01F71E10 01F71F90

02371C10 02371D01 02371EA0 02371F90

01A71C40 01A71D10 01A71E81 01A71F01

01B71CF0 01B71D00 01B71E00 01B71F40

01C71CF0 01C71D00 01C71E00 01C71F40

01D71CF0 01D71D00 01D71E00 01D71F40

01E71CF0 01E71D00 01E71E00 01E71F40

02071CF0 02071D00 02071E00 02071F40

02271CF0 02271D00 02271E00 02271F40

the microphone works?

Share this comment


Link to comment
Share on other sites

How did you install ML?

I've the same laptop (vpcej2L1E, the only difference I see is the screen size).

I'm stuck at ntfs volume name 3.1 in verbose boot. In safe mode it boots the installation.

Share this comment


Link to comment
Share on other sites

audio work when boot with -f is any another solution for it to make it work

plz reply if u found any method

Share this comment


Link to comment
Share on other sites

i've figured it out. it only works in -f booting because of interrupt conflicts. Add "IRQ {0}" under device (HPET) in DSDT to reserve interrupt 0 for applehda. anyone has similar problem can try it by inserting corresponding interrupt for your applehda to work.

why is this conflict caused and i do not use dsdt so any another method

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.