Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,371 posts in this topic

Recommended Posts

So my file is also a mess right now, but does AppleALC hang your laptop often ? I changed the kext-to-patch a bit

No, it doesn't hang anymore but this wasn't related to AppleALC actually. In fact, it was a wrong DSDT injection that cause it. Anyway, sounds work the right way with Layout 3 and I don't really care about mic.

 

One thing I have to investigate though is that sleep seems to be broken. I Don't know if it's AppleALC related or something else :unsure:

 

Thanks again !

Link to comment
Share on other sites

hello vusun123

the guide rehabman don't like

I prefer traditional installation ... I did a lot of tests ... but nothing ... the peripheral is detected, black icon, headphones and microphone working but no sound from the speakers ... something changed with high sierra, with sierra, el captain work fine with applealc

hi vusun123

 

I solved the hp 470 ...credit to mirone......now  just the conexant

Link to comment
Share on other sites

Asus N552VW, combo headphone jack, layout 13, speaker and internal mic working perfectly but through the jack the sound is missing channels (singers sound not played in a music file) 

Any help is appreciated. Mic line in is not need/used.

Install Rehabman's CodecCommander.kext

Link to comment
Share on other sites

Asus N552VW, combo headphone jack, layout 13, speaker and internal mic working perfectly but through the jack the sound is missing channels (singers sound not played in a music file) 

Any help is appreciated. Mic line in is not need/used.

 

 

Install Rehabman's CodecCommander.kext

I have it already installed. Nothing changed :(

 

Link to comment
Share on other sites

Hi vusun123,

 

I've installed latest version of lilu+appleALC that includes your layout-id 28 for Lenovo Legion Y520, which is the model I own.

 

Until today I had layout 11 configured that at least it worked well with speakers (not with headphones).  Now I'm trying layout 28, i've changed all 11's in CLOVER config.plist
and tried to force kext cache reload (touch /System/Library/Extensions).
 
Audio icon appears on menubar, and devices are detected, mic seems to be working but no audio from speakers.  If I try to play a video from youtube the video does not start (0:00 issue...).
 
I need to change or check something else more? Thanks in advance!
Link to comment
Share on other sites

Could anyone please help me with this tablet? It is a Conexant CX20724 (please see codec_dump.txt attached).

 

I'm not getting any sound from internal speaker (not greyed, not HDMI), but headphones work fine.

 

I've injected layout_id '3' via DSDT (HDAS, with Clover DSDT patch rename HDAS->HDEF). Am also using the latest AppleALC.kext with Lilu.kext. Have also tried AppleHDA Patcher but still no sound from the internal speakers.

 

Had been trying for months now, would really appreciate if someone could help me, please.

 

 

Thanks and regards,

Bubu 

 

 

 

codec_dump.txt

post-1426806-0-72189300-1510427495_thumb.png

ALC and Lilu Debug.txt

Link to comment
Share on other sites

Guys i have this weird issue and (probably) need you help :)

 

I am using a GA-H110MSTX board whcih has the alc255 and installed latest lilu and ALC kext in the kext folder on efi (as i have done with other kexts)

 

I change the audiolayout to 3 in the config.plist, but this results in mac os x not booting.

 

Do i need to change anything else?

 

Im running latest clover, 10.13.1.. if more info is needed i can provide ofcourse

 

Attached is my config.plist that doesnt boot.

 

Edit, I added some more info

