Jump to content

[Help] Questions about AD1986A codec and new Layout ID creation in AppleALC


shl628
 Share

9 posts in this topic

Recommended Posts

Hello. 🙂
I have a question about creating a new Layout ID in AppleALC.
The laptop specifications and installed Mac OS X version are as follows.

 

Installed Mac OS X Versions

  • Mac OS X Snow Leopard 10.6.8
  • OS X Mountain Lion 10.8.5 (NexPostFacto, 32Bit Kernel Patch, GMA950 QE/CI Enabled)

 

System Specification : Samsung Sens Q36 (NT-Q36CR0H)

  • CPU : Intel Merom Core 2 Duo T5600 1.83 GHz
  • Chipsets : Intel 945GM + ICH7-M
  • Graphics : Intel GMA 950
  • Memory : DDR2 PC2-5300 667 MHz 512 MB + 2 GB
  • Sound : Analog Devices SoundMAX AD1986A
  • Ethernet : Broadcom 440x 10/100 Integrated Controller
  • Wi-Fi : Intel PRO/Wireless 3945ABG Network Connection
  • TouchPad : Synaptics PS/2 TouchPad
  • BIOS : Phoenix FirstBIOS â„¢ Notebook Pro Version 2.0 26SD

 

Analog Devices SoundMAX AD1986A sound codec is not supported by AppleALC.kext

So, I've only used VoodooHDA on this laptop so far.

 

However, I recently saw a commit from Goldfish64 on AppleALC's GitHub site that added new Layout ID support for the AD1884 sound codec.

https://github.com/acidanthera/AppleALC/commit/1a5f6ff31db71678ddc55084350e23d713557694

 

I was impressed by this, so I also tried adding support for AD1986A and creating a new Layout ID.

I referred to the site below for an explanation of AppleALC's new Layout ID creation guide.

https://github.com/5T33Z0/AppleALC-Guides/tree/main/AppleALC_Layout-ID

 

I. Summary
II. Preparations
III. Extracting data from the Codec dump

 

I dumped the Analog Devices SoundMAX AD1986A sound codec on Linux.

AD1986A-codec#0.txt

 

 

IV. Understanding the Codec schematic and signal flow

 

Here is a picture of the signal flow graph from the Sound Codec extracted in the steps above :

image.thumb.png.863b04271f71f21f45f24279f23a9216.png

 

I created a Path Map in the graph above as follows.


Node ID (Pin Complex) | Device Name/Type | Path(s) | EAPD

  • 31 (In) | External Microphone | 6-18-17-15-31 | -
  • 27 (Out) | Internal Speaker | 27-11-7-3 | -
  • 26 (Out) | Headphone | 26-10-5 | -

 

Note: This laptop does not have a built-in microphone. Therefore, the only input device is an external pink microphone terminal.

 

 

V. Creating a PathMap
VI. Creating a PlatformsXX.xml
VII. Transferring the PathMap to PlatformsXX.xml

 

I copied the Info.plist, layout11.xml, and Platforms11.xml files of the AD1884 codec written by Goldfish64 in the AppleALC - Resources folder and modified these files.

So, I modified Platforms11.xml with the PathMap created in the above step in Auto-Switching mode.

The detailed structure of the PathMap I wrote and the contents of the Platforms11.xml file are as follows.

image.png.ff1e0811f8fb13f54dcbdfb76af18dff.png

 

image.png.5e0adbc1ea4a03b1438f44d5f938cb36.png

 

 

VIII. Adding/Modifying layoutXX.xml

 

Since I added a new Analog Devices SoundMAX AD1986A codec and created a new Layout ID for the first time,

I imported and modified the Resource file of Layout ID=11 of the AD1884 sound codec created by Goldfish64.

 

Therefore, in layout11.xml, the value of 11 is used without modifying the LayoutID and PathMapID values, and instead, the CodecID is modified to 299112838, which corresponds to AD1986A.
The remaining Inputs and Outputs items were also modified based on the PathMap contents written above.

image.png.fcd922b91653043fe69daf7aa8f2554a.png

 

The MuteGPIO value is as follows in the sound Codec Dump file.

Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 8
     0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a

Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x00001727: IN Detect Trigger ImpSense
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1

If I calculate the MuteGPIO value as above, 0x50 + 0100 + 0x1F = 0x5001001F (Hex) => 1342242847 (Dec)
Therefore, the MuteGPIO value was entered as 1342242847.

 

 

IX. Creating a PinConfig

 

The initial screen when the sound codec extracted in step III above is loaded in Pin Configurator is as follows :

image.thumb.png.6e8326c51cb5b651498123e5c68e8b6e.png

 

