Contribute
Register

Need Help patching AppleHDA for ALC668

Status
Not open for further replies.
Joined
Dec 29, 2012
Messages
354
Motherboard
Dell XPS 18
CPU
Intel Core i3-3227U CPU @ 1.90GHz
Graphics
Intel HD Graphics 4000
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
I am attempting to patch AppleHDA.kext for use with the Realtek ALC662 codec. I have made it all the way to editing the Platforms.xml file, and this is where I am stuck.

I am having trouble understanding how to fix the platforms.xml file in relation to the path maps chart this process has created (See attached). Can someone help me understand what Im really looking for? I understand that the path maps mean the following:

Triangle=Amplifier
Red Ellipse = Audio Input
Blue Ellipse = Audio Output
Parallelogram (which I don't have on mine) = Audio Selector
Hexagon = Audio Mixer
Rectangle = Pin Complex

The guide I'm using also says that I need:

Pin Complex (NodeID) > Audio Mixer Node > Audio Output Node.

So does this mean that I'm only looking for instances on the graph where I see: Rectangle > Hexagon > Blue Ellipse and only updating the corresponding number?? If this is the case, then that doesn't appear at all on this graph (There are triangles mixed in).
 

Attachments

  • codec_dump_dec.txt.svg.zip
    11.5 KB · Views: 124
  • platforms.xml
    511.1 KB · Views: 258
  • verbs.txt
    2.4 KB · Views: 341
  • codec_dump.txt
    11.1 KB · Views: 377
Need Help patching AppleHDA for ALC662

does this mean that I'm only looking for instances on the graph where I see: Rectangle > Hexagon > Blue Ellipse and only updating the corresponding number??
Your audio output representation is correct for the pathmap (pin > mixer > amp) and opposite for the graph (amp > mixer > pin).

ALC662 Internal Speaker example:
Code:
	pathmap		codec node
	dec		hex
pin	20		14
mixer	12		c
amp	2		2

Working ALC662: see VCH888 credit, Post #1, Mavericks: Audio - Realtek ALC AppleHDA
More AppleHDA info: see M-Realtek_ALC_AppleHDA... documents in toleda/audio_ALCInjection
 
Your audio output representation is correct for the pathmap (pin > mixer > amp) and opposite for the graph (amp > mixer > pin).

ALC662 Internal Speaker example:
Code:
    pathmap        codec node
    dec        hex
pin    20        14
mixer    12        c
amp    2        2

Working ALC662: see VCH888 credit, Post #1, Mavericks: Audio - Realtek ALC AppleHDA
More AppleHDA info: see M-Realtek_ALC_AppleHDA... documents in toleda/audio_ALCInjection

So sorry! I have 662 on the brain. I meant ALC668!!! I knew there was already information on 662... Is there a way to change the title of the post to read 668 instead of 662?
 
Thank you! I will look at 662's platforms.xml and compare to the information I have. This whole "AppleHDA Patch" thing only just clicked a few hours ago... for the past week or so I've been completely lost... this is usually how it works. It may take some time, but eventually, the platforms.xml file will make sense. I have just got to find something that triggers the switch in my brain.
 
Your audio output representation is correct for the pathmap (pin > mixer > amp) and opposite for the graph (amp > mixer > pin).

ALC662 Internal Speaker example:
Code:
    pathmap        codec node
    dec        hex
pin    20        14
mixer    12        c
amp    2        2

Working ALC662: see VCH888 credit, Post #1, Mavericks: Audio - Realtek ALC AppleHDA
More AppleHDA info: see M-Realtek_ALC_AppleHDA... documents in toleda/audio_ALCInjection


The VCH888 link doesn't seem to be working. I can't even get the insanelymac homepage to open. The site must be down.
 

Site back up. However, even after attempting to analyze the platforms.xml... I don't get where I am supposed to put in the codec verbs...
 
I don't get where I am supposed to put in the codec verbs...
PinConfigs (verbs) = ConfigData:
AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
Info.plist/IOKitPersonalities/HD Hardware Config Resources/HDAConfigDefault
Item
CodecID
ConfigData
FuncGroup
LayoutID

No sense inventing pinconfigs, use a working Realtek set.
 
PinConfigs (verbs) = ConfigData:
AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
Info.plist/IOKitPersonalities/HD Hardware Config Resources/HDAConfigDefault
Item
CodecID
ConfigData
FuncGroup
LayoutID

No sense inventing pinconfigs, use a working Realtek set.

I have that part done. I don't understand what I'm supposed to do with platforms.xml. All I have left is that and the bin patch.
 
Status
Not open for further replies.
Back
Top