<?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>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>DropOEM_DSM</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP</key>
				<true/>
				<key>AddHDMI</key>
				<true/>
				<key>AddIMEI</key>
				<true/>
				<key>AddMCHC</key>
				<true/>
				<key>AddPNLF</key>
				<true/>
				<key>DeleteUnused</key>
				<true/>
				<key>FakeLPC</key>
				<true/>
				<key>FiX_TMR_40000</key>
				<false/>
				<key>FiX_WAK_200000</key>
				<false/>
				<key>FixACST</key>
				<true/>
				<key>FixADP1</key>
				<true/>
				<key>FixAirport</key>
				<true/>
				<key>FixDarwin</key>
				<true/>
				<key>FixDisplay</key>
				<true/>
				<key>FixFirewire</key>
				<true/>
				<key>FixHDA</key>
				<true/>
				<key>FixHPET</key>
				<true/>
				<key>FixIDE</key>
				<true/>
				<key>FixIPIC</key>
				<true/>
				<key>FixIntelGfx</key>
				<true/>
				<key>FixLAN</key>
				<true/>
				<key>FixRTC</key>
				<true/>
				<key>FixRegions</key>
				<true/>
				<key>FixS3D</key>
				<true/>
				<key>FixSATA</key>
				<true/>
				<key>FixSBUS</key>
				<true/>
				<key>FixShutdown</key>
				<true/>
				<key>FixUSB</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<false/>
				<key>PStates</key>
				<false/>
			</dict>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>dart=0</string>
		<key>DefaultVolume</key>
		<string>Macintosh HD</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Log</key>
		<true/>
		<key>Secure</key>
		<false/>
		<key>Timeout</key>
		<integer>3</integer>
		<key>XMPDetection</key>
		<false/>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>3</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
		</dict>
		<key>USB</key>
		<dict>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>
	<key>DisableDrivers</key>
	<array>
		<string>Nothing</string>
	</array>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>Windows</string>
			<string>\EFI\BOOT\BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>en:0</string>
		<key>Mouse</key>
		<dict>
			<key>Enabled</key>
			<true/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<string>First</string>
			<key>Linux</key>
			<false/>
			<key>Tool</key>
			<true/>
		</dict>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
		<key>Theme</key>
		<string>embedded</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<true/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>ig-platform-id</key>
		<string>0x19120000</string>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>#FakeCPUID</key>
		<string>0x010676</string>
		<key>AppleIntelCPUPM</key>
		<true/>
		<key>AppleRTC</key>
		<true/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<true/>
		<key>KernelXCPM</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>change 15 port limit to 26 in XHCI kext</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				g32MEA==
				</data>
				<key>MatchOS</key>
				<string>10.13.x</string>
				<key>Name</key>
				<string>com.apple.driver.usb.AppleUSBXHCIPCI</string>
				<key>Replace</key>
				<data>
				g32MGw==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>10.12-SKL-1912000-4_displays</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				AQMDAwAAIAI=
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Name</key>
				<string>AppleIntelSKLGraphicsFramebuffer</string>
				<key>Replace</key>
				<data>
				AQMEAwAAIAI=
				</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x3</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>10/23/12</string>
		<key>BiosVendor</key>
		<string>Apple Inc.</string>
		<key>BiosVersion</key>
		<string>MM61.88Z.0106.B00.1208091121</string>
		<key>Board-ID</key>
		<string>Mac-F65AE981FFA204ED</string>
		<key>BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisAssetTag</key>
		<string>Mini-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>ChassisType</key>
		<string>16</string>
		<key>Family</key>
		<string>Mac mini</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>Mobile</key>
		<false/>
		<key>ProductName</key>
		<string>Macmini6,2</string>
		<key>SerialNumber</key>
		<string>C02KFA3ZDWYN</string>
		<key>Trust</key>
		<false/>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Yes</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

mSTX:~ yoyellow$ /Users/yoyellow/Downloads/getcodecid ; exit;
(AppleHDA)	Intel Skylake HDMI (8086:2809) Rev.(00100000)
		Controller 8086:a170 (sub-ven:1458:a1a2)
(AppleHDA)	Realtek ALC255 (10ec:0255) Rev.(00100002)
		Controller 8086:a170 (sub-ven:1458:a1a2)
logout
Link to comment
Share on other sites

Could anyone please help me with this tablet? It is a Conexant CX20724 (please see codec_dump.txt attached).

 

I'm not getting any sound from internal speaker (not greyed, not HDMI), but headphones work fine.

 

I've injected layout_id '3' via DSDT (HDAS, with Clover DSDT patch rename HDAS->HDEF). Am also using the latest AppleALC.kext with Lilu.kext. Have also tried AppleHDA Patcher but still no sound from the internal speakers.

 

Had been trying for months now, would really appreciate if someone could help me, please.

 

 

Thanks and regards,

Bubu 

 

Anyone please?

Link to comment
Share on other sites

Hi vusun123! Thanks for the reply ^_^

 

I tried what you suggested and took a step further by trying all the other layouts (1,2,5,7) but none of the layouts showed possible manual selection between headphones and internal speakers (have to stay unplugging headphones). And whilst checking some even gave me weird pops or variable volume whilst playing music. 

 

I don't know if they might help but I've attached my current clover folder, my ioreg export and a screenshot of my current output devices list.