This is what it looks like after selecting the Remove Disabled menu :

image.thumb.png.3cf152183f9cec20089e7e4ce032a7a7.png

 

This is what it looks like after selecting the Verb Sanitize (All Options Enabled) menu :

image.thumb.png.bb14ef743e874f094601e1380542bc76.png


Here I deleted the unused Verb items.
Also, the values for the Connector, Port, and Gross Location items of the external microphone changed strangely, so I corrected them again.

image.thumb.png.0b93a8da280dacfd4ff3d57d8a81ea0b.png

 

In this way, the final ConfigData obtained is as follows.

  • 01B71C10 01B71D40 01B71E17 01B71F91 01F71C20 01F71D90 01F71EA1 01F71F01 01A71C30 01A71D40 01A71E21 01A71F01

verbs.txt

 

 

X. Integrating the PinConfig into the AppleALC source code


In Info.plist in PinConfig.kext, I added a new AD1986A item and added the ConfigData I created and various information as appropriate.

				<dict>
					<key>AFGLowPowerState</key>
					<data>
					AwAAAA==
					</data>
					<key>Codec</key>
					<string>AD1986A - lshbluesky - Samsung Sens Q36</string>
					<key>CodecID</key>
					<integer>299112838</integer>
					<key>ConfigData</key>
					<data>
					AbccEAG3HUABtx4XAbcfkQH3HCAB9x2QAfceoQH3HwEBpxwwAacdQAGnHiEBpx8B
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>11</integer>
				</dict>

 

 

XI. Add Platforms.xml and layout.xml to info.plist


Open the Info.plist file in the AppleALC - Resources - AD1986A folder and edit items such as CodecID, Layouts, and Platforms.

image.png.35c1956127b8446d6419a73b77e2667f.png

 

Note: I don't know how to modify the Patches Array item, so I left it as written in Goldfish64's AD1884 file.

 

 

XII. Compiling the AppleALC.kext


Finally, I built AppleALC myself, adding and modifying the AD1986A sound codec.
And, I tried loading AppleALC on my Samsung Sens Q36 laptop.


However, in the sound section of system preferences, nothing is visible in the output devices and input devices, and there is no sound. 😥

Is there anything wrong or missing in my work?

Please help and advise. 🥲

 

Additionally, the Resources file I added and modified to AppleALC is attached below.

AppleALC-Resources-AD1986A-shl.zip

Edited by shl628
Link to comment
Share on other sites

Question 1.

In the Inputs section of each PlatformsXX.aml file, some codecs have the Amp item in the first node, while others have it in the last node.

Does the Amp location matter?

 

Question 2.

Is it necessary to modify the value of the SignalProcessing item in the AppleALC - Resources - Codec - Info.plist file?

 

Question 3.

AppleALC's Layout ID list table specifies the minimum supported kernel version. Is there a file that specifies this value?

 

Additionally, I also upload the Clover (Ver r5119) EFI folder that I am using on this laptop.

EFI-Sens-Q36-AppleALC-shl.zip

Link to comment
Share on other sites

The problem was that AppleALC, which I built with Xcode, was not built in 32Bit (i386), so AppleALC could not be loaded.

AppleALC Release Kext provided by Acidanthera GitHub is built to load both 32Bit (i386) and 64Bit (x86_64) kernels.
However, the AppleALC I built myself was made to work only on the 64Bit (x86_64) kernel.

 

I looked at the information about 32Bit (i386) build on the MacKernelSDK GitHub site.
I have successfully applied the flag addition and settings in steps 1 to 3 in the build options of Xcode, but I am not sure how to do steps 4 and 5.

 

Can anyone help me on how to build AppleALC with Xcode to run on the 32Bit (i386) Kernel of Mac OS X 10.6 ~ 10.7?

warning: None of the architectures in ARCHS (i386) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64, ACID32). (in target 'AppleALCU' from project 'AppleALC')
warning: Run script build phase 'Post-process Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'AppleALCU' from project 'AppleALC')
warning: None of the architectures in ARCHS (i386) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64, ACID32). (in target 'AppleALC' from project 'AppleALC')
warning: Run script build phase 'Merge Pinconfigs' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'AppleALC' from project 'AppleALC')
warning: Run script build phase 'Archive' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'AppleALC' from project 'AppleALC')
warning: None of the architectures in ARCHS (i386) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64). (in target 'alc-verb' from project 'AppleALC')
warning: None of the architectures in ARCHS (i386) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64). (in target 'ResourceConverter' from project 'AppleALC')
note: Run script build phase 'Convert Resources' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ResourceConverter' from project 'AppleALC')
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Convert\ Resources /Users/shl628/Downloads/AppleALC-master/build/AppleALC.build/Release/ResourceConverter.build/Script-CE0C09F3201DBE6600926B8E.sh (in target 'ResourceConverter' from project 'AppleALC')
(1 failure)
Edited by shl628
Link to comment
Share on other sites

