Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,371 posts in this topic

Recommended Posts

This looks like your AppleHDA not being original anymore...

It seems to missing some of the language "lproj"-files under /Contents/Resources....

 

Try to get an original Kext and install it into /System/Library/Extensions with tools like "Kext Utility" and see if the problems resolved after a reboot.

It worked. Thank you!

Link to comment
Share on other sites

 

  • Dell Inspiron 5578
  • ALC3253
  • 28
  • 10.13.2

 

The issue I'm having is very strange, and I'm not quite sure how to describe it.

The internal speakers are absolutely perfect, however the headphone port seems to be out of phase. Setting the fader to the left channel plays exclusively left, but it comes out of both channels. Setting the fader to the right channel plays exclusively right, but comes out of both channels.

Setting the fader to the middle however seems to cancel any audio that's present in both channels. Centred vocals for example immediately disappear, and you can only really hear things that are only present in only one channel in the recording.

 

I'm not exactly sure how to approach this. The laptop definitely uses ALC3253, and the wiki for AppleALC says to use layout 28.

 

Any advice?

Thanks in advance!

 

 

It's been a couple of weeks now, and I'm no further forward. Does anyone have any further suggestions for this issue?

Thanks

Link to comment
Share on other sites

Happy Christmas and thank you for give as wonderful kexts to our community.

Thanks again vit9696 team and others.

 

AppleALC

WhateverGreen

Shiki

Lilu

  • Like 2
Link to comment
Share on other sites

Hello @vit9696, @vandroy2012...

Sorry for a report; when building AppleALC (since v1.2.2) using XCode 8.2 Build 8C38 it takes a long time (a minute or more) on..

"Building AppleALC: ResourceConverter | Running 1 of 1 custom shell scripts"

Not a serious issue though, kext was built succeeded and loaded just fine (but I'm just curious, is it normal?)

Thanks for really good stuff and happy new year!  :)

 

 

5qBdsFW.jpg

 

 

#EDIT: Using OS X 10.8 as "Deployment Target", host is El Capitan 10.11.6 (15G19004).

Link to comment
Share on other sites

Hello @vit9696, @vandroy2012...

Sorry for a report; when building AppleALC (since v1.2.2) using XCode 8.2 Build 8C38 it takes a long time (a minute or more) on..

"Building AppleALC: ResourceConverter | Running 1 of 1 custom shell scripts"