Sorry for pinging again :( just want to see if there's anyone who's managed to achieve manual speaker/headphone selection for ALC1220. Layout 11 with AppleALC works brilliantly but would like to remove the auto sense.

Link to comment
Share on other sites

hello @vandroiy2012

 
I have still new codec´s for Realtek ALC280 - Dell T20 - Version1 - ManualMode and Version2 - SwitchMode.
 
LayoutID 13 ManualMode (Lineout back and HP front separately)
LayoutID 15 SwitchMode (Speaker back and HP front AutoMode)
 
all works good
 
More choice for the users.  :D
 
can you please added the new codec? 
 
many thanks  :wub:  :angel_not:

Resources_ALC280_Dell T20.zip

  • Like 1
Link to comment
Share on other sites

 

Hi vusun123,

 

I've installed latest version of lilu+appleALC that includes your layout-id 28 for Lenovo Legion Y520, which is the model I own.

 

Until today I had layout 11 configured that at least it worked well with speakers (not with headphones).  Now I'm trying layout 28, i've changed all 11's in CLOVER config.plist
and tried to force kext cache reload (touch /System/Library/Extensions).
 
Audio icon appears on menubar, and devices are detected, mic seems to be working but no audio from speakers.  If I try to play a video from youtube the video does not start (0:00 issue...).
 
I need to change or check something else more? Thanks in advance!

 

 

No news/help?

 

I've been doing many proofs and I cannot be able to get it working with layout 28 and newer AppleALC.kext. Here there are my results:

 

Lilu 1.2.1 + AppleALC 1.2.1-121117 + Layout 28 -> NOT WORKING

Lilu 1.2.1 + AppleALC 1.2.1-121117 + Layout 11 -> NOT WORKING

Lilu 1.2.1 + AppleALC 1.2.0 + Layout 11 (because 28 was introduced in 1.2.1) -> NOT WORKING

Lilu 1.1.7 + AppleALC 1.1.4 + Layout 11 -> Speakers OK (bad sound on headphones)

 

I have Sierra 10.12.6 and the only way I get sound in speakers (no youtube stopped at 0:00..) is with Lilu 1.1.7 + AppleALC 1.1.4 using layout-id 11, that was the setting I have , but headphones is not working correctly that's why I want to try new layout.

 

Some clues will be very appreciated :) thanks in advance!

Link to comment
Share on other sites

Hello,

 

This is going to be a support/discussion topic of AppleALC on InsanelyMac. 

AppleALC is a kernel extension allowing you to enable native apple HD audio without any filesystem modifications. It dynamically injects the necessary modifications to AppleHDA (and other kexts) including the

layouts, and makes your audio work starting from the OS installation.

 

It should be noted that AppleALC starting with version 1.1.0 requires Lilu.kext to be put in the same folder as AppleALC.kext. See this topic for more details.

 

For quite some time we are trying to obtain the necessary information about AppleALC codec compatibility. If you use something, please, consider checking the compatibility table (do not worry, it is in English), and report (here) on your codec. We are also looking for all the possible revisions of the codec, if we do not have the revisions listed for your codec please report as well. Thanks for understanding. 

 

The report is meant to contain:

1. Laptop model/Motherboard model

2. Codec name

3. Layout used with the info what works for you (ideally if you try them all)

4. OS X versions you tried

5. Autogenerated Info.plist made with the help of this utility.

 

All the details including the source code are available on github:

https://github.com/vit9696/AppleALC

Some short wiki articles explaining the usage are included.

 

As for now the project is relatively immature without practically any codec support. But it should be pretty easy to add more of them, I am hoping for the support of the "community" :)

If you have any issues, better report them on github for structural reasons.

Hi @vit9696

First, I very appreciate for your work. It's very helping me to active my audio since I used el capitan

Thank you for your hard work

 

Your AppleALC kext work and no problem in el capitan to sierra

Currently, I using high sierra 10.13.1 and I have problem with my headphone/headset

Sound not normal when headphone/headset connected and sound normal after I sleep and wake my device

 

My laptop Dell Inspiron 5458 core i3 5005U

Motherboard Dell.Inc 02X16F

Audio is Realtek ALC3234 (ALC255)

Vendor id 0x10ec0255

Revision id  0x100002

 

I've try all layout id ALC255 in pinconfig, that the result :

- Layout id 3, 13 and 17 --> in & out speaker and mic internal  work but when I using headphone/headset, the sound is not normal (must sleep and wake my laptop to get it normal)

- Layout id 27 --> in & out speaker work, mic internal not work and same problem with headphone/headset. My laptop will restart when I used layout id 27 for a while

- Layout id 28 --> in & out speaker work, mic internal not work and still same problem with headphone/headset

 

I've update to last version AppleALC.kect, Lilu.kext and CodecCommander.kext but still have problem with headphone/headset

 

Can you help me to fix that

I'm very thankfull for yor help and sorry for my english

 

I attachmen codec dump my audio

CodecDump.zip

Link to comment
Share on other sites

Sorry for pinging again :( just want to see if there's anyone who's managed to achieve manual speaker/headphone selection for ALC1220. Layout 11 with AppleALC works brilliantly but would like to remove the auto sense.

Wait minutes I'll post your things

Link to comment
Share on other sites

×
×
  • Create New...