Jump to content

[HOW TO] Patch AppleHDA - Knowledge Base


  • Please log in to reply
392 replies to this topic

#81
Big Kahuna

Big Kahuna

    InsanelyMac Sage

  • Donators
  • 303 posts
  • Gender:Male
What part of "don't ask for kexts and figure it out on your own" didn't you people get?!

I gotta tackle this and get it going... stickpin's disappeared.

#82
coconup

coconup

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 190 posts
have you guys any idea on how to add noise reduction to internal mic? I'm working on a 1.2.4 kext, I tried patching a newer one which was already provided on the forum with noise reduction but I got only speakers working (everything showing on system profile and there was the noise reduction option)... I also tried to copy PathMapRefs from that kext to mine but no luck...

#83
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
I got a .svg file.What to do next?How to convert it to Dec?:(

Attached Files



#84
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
Here is my convented codec dump.I don`t know what to modify now.Any advice and assistance? :(

Attached Files



#85
ridgeline

ridgeline

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 532 posts
  • Gender:Male
  • Location:Cape Coral, FL

have you guys any idea on how to add noise reduction to internal mic? I'm working on a 1.2.4 kext, I tried patching a newer one which was already provided on the forum with noise reduction but I got only speakers working (everything showing on system profile and there was the noise reduction option)... I also tried to copy PathMapRefs from that kext to mine but no luck...


Are you just trying to lower the internal mic volume should be able to do so by finding the mic in your pathmap and adjust the boost level.....

#86
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
tried cesar di`s patched applehda.kext but no input can be used.anyway there info from system profile.don`t know why.here is the kext.wanna know. ;)

Attached Files



#87
coconup

coconup

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 190 posts

Are you just trying to lower the internal mic volume should be able to do so by finding the mic in your pathmap and adjust the boost level.....



no the problem is that tere's like a persistent undefined sound which makes my voice incomprehensible when using skype for example... the mic works but the sound it records pretty sucks

#88
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
THaNKS dude.When I MODIFIED UR APPLEHDA.KEXT BY CHANGING THE ConfigData WITH CADR 1 VALUES THE exTERNAL MIC WORKS FINE WITH ME BUT THE DISPLAYED INFO IN SOUND PREF WAS WRONG.THERE 2 ITEAMS ARE ALL THGE SAME.THE ONLY PROBLEM WITH Cesar di`s patch when used on my lappie was the internal mic produced very loud current sound.And the internal mic only displayed in sound preference but not working. I HAVE NO IDEA. :)
BTW how to modify the mic pathmap thing.When I got this CAd 1 fully working I will share the kext.See if it is a Universal patch.That will be great! :censored2:

#89
Big Kahuna

Big Kahuna

    InsanelyMac Sage

  • Donators
  • 303 posts
  • Gender:Male
If anyone has this figured out and working, could you hit me with a PM.. I'm close, and would love for someone to take a look at my codec and svg.

#90
kidalive

kidalive

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 275 posts
  • Gender:Male