@shl628 To compile the 32 bit version of the kext, you need macOS Mojave or older (and the corresponding version of Xcode) because newer versions of macOS are 64-bit only, so they  don't contain x86 instructions.

 

But th real question is: why are you running the OS in 32 bit? Mountain Lion supports 64 bit, so does your CPU, according to Intel.

Link to comment
Share on other sites

28 minutes ago, cankiulascmnfye said:

@shl628 To compile the 32 bit version of the kext, you need macOS Mojave or older (and the corresponding version of Xcode) because newer versions of macOS are 64-bit only, so they  don't contain x86 instructions.

 

But th real question is: why are you running the OS in 32 bit? Mountain Lion supports 64 bit, so does your CPU, according to Intel.

 

Thank you for answer.

This is because Intel GMA 950 iGPU only supports 32 Bit Kernel (arch=i386).
So, Intel GMA 950 iGPU is officially supported only up to Mac OS X Lion 10.7.5 version.
It is not possible to enable QE/CI acceleration for Intel GMA 950 iGPU in OS X Mountain Lion 10.8 or later versions, which only support 64 Bit Kernel.

 

I installed OS X Mountain Lion 10.8.5 using NexPostFacto, which patches and boots using the OS X Mountain Lion DP1 Kernel (Darwin 12.0.0).

OS X Mountain Lion DP1 Kernel supports both 32 Bit and 64 Bit.

Link to comment
Share on other sites

  • 3 weeks later...
Posted (edited)

Recently, I tried modifying PathMap and PinConfig again for the AD1986A sound codec.
Also, I will try again later on how to build AppleALC.kext to 32 bits using Xcode.


I removed arch=i386 boot arg, booted the OS X Mountain Lion 10.8.5 version to 64 Bit Kernel, and loaded AppleALC.kext
And, I built AppleALC.kext into Debug to view Debug logs, and added -alcdbg boot arg.


As a result, the log below was output.