Not a serious issue though, kext was built succeeded and loaded just fine (but I'm just curious, is it normal?)

 

Yes. It's normal.

  • Like 1
Link to comment
Share on other sites

Hello,

I use an old Asus K50IN notebook with ALC662v2. The native audio does not work anymore since the days of Lion (I think), and now with High Sierra I use VoodooHDA 2.8.5 (the newest versions have a poor performance in my case).

I have tried all the verified layouts. ALC662 is detected with layouts 5, 7, 11, 13 but does not emit sounds. The microphone does not work either. Is it possible to make this chip work with LILU + AppleALC?

I attach Info.plist created as recommended in the first post.Info.plist.zip

the notebook data are:
1. Asus K50IN
2. ALC662 (v2)
3. I do not know. I tried 5, 7, 11, 13
4. High Sierra 10.13.2

 

Thank you.

Link to comment
Share on other sites

Hi All,

sorry, two questions:

- is Codec-info.command10 the utility to extract the info.plist file requested in the first post?

- this the DPCIManager extract of my system (AUDIO):

 

Audio Device: 0x808627D8

Sub Device: 0x10438445

Codec ID: 0x10EC0887

Revision: 0x0302

Codec Name: Realtek ALC888B

 

is the codec supported by AppleALC.kext+Lilu.kext?

Thanks in advance

Link to comment
Share on other sites

hello @vandroiy2012
 
Happy New Year for the AppleALC team and thank you for your good work.
 
I have a new codec for Realtek ALC262 for HP Z800-Z600 series.
 
 
LayoutID 28 (1C)
 
all works good (... with CodecCommander)
 
can you please added the new codec?
 

 

many thanks
  • Like 5
Link to comment
Share on other sites

Hello,

 

My system is an Acer Aspire VX15 (i5-7300HQ, 8 GB RAM, Intel HD 630). The Audio is an ALC255. Up until yesterday, I was on 10.13, with AppleALC 1.1.4 + Lilu 1.1.7, and the audio was working perfectly. Then, I updated to 10.13.2, and I had kernel panic. I had held off from updating Lilu and AppleALC, as the audio wasn't working, but I was out of options now. So, I updated, and the kernel panic was fixed, but the audio, as expected, was no longer working (No input/output devices detected). I have attached the debug log, and have verified that AppleALC and Lilu are loaded. I have tried installing to S/L/E, L/E, and CLOVER/kexts/Other, but the result is same. 

 

Please let me know if anything else is required, and I'll post it as soon as possible.

 

Thank you for any help.

Working.zip

log.txt

CLOVER.zip

Link to comment
Share on other sites

Hello,

 

My system is an Acer Aspire VX15 (i5-7300HQ, 8 GB RAM, Intel HD 630). The Audio is an ALC255. Up until yesterday, I was on 10.13, with AppleALC 1.1.4 + Lilu 1.1.7, and the audio was working perfectly. Then, I updated to 10.13.2, and I had kernel panic. I had held off from updating Lilu and AppleALC, as the audio wasn't working, but I was out of options now. So, I updated, and the kernel panic was fixed, but the audio, as expected, was no longer working (No input/output devices detected). I have attached the debug log, and have verified that AppleALC and Lilu are loaded. I have tried installing to S/L/E, L/E, and CLOVER/kexts/Other, but the result is same. 

 

Please let me know if anything else is required, and I'll post it as soon as possible.

 

Thank you for any help.

 

 

I managed to fix it, albeit in an extremely dirty way. I pulled the sources of AppleALC at both 1.1.4 and master. I then replaced the Resources folder from 1.1.4 into master, and compiled AppleALC. The resulting kext worked. I am attaching the resulting kexts and also the log, in case someone is inclined to debug the issue.

Debug.zip

Release.zip

log.txt

Link to comment
Share on other sites

Hi,

 

Can someone help me get working audio? It is almost working with the latest AppleALC Debug version 1.2.2. My codec ALC298 is under the supported codecs list on the wiki. The system preferences detects Internal Speakers and Headphones, but no actual sound is output. Kextstat reports that AppleALC loaded, but only debug is actually recorded. alcdbg boot flag is used.

 

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.

 

1. Razer Blade 2017 (also the motherboard name)

2. Realtek ALC298

3. All layouts for ALC298 in wiki except 47. Layout 13 is used in the logs.

4. OSX Sierra 10.12.6

5. Info.plist attached

 

Thanks for your help!

Archive.zip

codec#0.txt

Link to comment
Share on other sites

Hi,

First, thanks to all contributors of this project.

 

I would like to report partial success with Realtek ALC221 chip on an HP 8300 SFF computer.

 

However the Microphone (rear or front jack) is not working on HP 8300 SFF model.

 

Could someone point me in the right direction to fix this plz ?

 

 

Attached is the codec dump from linux and generated info.plist

Thanks again for sharing your time and knowledge.

ALC221@HP8300SFF.dump.org.txt

Info.plist.zip

Link to comment
Share on other sites

Hi there,

My setup work well, but sometimes my sound disappear on wake.

i don't know if this can help

 

1. Asus Sabertooth X79
2. Realtek ALC892
3. Layout 1 used
4. 10.10, 10.11, 10.12
5. Autogenerated Info.plist 

 

 

Codec-Info.command 
HDEF@1B = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Layout, hex: 0x00000001 , dec: 1

PinConfigurations:
f01111411040119020100101306001014090a090609081025030810170402102f011114101e6054090614b01

Codecs Found: 1
HDA:
0 CodecAddress:0x0
VendorID: 0x10ec0892
RevisionID: 0x100302
CodecID: 283904146
Revision(dec):=1049346
Id=0x0892
Id(dec)=2194
Vendor=0x10ec
Vendor(dec)=4332

File Doesn't Exist, Will Create: /Users/Qouixster/Desktop/Info.plist

Qouixster_codec_Info.plist.zip

Link to comment
Share on other sites

Unfortunately I can't seem to get this working.

 

1. Shuttle SZ170R8 barebone with FZ170/FH170 V2.0 mainboard

2. Realtek ALC892

3. Tried all layouts from wiki
4. 10.13
5. Autogenerated Info.plist

<?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>Author</key>
        <string>xxxxx</string>
        <key>CodecID</key>
        <integer>2194</integer>
        <key>CodecName</key>
        <string>0x10ec0892 Rev:0x100302</string>
        <key>Files</key>
        <dict>
                <key>Layouts</key>
                <array>
                        <dict>
                                <key>Id</key>
                                <integer>1</integer>
                                <key>Path</key>
                                <string>layout1.xml.zlib</string>
                        </dict>
                </array>
                <key>Platforms</key>
                <array>
                        <dict>
                                <key>Id</key>
                                <integer>1</integer>
                                <key>Path</key>
                                <string>Platforms.xml.zlib</string>
                        </dict>
                </array>
        </dict>
        <key>Patches</key>
        <array>
                <dict/>
                <dict/>
                <dict/>
                <dict/>
                <dict/>
        </array>
        <key>Revisions</key>
        <array>
                <integer>1049346</integer>
        </array>
        <key>Vendor</key>
        <string>Realtek</string>
</dict>
</plist>
Link to comment
Share on other sites

 

Unfortunately I can't seem to get this working.

 

1. Shuttle SZ170R8 barebone with FZ170/FH170 V2.0 mainboard

2. Realtek ALC892

3. Tried all layouts from wiki

4. 10.13

5. Autogenerated Info.plist

<?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>Author</key>
        <string>xxxxx</string>
        <key>CodecID</key>
        <integer>2194</integer>
        <key>CodecName</key>
        <string>0x10ec0892 Rev:0x100302</string>
        <key>Files</key>
        <dict>
                <key>Layouts</key>
                <array>
                        <dict>
                                <key>Id</key>
                                <integer>1</integer>
                                <key>Path</key>
                                <string>layout1.xml.zlib</string>
                        </dict>
                </array>
                <key>Platforms</key>
                <array>
                        <dict>
                                <key>Id</key>
                                <integer>1</integer>
                                <key>Path</key>
                                <string>Platforms.xml.zlib</string>
                        </dict>
                </array>
        </dict>
        <key>Patches</key>
        <array>
                <dict/>
                <dict/>
                <dict/>
                <dict/>
                <dict/>
        </array>
        <key>Revisions</key>
        <array>
                <integer>1049346</integer>
        </array>
        <key>Vendor</key>
        <string>Realtek</string>
</dict>
</plist>

do you have a clean DSDT.aml no error ?

  • Like 1
Link to comment
Share on other sites

Don't like to bump myself but can any1 help plz ? 

 

Hi,

First, thanks to all contributors of this project.

 

I would like to report partial success with Realtek ALC221 chip on an HP 8300 SFF computer.

 

However the Microphone (rear or front jack) is not working on HP 8300 SFF model.

 

Could someone point me in the right direction to fix this plz ?

 

 

Attached is the codec dump from linux and generated info.plist

Thanks again for sharing your time and knowledge.

Link to comment
Share on other sites

×
×
  • Create New...