I`ve modified the applehda.kext again.A strange thing occured.I got two Microphone port DISPLAYED in SOUND preference.Any idea guys.I`m a n00b. :( :(

Here IS my patched kext.And MY HDACONTRLOR.KEXT PLIST.INFO DUMP.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleExecutable</key>
	<string>AppleHDAController</string>
	<key>CFBundleGetInfoString</key>
	<string>1.5.7a24, Copyright Apple Inc. 2005-2008</string>
	<key>CFBundleIdentifier</key>
	<string>com.apple.driver.AppleHDAController</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>HDA Controller Driver</string>
	<key>CFBundlePackageType</key>
	<string>KEXT</string>
	<key>CFBundleShortVersionString</key>
	<string>1.5.7</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1.5.7a24</string>
	<key>IOKitPersonalities</key>
	<dict>
		<key>BuiltInHDA</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleHDAController</string>
			<key>HDAConfigDefault</key>
			<array>
				<dict>
					<key>CodecID</key>
					<integer>283904131</integer>
					<key>ConfigData</key>
					<data>
					EUccEBFHHRARRx4hEUcfARFXHBARVx0BEVce
					ExFXH5kRZxzwEWcdERFnHhERZx9BEXcc8BF3
					HRERdx4REXcfQRGHHDARhx2YEYceoRGHHwER
					lxzwEZcdERGXHhERlx9BEacc8BGnHRERpx4R
					EacfQRHHHPARxx0REcceERHHH0ER1xwwEdcd
					ARHXHoMR1x+ZEeccIBHnHRER5x5FEecfARH3
					HPAR9x0REfceERH3H0E=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>12</integer>
				</dict>
			</array>
			<key>IOClass</key>
			<string>AppleHDAController</string>
			<key>IOPCIClassMatch</key>
			<string>0x04020000&amp;0xFFFE0000</string>
			<key>IOProviderClass</key>
			<string>IOPCIDevice</string>
			<key>PostConstructionInitialization</key>
			<array>
				<dict>
					<key>Layouts</key>
					<array>
						<integer>36</integer>
						<integer>38</integer>
						<integer>52</integer>
					</array>
					<key>widgets</key>
					<array>
						<dict>
							<key>MicAttributes</key>
							<integer>27</integer>
							<key>MicInfo</key>
							<string>Sampled on rising edge</string>
							<key>NodeID</key>
							<integer>27</integer>
							<key>PinConfigDefault</key>
							<integer>1091637744</integer>
						</dict>
					</array>
				</dict>
			</array>
		</dict>
	</dict>
	<key>OSBundleCompatibleVersion</key>
	<string>1.0.0d1</string>
	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.iokit.IOHDAFamily</key>
		<string>1.0.0d1</string>
		<key>com.apple.iokit.IOPCIFamily</key>
		<string>1.1</string>
		<key>com.apple.kpi.bsd</key>
		<string>8.0.0b3</string>
		<key>com.apple.kpi.iokit</key>
		<string>8.0.0b3</string>
		<key>com.apple.kpi.libkern</key>
		<string>8.0.0b3</string>
		<key>com.apple.kpi.mach</key>
		<string>8.0.0b3</string>
	</dict>
</dict>
</plist>

Attached Files



#91
easter_rebel

easter_rebel

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Very nice guide! I've created my own AppleHDA.kext for a cx20549.


can you upload a copy of your appleHDA.kext. I'm trying to solve the same type of problem with a Cx20561. thanks

#92
Zip McOccup

Zip McOccup

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
Sure, no problem. I've also attached my Hex linux dump for the CX20549

Attached Files



#93
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
ok,

i'm glad to announce that analog 5.1 (rear port : green-black-orange) work now on my GA-P35-DS3L rev2 (alc 888 - adress 2), mic-in and line-in at rear panel also work

now i am working on the grey port (7.1 :( ) and the front headphone

Blue: set to Line In - Working
Green: set to Line-out - Working
Pink: set to Mic In - Working
Black: set to IntSpeaker - Working
Orange: set to Headphone - Working
Gray: -Removed- Work in progress

S/P-DIF In: - working - not tested
S/P-DIF Out: - Working - not tested

Front: Headphones -Removed- Work in progres
Front: Mic In -Removed- Work in progress

if you have the same mobo, please try and report :

http://www.mediafire...php?dn2wjlj5loj (for 10.5.5)

http://www.mediafire...php?mg2zqa5jydg (for 10.5.6)

thank to MadTux and THe KiNG for your work :(

#94
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male

*NEW
Now the funny part: How To inject audio stuff with modded DSDT


it's work, thank again :)

here is my dsdt.aml and my dsdt_fixed.dsl for my GA-P35-DS3L rev2 (alc888 address 2)

#95
Big Kahuna

Big Kahuna

    InsanelyMac Sage

  • Donators
  • 303 posts
  • Gender:Male
cparm, did you have to do the aggregate device thing?

#96
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male

cparm, did you have to do the aggregate device thing?


aggregate device is needed if you want to have a virtual device with more than one output (or input), in my case, i wanted to have a 5.1 capable device, so yes it has needed

wihtout aggregate device method, players like vlc only see 3 working output, but vlc can't remap them by itself to do 5.1

of course you also need to have more then one output:

4 stereo output for 7.1
3 stereo output for 5.1
2 stereo output for 4.0

read the Consolation GUIDE for more informarion

#97
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Did you delete the HDAEnabler inside Plugins ?

#98
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male

Did you delete the HDAEnabler inside Plugins ?


yes , there is no more hdaenabler, nowhere ;)

#99
SMF

SMF

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 188 posts

yes , there is no more hdaenabler, nowhere :D


cparm,

I looked through your files but couldn't determine what you added/patched in the DSDT. Can you provide more tutorial/insight?

Thanks,
SMF

#100
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

yes , there is no more hdaenabler, nowhere :P

Thanks, I tried to use your dsdt.aml, it worked but System Profiler crash on Graphics Section, I guess is becuase you have a different card.

How did you patch the dsl to make the HDEF enabled.

Right now I using a generated dsdt.aml with fassl patcher, also deleted the audio part from EFI strings.

With your dstd.aml my SoundCard is not detected.





2 user(s) are reading this topic

1 members, 1 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