Jan  7 13:04:30 localhost kernel[0]: AppleALC      init: @ (DBG) AppleALC bootstrap DBG-189-2024-01-06
Jan  7 13:04:30 localhost kernel[0]: Lilu       rtc: @ rtc read failure 1 bytes from 180 E00002C2
Jan  7 13:04:30 localhost kernel[0]: AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value
Jan  7 13:04:30 localhost kernel[0]: AppleALC     iokit: @ (DBG) getOSData alctcsel was not found
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) disabling TCSEL update
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) found alc-layout-id override 11
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) fixing MaximumBootBeepVolume in hdef
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) fixing MaximumBootBeepVolumeAlt in hdef
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) fixing PinConfigurations in hdef
Jan  7 13:04:30 localhost kernel[0]: AppleALC       alc: @ (DBG) found existing built-in
Jan  7 13:04:30 localhost kernel[0]: AppleALC     iokit: @ (DBG) getOSData device-id has 27A6 value
Jan  7 13:04:30 localhost kernel[0]: AppleALC     iokit: @ (DBG) getOSData revision-id has 3 value
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData device-id has 27D8 value
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData revision-id has 2 value
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData alc-layout-id has B value
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) found 2 audio controllers
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) validating 0 controller 8086:27A6:3
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 0 mod 10DE:E1B
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 1 mod 10DE:E0F
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 2 mod 10DE:FB0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 3 mod 10DE:FB8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 4 mod 10DE:FB9
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 5 mod 10DE:FBA
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 6 mod 10DE:FBB
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 7 mod 10DE:FBC
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 8 mod 10DE:10EF
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 9 mod 10DE:10F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 10 mod 10DE:10F1
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 11 mod 1002:AAC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 12 mod 1002:AAE8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 13 mod 1002:AB08
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 14 mod 1022:1457
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 15 mod 1022:1487
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 16 mod 1022:15E3
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 17 mod 8086:C0C
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 18 mod 8086:F04
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 19 mod 8086:8CA0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 20 mod 8086:8D20
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 21 mod 8086:8D21
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 22 mod 8086:A170
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 23 mod 8086:9DC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 24 mod 8086:9DC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 25 mod 8086:A171
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 26 mod 8086:A171
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 27 mod 8086:A2F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 28 mod 8086:A348
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 29 mod 8086:A1F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 30 mod 8086:A3F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 31 mod 8086:6C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 32 mod 8086:F1C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 33 mod 8086:2C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 34 mod 8086:34C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 35 mod 8086:F0C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 36 mod 8086:43C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 37 mod 8086:7AD0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 38 mod 8086:51C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 39 mod 8086:7A50
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) validating 1 controller 8086:27D8:2
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 0 mod 10DE:E1B
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 1 mod 10DE:E0F
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 2 mod 10DE:FB0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 3 mod 10DE:FB8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 4 mod 10DE:FB9
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 5 mod 10DE:FBA
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 6 mod 10DE:FBB
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 7 mod 10DE:FBC
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 8 mod 10DE:10EF
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 9 mod 10DE:10F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 10 mod 10DE:10F1
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 11 mod 1002:AAC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 12 mod 1002:AAE8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 13 mod 1002:AB08
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 14 mod 1022:1457
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 15 mod 1022:1487
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 16 mod 1022:15E3
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 17 mod 8086:C0C
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 18 mod 8086:F04
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 19 mod 8086:8CA0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 20 mod 8086:8D20
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 21 mod 8086:8D21
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 22 mod 8086:A170
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 23 mod 8086:9DC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 24 mod 8086:9DC8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 25 mod 8086:A171
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 26 mod 8086:A171
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 27 mod 8086:A2F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 28 mod 8086:A348
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 29 mod 8086:A1F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 30 mod 8086:A3F0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 31 mod 8086:6C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 32 mod 8086:F1C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 33 mod 8086:2C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 34 mod 8086:34C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 35 mod 8086:F0C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 36 mod 8086:43C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 37 mod 8086:7AD0
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 38 mod 8086:51C8
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing to 39 mod 8086:7A50
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
Jan  7 13:04:40 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 1 controller
Jan  7 13:04:41 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
Jan  7 13:04:41 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 1 controller
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData alc-delay was not found
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x00
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x02
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x00
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x02
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x00
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x02
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x00
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData alc-verbs was not found
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC    client: @ (DBG) device disallows to send custom verbs
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x04
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF00, param = 0x04
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF00, param = 0x05
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF20, param = 0x00
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x02
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC     iokit: @ (DBG) getOSData alc-verbs was not found
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC    client: @ (DBG) device disallows to send custom verbs
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x00, verb = 0xF00, param = 0x04
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF00, param = 0x04
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF00, param = 0x05
Jan  7 13:04:42 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters nid = 0x01, verb = 0xF20, param = 0x00
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) found analog codec IOHDACodecDevice
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) storing codec info for 11D4:1986:100500
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ failed to find IOHDACodecVendorID, retrying 0
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) found supported AnalogDevices AD1986A codec revision 0x100500
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) missing ControllerModInfo for 1 controller
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) will route resource loading callbacks
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 0 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 1 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 2 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 3 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 4 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 5 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 6 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) applying patch 6 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking patch 7 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:48 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) applying patch 7 for 2 kext (com.apple.driver.AppleHDA)
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) layoutLoadCallback 1 0 1 15033 1
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) resource-request arrived layout
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking codec 11D4:1986:100500
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) selecting from 1 files
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing 0 layout B/B
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) found layout at 0 index, zlib 1
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) layoutLoadCallback done 1 0 1 997 1
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) platformLoadCallback 2 0 1 11933 1
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) resource-request arrived platform
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) checking codec 11D4:1986:100500
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) selecting from 1 files
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) comparing 0 layout B/B
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) found platform at 0 index, zlib 1
Jan  7 13:04:51 shl628-ui-MacBook kernel[0]: AppleALC       alc: @ (DBG) platformLoadCallback done 2 0 1 443 1

However, there is still no input or output source visible in the sound settings of the system preferences.

Edited by shl628
Link to comment
Share on other sites

Posted (edited)

The PathMap and PinConfig that I newly created are as follows.

 

- 1st attempt

Node ID (Pin Complex) | Device Name/Type | Path(s) | EAPD

  • 31 (In) | External Microphone | 6-18-17-15-31 | -
  • 27 (Out) | Internal Speaker | 27-11-4 | -
  • 26 (Out) | Headphone | 26-10-5 | -

- 2nd attempt

Node ID (Pin Complex) | Device Name/Type | Path(s) | EAPD

  • 31 (In) | External Microphone | 6-18-17-15-31 | -
  • 27 (Out) | Internal Speaker | 27-11-4 | -
  • 26 (Out) | Headphone | 26-10-4 | -

 

The difference from the PinConfig I first created is that in PinConfigurator,

I only used the Remove Disabled and Verb Sanitize (All Options Enabled) options and only removed unused SPDIF items.

Verbs-AD1986A.txt

AppleALC Debug Logs.txt

Edited by shl628
Link to comment
Share on other sites

 Share

×
×
  • Create New...