Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

On 5/26/2020 at 8:49 PM, MacPeet said:

@Alectardy98

 

try this

 

trial2_alc289_layoutID15_SwitchMode.zip

 

 

@seri

 

post your codec_dump from Linux-Live!

What is "RehabMans Hotpatch"?
Is this necessary to work with AppleALC?

For hdmi audio configure Device HDAU and the hda-gfx entries!

 

RehabMans Hotpatch is a dsdt patch for hp probook computers. My codec dump is attached.

The patch uses CodecCommander.kext, and FakePCIID.kext.

 

Also, Here is the part that is about sound from dsdt patch:

#define LAYOUTID 21

// inject properties for audio

    External(_SB.PCI0.HDEF, DeviceObj)
    Method(_SB.PCI0.HDEF._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "layout-id", Buffer(4) { LAYOUTID, 0, 0, 0 },
            "hda-gfx", Buffer() { "onboard-1" },
            "PinConfigurations", Buffer() { },
            "RM,disable_FakePCIID", 1,  //SKL spoof: remove or set zero
        })
    }

// CodecCommander configuration

    Name(_SB.PCI0.HDEF.RMCF, Package()
    {
        "CodecCommander", Package()
        {
            "Version", 0x020600,
            "14f1_2008", Package()
            {
                "Custom Commands", Package()
                {
                    Package(){},
                    Package()
                    {
                        //Node 0x19 Set Pin Widget Control "In Enable", "VRefEn Signal Level 80%"
                        "Command", Buffer() { 0x01, 0x97, 0x07, 0x24 },
                        "On Init", ">y",
                        "On Sleep", ">n",
                        "On Wake", ">y",
                    },
                },
            },
        },
    })

//EOF

Thanks again.

codec_dump.txt

Link to comment
Share on other sites

Does anyone know the correct layout id for the Gigabyte Z390M Gaming on Catalina, because here it doesn't work properly.
Sound only works when I invert the connectors, place the sound connector on the microphone input and the microphone on the sound output.

Do I need to remove any patches?
like this? Rename HDAS to HDEF

Or boot args? -alcbeta and -lilubetaall

Or?

I try 1,2,5 and 7, and same issue.

1888202469_CapturadeTela2020-05-27as22_08_54.png.72b76c04799833d9ab9f07adb3eee25e.png

Link to comment
Share on other sites

On 5/25/2020 at 1:02 PM, khogao said:

hi all

I installed OC/catalina10.15.4 successfully on my machine and tried all the layoutid go with ALC887 with boot-args alcid=xxx as guide on  https://github.com/acidanthera/applealc/wiki/supported-codecs for my computer but without success. please let me know what should I do ?

 

my spec: Xeon 1620 V2

mobo Huananzhi Deluxe x79 chipset C600+ Intel Q65

gpu Saphirre RX 580 Nitro 8GB

4x8GB Samsung ECC 1333 DDR3

Samsung 850 EVO 250GB

 

 

15 hours ago, Monyo said:

I don't see anywhere that you've posted your specs. Please give all the needed info here.

My spec is up there :)

Link to comment
Share on other sites

On 5/24/2020 at 8:34 AM, sberla365 said:

Hi everyone, I have an issue with my HP EliteDesk 800 G3 and Conexant CX20632. I installed Catalina using OpenCore and followed the guide.

The machine has nternal speaker, combo microphone/headphone jack, plus a line-in and line-out ports (3.5 mm).

I am able to have the internal speaker and one of the two minijacks to work, depending on which layout I use (CX20632 has 23 and 28). In any case no mic.

If I drop in VoodoHDA too, I manage to see all ports but the guide says I am not supposed to use both kext.

I went through all the troubleshooting and everything seems to be in order: kext are loaded in the correct order, log reports no errors and device seems to be correctly setup.

 

I have also run a debug of lilu and AppleAlC. I attach the file here.

 

Is anybody having issues too with this codec?

Any ideas on how to fix this?

AppleALC DBG

Can anybody help with this? Is there a chance that OC and Clover require different layout-ids? With those listed on the git page I get the results described.

Link to comment
Share on other sites

50 minutes ago, MacPeet said:

@seri

 

Your computer has other nodes for HP (node 22).
ID 3, ID15, ... (node 29 for HP)

 

try this with layoutID 3:

 

trial_cx8200_layoutID3.zip

 

@MacPeet

With layoutID 3, the headphones didn't work, but headphones' mic is working(same as before). Sound is only coming from internal speakers when headphones are plugged in.

 

Should I change anything in dsdt code below???? Or remove any kext like codeccommander etc.

#define LAYOUTID 3

// inject properties for audio

    External(_SB.PCI0.HDEF, DeviceObj)
    Method(_SB.PCI0.HDEF._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "layout-id", Buffer(4) { LAYOUTID, 0, 0, 0 },
            "hda-gfx", Buffer() { "onboard-1" },
            "PinConfigurations", Buffer() { },
            "RM,disable_FakePCIID", 1,  //SKL spoof: remove or set zero
        })
    }

// CodecCommander configuration

    Name(_SB.PCI0.HDEF.RMCF, Package()
    {
        "CodecCommander", Package()
        {
            "Version", 0x020600,
            "14f1_2008", Package()
            {
                "Custom Commands", Package()
                {
                    Package(){},
                    Package()
                    {
                        //Node 0x19 Set Pin Widget Control "In Enable", "VRefEn Signal Level 80%"
                        "Command", Buffer() { 0x01, 0x97, 0x07, 0x24 },
                        "On Init", ">y",
                        "On Sleep", ">n",
                        "On Wake", ">y",
                    },
                },
            },
        },
    })

//EOF

 

Edited by seri
Link to comment
Share on other sites

On 5/26/2020 at 12:56 AM, Monyo said:

Going nuts over my laptop's Internal Speakers (Tried Everything)

Situation: No Internal Speakers output sound

 

  • Laptop -- Xiaomi RedmiBook 13 Specs:
    • i7-10510u UHD620
    • MX250
    • 8GB 2667 RAM
    • TIMI TM1921 (U3E1)  Motherboard
    • Realtek ALC256
      • All layout-ids tried.
      • Only 1 Aux Jack at the left side.
  • Bootloader and OS info:
    • OpenCore 0.5.8
    • MacOSX Catalina 10.5.4

 

 

I tried all supported codecs for ALC256. Then I found out it's an issue regarding CometLake and 256 Combo and I had a hard time fixing audio for CometLake and ALC256 but I dug deep and went into Chinese and German forums. Found only 3 people showcasing a CometLake 256 combo. 2 are Chinese with QQ contacts (very hard for me) luckily, 1 guy responded and this is his thread.

I eventually got into AppleHDA patching and then making my own layout and platform, correcting PathMap. I managed to get Internal Speakers displaying (but no sound) on Output, Mic (works, I can see movement when I speak) in Input. Switches to Headphones when plugged in (which works).

I tried every possible fix I can find. Even putting my S/L/E at risk (I reformatted already from those changes). I just somehow don't understand why the internal speakers still don't output sound.

 

I also made a Github Repository for help and credits to the people who helped me get this far. Please refer to that if you find the info in this thread lacking.

 

Attached files are my Layout and Platform XMLs, my codec dump, my Verb Data, and progress journal for patching.

 

Please don't hesitate if to ask if you need more info to be provided.

 

codec_dump.txt

Layout.zip

Info.plist

Monyo’s MacBook Pro IOReg.iojones

Monyo’s MacBook Pro.zip

 

 

Bumping this. Anyone? Any possible fix? Issue cause?

Link to comment
Share on other sites

i don't know if its ok or not but still no progress with my problem 
my receiver connected to my mac with spdif and i have only 2 channels out and no passthrough encoded digital audio
how do i make it work?
this motherboard gigabyte z390 pro doesn't have license for dts/dolby digital and so i've downloaded patched dll to my Realtek driver in win10 and now i have passthrough of digital audio to my receiver but in win10
how can i do it here too this will be the best
.thanks in advance.
Eric.
.655336874_ScreenShot2020-05-28at22_45_09.thumb.png.8fa9e0a0433a738d4e32ccc411d81597.png
   

Link to comment
Share on other sites

On 5/27/2020 at 2:38 PM, Monyo said:

I don't see anywhere that you've posted your specs. Please give all the needed info here.

Is there any info/file/log i can send here to get help with AppleALC my motherboard (P8H61-M LE/BR)?

I can help if there is

Link to comment
Share on other sites

1. HP Elitebook 840 G4
2. CX8200
3. Layout 3
4. Catalina 10.15.5

 

- Phone jack and Speakers is working

- Internal Microfone is working but slider has no effect
- Line In doesn't work
- Line in slider is controlling the Internal Microfone volume
- The Internal Microfone slides does nothing

 

How to get line in working? How to fix the Internal Microfone slider?

I'm using the last version of AppleALC.

codec_dump.txt.zip

Link to comment
Share on other sites

Hey All, back in April I reported that I was having trouble with AppleALC and no audio out on my Comet Lake laptop.  Since then I've been able to successfully use VoodooHDA, but really wanting a native codec I decided to spend some more time chipping away at this problem with AppleALC.  In my attempts to get things working with AppleALC I have added the 400 series LP controller, and my codec started up but no sound happens.  I've now found success using layout 21 and FakePCIID spoofing 0x8086 0x9DC8, everything lights up and sound works perfectly.

 

That spawned a theory that my original PR/Controller patch was incorrect as C89D0000 appears under controller #11 (WhiskeyLake Mobile PCH HD Audio).  Thinking I could correct support for my comet lake controller 0x8086 0x02C8 I replaced my original controller patch with a copy of #11 and modified the replace instances to patch for my controller.

 

Unfortunately, that didn't correct my issue.  It's loading up, and it looks like everything is fine but there's no output from the speakers or headphones.  If I switch back to the FakePCIID and reboot, everything is working again.  I also have a custom layout that works perfectly with FakePCIID but not with the controller patch.

 

Any advice on what to try next?  Logs are below, and here's a link to the patch.

 

Thanks!

 

Controller Patch:

712471938_ScreenShot2020-06-02at4_57_21PM.png.d5ff6e5c209c23a540b7edea9927cd89.png

With the controller patch:

Timestamp                       (process)[PID]
2020-06-02 15:32:50.444158-0400  localhost kernel[0]: (Lilu) AppleALC      init: @ (DBG) AppleALC bootstrap DBG-150-2020-06-02
2020-06-02 15:32:58.068308-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value
2020-06-02 15:32:58.068315-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData device-id has 2C8 value
2020-06-02 15:32:58.068321-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData revision-id has 0 value
2020-06-02 15:32:58.068327-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData alc-layout-id has 15 value
2020-06-02 15:32:58.068335-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found 2 audio controllers
2020-06-02 15:32:58.068341-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) validating 0 controller 8086:3E9B:2
2020-06-02 15:32:58.068346-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-06-02 15:32:58.068351-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-06-02 15:32:58.068356-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-06-02 15:32:58.068361-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-06-02 15:32:58.068366-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-06-02 15:32:58.068371-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-06-02 15:32:58.068376-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-06-02 15:32:58.068381-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-06-02 15:32:58.068386-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-06-02 15:32:58.068390-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-06-02 15:32:58.068396-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-06-02 15:32:58.068401-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-06-02 15:32:58.068405-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171
2020-06-02 15:32:58.068410-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0
2020-06-02 15:32:58.068415-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A1F0
2020-06-02 15:32:58.068420-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 15 mod 8086:A348
2020-06-02 15:32:58.068425-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:E0F
2020-06-02 15:32:58.068430-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB0
2020-06-02 15:32:58.068435-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB8
2020-06-02 15:32:58.068440-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FB9
2020-06-02 15:32:58.068445-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBA
2020-06-02 15:32:58.068450-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBB
2020-06-02 15:32:58.068455-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:FBC
2020-06-02 15:32:58.068460-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10EF
2020-06-02 15:32:58.068465-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F0
2020-06-02 15:32:58.068470-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 25 mod 10DE:10F1
2020-06-02 15:32:58.068475-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 26 mod 8086:6C8
2020-06-02 15:32:58.068480-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 27 mod 8086:2C8
2020-06-02 15:32:58.068485-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) validating 1 controller 8086:2C8:0
2020-06-02 15:32:58.068490-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-06-02 15:32:58.068495-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-06-02 15:32:58.068508-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-06-02 15:32:58.068514-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-06-02 15:32:58.068519-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-06-02 15:32:58.068523-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-06-02 15:32:58.068528-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-06-02 15:32:58.068533-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-06-02 15:32:58.068538-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-06-02 15:32:58.068543-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-06-02 15:32:58.068548-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-06-02 15:32:58.068553-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-06-02 15:32:58.068558-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171
2020-06-02 15:32:58.068563-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0
2020-06-02 15:32:58.068568-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A1F0
2020-06-02 15:32:58.068573-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 15 mod 8086:A348
2020-06-02 15:32:58.068578-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:E0F
2020-06-02 15:32:58.068583-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB0
2020-06-02 15:32:58.068588-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB8
2020-06-02 15:32:58.068593-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FB9
2020-06-02 15:32:58.068598-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBA
2020-06-02 15:32:58.068603-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBB
2020-06-02 15:32:58.068608-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:FBC
2020-06-02 15:32:58.068613-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10EF
2020-06-02 15:32:58.068618-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F0
2020-06-02 15:32:58.068623-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 25 mod 10DE:10F1
2020-06-02 15:32:58.068628-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 26 mod 8086:6C8
2020-06-02 15:32:58.068633-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 27 mod 8086:2C8
2020-06-02 15:32:58.068638-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found mod for 1 controller
2020-06-02 15:32:58.068643-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:32:58.068649-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 4 patches
2020-06-02 15:32:58.069774-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:32:58.069781-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 4 patches
2020-06-02 15:32:58.069787-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 0 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.069794-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 0  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070183-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 1 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070190-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 1  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070391-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 2 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070398-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 2  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070741-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 3 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.070753-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 3  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:32:58.071415-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData alc-delay was not found
2020-06-02 15:32:58.117904-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found analog codec IOHDACodecDevice
2020-06-02 15:32:58.117914-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) storing codec info for 10EC:285:100002
2020-06-02 15:32:58.117922-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ failed to find IOHDACodecVendorID, retrying 0
2020-06-02 15:32:58.117930-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found supported Realtek ALC285 codec revision 0x100002
2020-06-02 15:32:58.117936-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:32:58.117943-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 4 patches
2020-06-02 15:32:58.117949-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) will route resource loading callbacks
2020-06-02 15:32:58.117955-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 0 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.117971-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 0  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.118459-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 1 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.118465-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 2 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.118472-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 2  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.123511-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 3 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.123518-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 3  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.123879-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 4 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.123886-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 4  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.125558-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 5 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.125564-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 5  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.127294-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 6 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:32:58.143538-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData layout-id has 7 value
2020-06-02 15:32:58.143557-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) initializePinConfig AppleHDACodecGeneric received hda 0xFFFFFF802B11D4D0, config 0xFFFFFF802B1BC1E0 config name AppleHDAHardwareConfigDriver apple layout 7 codec 10EC0285 layout 21
2020-06-02 15:32:58.143580-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) discovered HDAConfigDefault with 461 entries
2020-06-02 15:32:58.143697-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) current config entry has boot 1, wake 1, reinit 1
2020-06-02 15:32:59.416471-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) layoutLoadCallback 1 0 1 15073 1
2020-06-02 15:32:59.416481-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) resource-request arrived layout
2020-06-02 15:32:59.416490-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-06-02 15:32:59.416498-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) selecting from 5 files
2020-06-02 15:32:59.416505-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 0 layout B/15
2020-06-02 15:32:59.416512-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 1 layout 15/15
2020-06-02 15:32:59.416519-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found layout at 1 index
2020-06-02 15:32:59.416527-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) layoutLoadCallback done 1 0 1 1626 1
2020-06-02 15:32:59.507002-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) platformLoadCallback 3 0 1 14921 1
2020-06-02 15:32:59.507010-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) resource-request arrived platform
2020-06-02 15:32:59.507016-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-06-02 15:32:59.507021-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) selecting from 5 files
2020-06-02 15:32:59.507026-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 0 layout B/15
2020-06-02 15:32:59.507030-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 1 layout 15/15
2020-06-02 15:32:59.507035-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found platform at 1 index
2020-06-02 15:32:59.507041-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) platformLoadCallback done 3 0 1 436 1
2020-06-02 15:33:00.800663-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 1 to 2 in from pin 1 sleep 0

With FakePCIID:

Timestamp                       (process)[PID]
2020-06-02 15:08:30.478963-0400  localhost kernel[0]: (Lilu) AppleALC      init: @ (DBG) AppleALC bootstrap DBG-150-2020-06-02
2020-06-02 15:08:39.513633-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value
2020-06-02 15:08:39.513642-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData device-id has 9DC8 value
2020-06-02 15:08:39.513648-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData revision-id has 0 value
2020-06-02 15:08:39.513654-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData alc-layout-id has 15 value
2020-06-02 15:08:39.513661-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found 2 audio controllers
2020-06-02 15:08:39.513667-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) validating 0 controller 8086:3E9B:2
2020-06-02 15:08:39.513673-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-06-02 15:08:39.513678-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-06-02 15:08:39.513683-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-06-02 15:08:39.513688-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-06-02 15:08:39.513693-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-06-02 15:08:39.513698-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-06-02 15:08:39.513703-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-06-02 15:08:39.513707-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-06-02 15:08:39.513712-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-06-02 15:08:39.513717-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-06-02 15:08:39.513722-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-06-02 15:08:39.513727-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-06-02 15:08:39.513732-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171
2020-06-02 15:08:39.513737-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0
2020-06-02 15:08:39.513742-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A1F0
2020-06-02 15:08:39.513747-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 15 mod 8086:A348
2020-06-02 15:08:39.513752-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:E0F
2020-06-02 15:08:39.513766-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB0
2020-06-02 15:08:39.513772-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB8
2020-06-02 15:08:39.513777-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FB9
2020-06-02 15:08:39.513782-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBA
2020-06-02 15:08:39.513787-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBB
2020-06-02 15:08:39.513792-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:FBC
2020-06-02 15:08:39.513797-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10EF
2020-06-02 15:08:39.513802-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F0
2020-06-02 15:08:39.513807-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 25 mod 10DE:10F1
2020-06-02 15:08:39.513812-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 26 mod 8086:6C8
2020-06-02 15:08:39.513817-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 27 mod 8086:2C8
2020-06-02 15:08:39.513822-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) validating 1 controller 8086:9DC8:0
2020-06-02 15:08:39.513827-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-06-02 15:08:39.513832-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-06-02 15:08:39.513837-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-06-02 15:08:39.513842-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-06-02 15:08:39.513847-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-06-02 15:08:39.513852-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-06-02 15:08:39.513857-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-06-02 15:08:39.513862-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-06-02 15:08:39.513867-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-06-02 15:08:39.513872-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-06-02 15:08:39.513877-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-06-02 15:08:39.513882-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-06-02 15:08:39.513887-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found mod for 1 controller
2020-06-02 15:08:39.513892-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:08:39.513898-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:9DC8 with 4 patches
2020-06-02 15:08:39.515342-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:08:39.515349-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:9DC8 with 4 patches
2020-06-02 15:08:39.515355-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 0 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.515363-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 0  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.515752-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 1 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.515759-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 1  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.515960-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 2 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.515967-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 2  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.516310-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 3 for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.516317-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 3  for 4 kext (com.apple.driver.AppleHDAController)
2020-06-02 15:08:39.516949-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) AppleGFXHDA probe for HDEF
2020-06-02 15:08:39.516962-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) avoiding AppleGFXHDA for HDEF device
2020-06-02 15:08:39.517033-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData alc-delay was not found
2020-06-02 15:08:39.542777-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found analog codec IOHDACodecDevice
2020-06-02 15:08:39.542787-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) storing codec info for 10EC:285:100002
2020-06-02 15:08:39.542796-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ failed to find IOHDACodecVendorID, retrying 0
2020-06-02 15:08:39.542804-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found supported Realtek ALC285 codec revision 0x100002
2020-06-02 15:08:39.542810-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-06-02 15:08:39.542817-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) handling 1 controller 8086:9DC8 with 4 patches
2020-06-02 15:08:39.542823-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) will route resource loading callbacks
2020-06-02 15:08:39.542829-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 0 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.542836-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 0  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.543328-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 1 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.543335-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 2 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.543341-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 2  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.548467-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 3 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.548474-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 3  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.548839-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 4 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.548845-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 4  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.550516-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 5 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.550522-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) applying patch 5  for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.552239-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking patch 6 for 3 kext (com.apple.driver.AppleHDA)
2020-06-02 15:08:39.556989-0400  localhost kernel[0]: (Lilu) AppleALC     iokit: @ (DBG) getOSData layout-id has 7 value
2020-06-02 15:08:39.557005-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) initializePinConfig AppleHDACodecGeneric received hda 0xFFFFFF803B6281F0, config 0xFFFFFF803EC7E640 config name AppleHDAHardwareConfigDriver apple layout 7 codec 10EC0285 layout 21
2020-06-02 15:08:39.557020-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) discovered HDAConfigDefault with 461 entries
2020-06-02 15:08:39.557110-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) current config entry has boot 1, wake 1, reinit 1
2020-06-02 15:08:40.380293-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) layoutLoadCallback 1 0 1 15073 1
2020-06-02 15:08:40.380300-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) resource-request arrived layout
2020-06-02 15:08:40.380306-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-06-02 15:08:40.380312-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) selecting from 5 files
2020-06-02 15:08:40.380318-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 0 layout B/15
2020-06-02 15:08:40.380323-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 1 layout 15/15
2020-06-02 15:08:40.380337-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found layout at 1 index
2020-06-02 15:08:40.380343-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) layoutLoadCallback done 1 0 1 1626 1
2020-06-02 15:08:40.465617-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) platformLoadCallback 3 0 1 14921 1
2020-06-02 15:08:40.465624-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) resource-request arrived platform
2020-06-02 15:08:40.465631-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-06-02 15:08:40.465636-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) selecting from 5 files
2020-06-02 15:08:40.465640-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 0 layout B/15
2020-06-02 15:08:40.465645-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) comparing 1 layout 15/15
2020-06-02 15:08:40.465650-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) found platform at 1 index
2020-06-02 15:08:40.465655-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) platformLoadCallback done 3 0 1 436 1
2020-06-02 15:08:41.927193-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 1 to 2 in from pin 1 sleep 0
2020-06-02 15:13:08.647470-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 2 to 1 in from pin 1 sleep 0
2020-06-02 15:24:21.717127-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 1 to 0 in from pin 1 sleep 0
2020-06-02 15:29:31.360110-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 0 to 1 in from pin 1 sleep 1
2020-06-02 15:29:31.360124-0400  localhost kernel[0]: (Lilu) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric forcing wake verbs

 

  • Thanks 2
Link to comment
Share on other sites

On 5/26/2020 at 12:56 AM, Monyo said:

Going nuts over my laptop's Internal Speakers (Tried Everything)

Situation: No Internal Speakers output sound

 

  • Laptop -- Xiaomi RedmiBook 13 Specs:
    • i7-10510u UHD620
    • MX250
    • 8GB 2667 RAM
    • TIMI TM1921 (U3E1)  Motherboard
    • Realtek ALC256
      • All layout-ids tried.
      • Only 1 Aux Jack at the left side.
  • Bootloader and OS info:
    • OpenCore 0.5.8
    • MacOSX Catalina 10.5.4

 

 

I tried all supported codecs for ALC256. Then I found out it's an issue regarding CometLake and 256 Combo and I had a hard time fixing audio for CometLake and ALC256 but I dug deep and went into Chinese and German forums. Found only 3 people showcasing a CometLake 256 combo. 2 are Chinese with QQ contacts (very hard for me) luckily, 1 guy responded and this is his thread.

I eventually got into AppleHDA patching and then making my own layout and platform, correcting PathMap. I managed to get Internal Speakers displaying (but no sound) on Output, Mic (works, I can see movement when I speak) in Input. Switches to Headphones when plugged in (which works).

I tried every possible fix I can find. Even putting my S/L/E at risk (I reformatted already from those changes). I just somehow don't understand why the internal speakers still don't output sound.

 

I also made a Github Repository for help and credits to the people who helped me get this far. Please refer to that if you find the info in this thread lacking.

 

Attached files are my Layout and Platform XMLs, my codec dump, my Verb Data, and progress journal for patching.

 

Please don't hesitate if to ask if you need more info to be provided.

 

codec_dump.txt

Layout.zip

Info.plist

Monyo’s MacBook Pro IOReg.iojones

Monyo’s MacBook Pro.zip

lspci.txt

lspcinn.txt

 

Updated my post with LSPCI log. I think this has something to do with my PCI Devices since:

  • WITH FakePCIID and fake device-id, I have sound thru my HP and Mic works.
  • WITHOUT FakePCIID audio is greyed out
  • WITHOUT fake device-id and FakePCIID: No audio and video playback but audio is not greyed out.

 

WITHOUT FakePCIID and device-id:

365981306_ScreenShot2020-06-03at11_30_51AM.png.f4d726c5aeae8f0e1770cc7c02d392c4.png

 

1344290343_ScreenShot2020-06-03at11_32_04AM.png.4889bfe9808cf59e0b22dfef3dce75b4.png

Screen Shot 2020-06-03 at 11.32.04 AM.png

 

WITH FakePCIID and device-id (Only internal speakers are not working):

image.png.a7477ade9e8753bf3dca664fb91a7836.png

Edited by Monyo
Link to comment
Share on other sites

@vit9696 Acidanthera team are there any plans to create a client like hda-verb so that verbs can be sent to the codec? 

 

I forked AppleALC and made some changes. The aim is that the CA0132 codec works without CodecCommander. My fork is a couple of commits behind the Acidanthera master, is it possible to merge the changes to my fork?

  • Like 1
Link to comment
Share on other sites

Hi colleagues,


AppleALC suddenly stopped to work and I cannot understand when. Line out sound is still working, but dp sound output device disappeared. It was working before, a few months ago or something. I didn't use sound on this computer for a while, but made a lot of upgrades during this period of time (kexts, clover, so on). Now I checked and found there's no DP in the "sound output devices" list.
Symptoms: no DisplayPort output exists in the sound settings. 

System: checked with Applealc 1.5.0, Lilu 11.4.5 and weg 1.4.0, clover 5118, both 10.14.6 and 10.15.5. gb-bri7-8550 with 8550 cpu

Everything works fine with VoodooHDA, here's the voodoohda dump:

Found a device of class VoodooHDADevice: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/VoodooHDADevice


Probing codec #0...
 HDA Codec #0: Realtek (Unknown)
 HDA Codec ID: 0x10ec0255
       Vendor: 0x10ec
       Device: 0x0255
     Revision: 0x00
     Stepping: 0x02
PCI Subvendor: 0xfa551458
	startNode=1 endNode=2
	Found audio FG nid=1 startNode=2 endNode=36 total=34

Processing audio FG cad=0 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x40000003 NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
 nid 18 0x90a60120 as  2 seq  0 Microphone    Fixed Digital N/A     Internal Unknown misc 0 NoPresenceDetect
 nid 20 0x40000000 as  0 seq  0 Line-out      None  Unknown N/A     External Unknown misc 0
 nid 23 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 24 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 25 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 26 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 27 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
Patching widget caps nid=29 0x00400400 -> 0x00700400
 nid 30 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect
 nid 33 0x01211010 as  1 seq  0 Headphones    Jack  1/8     Rear    External Black   misc 0
Parsing vendor patch...
Nodes patching. Codec = 0 
NumNodes = 2
VHDevice NID= 2 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 3 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 4 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 5 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 6 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 7 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 8 Config=00000000 (audio input   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=35
VHDevice NID= 9 Config=00000000 (audio input   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=34
VHDevice NID=10 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=11 disabled for Realtek by user info.list
VHDevice NID=12 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=2 1=11
VHDevice NID=13 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=3 1=11
VHDevice NID=14 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=15 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=13
VHDevice NID=16 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=17 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=18 Config=90a60120 (pin: Microphon) Cap=00000020 Ctrl=00000000 -- Conns:
VHDevice NID=19 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=20 Config=40000000 (pin: Line-out ) Cap=00010014 Ctrl=00000000 -- Conns: 0=12
VHDevice NID=21 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=22 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=23 Config=411111f0 (pin: Speaker () Cap=00000010 Ctrl=00000000 -- Conns: 0=15
VHDevice NID=24 Config=411111f0 (pin: Speaker () Cap=00003724 Ctrl=00000020 -- Conns:
VHDevice NID=25 Config=411111f0 (pin: Speaker () Cap=00003724 Ctrl=00000020 -- Conns:
VHDevice NID=26 Config=411111f0 (pin: Speaker () Cap=00003724 Ctrl=00000000 -- Conns:
VHDevice NID=27 Config=411111f0 (pin: Speaker () Cap=0001373c Ctrl=00000020 -- Conns: 0=12 1=13
VHDevice NID=28 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=29 Config=00000000 (beep widget   ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=30 Config=411111f0 (pin: Speaker () Cap=00000014 Ctrl=00000040 -- Conns: 0=6
VHDevice NID=31 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=32 Config=00000000 (vendor widget ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID=33 Config=01211010 (pin: Headphone) Cap=0001001c Ctrl=00000000 -- Conns: 0=12 1=13
VHDevice NID=34 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=24 1=25 2=26 3=27 4=29 5=11
VHDevice NID=35 Config=00000000 (audio mixer   ) Cap=00000000 Ctrl=00000000 -- Conns: 0=24 1=25 2=26 3=27 4=29 5=11 6=18
Parsing Ctls...
Disabling nonaudio...
Disabling useless...
 Disabling control 9 nid 20 cnid -1 due to disabled widget.
 Disabling control 10 nid 23 cnid -1 due to disabled widget.
 Disabling control 11 nid 24 cnid -1 due to disabled widget.
 Disabling control 12 nid 25 cnid -1 due to disabled widget.
 Disabling control 13 nid 26 cnid -1 due to disabled widget.
 Disabling control 14 nid 27 cnid -1 due to disabled widget.
 Disabling control 15 nid 27 cnid -1 due to disabled widget.
 Disabling control 17 nid 34 cnid 24 due to disabled widget.
 Disabling control 18 nid 34 cnid 25 due to disabled widget.
 Disabling control 19 nid 34 cnid 26 due to disabled widget.
 Disabling control 20 nid 34 cnid 27 due to disabled widget.
 Disabling control 22 nid 35 cnid 24 due to disabled widget.
 Disabling control 23 nid 35 cnid 25 due to disabled widget.
 Disabling control 24 nid 35 cnid 26 due to disabled widget.
 Disabling control 25 nid 35 cnid 27 due to disabled widget.
 Disabling nid 12 connection 1 due to disabled child widget.
 Disabling nid 13 connection 1 due to disabled child widget.
 Disabling nid 15 due to all it's consumers disabled.
 Disabling nid 34 connection 5 due to disabled child widget.
 Disabling nid 35 connection 5 due to disabled child widget.
 Disabling control 7 nid 15 cnid 13 due to disabled widget.
Patched pins configuration:
 nid 18 0x90a60120 as  2 seq  0 Microphone    Fixed Digital N/A     Internal Unknown misc 0 NoPresenceDetect
 nid 20 0x40000000 as  0 seq  0 Line-out      None  Unknown N/A     External Unknown misc 0 [DISABLED]
 nid 23 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 24 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 25 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 26 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 27 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 30 0x411111f0 as 15 seq  0 Speaker       None  1/8     Rear    External Black   misc 0 NoPresenceDetect [DISABLED]
 nid 33 0x01211010 as  1 seq  0 Headphones    Jack  1/8     Rear    External Black   misc 0
Parsing pin associations...
2 associations found:
Association 0 (1) out:
 Pin nid=33 seq=0
   Redir type=-1 jack=0 def=0
Association 1 (2) in:
 Pin nid=18 seq=0
   Redir type=-1 jack=-1 def=0
Building AFG tree...
Tracing association 0 (1)
 Tracing pin 33 with min nid 0
    nid 2 returned 2
   nid 12 returned 2
    nid 3 returned 3
   nid 13 returned 3
  nid 33 returned 2
 Pin 33 traced to DAC 2
Association 0 (1) trace succeeded
Tracing association 1 (2)
 Tracing pin 18 to ADC 8
  tracing via nid 18
   tracing via nid 35
    tracing via nid 8
    nid 8 returned 1
   nid 35 returned 1
  nid 18 returned 1
 Pin 18 traced to ADC 8
Association 1 (2) trace succeeded
Tracing input monitor
 Tracing nid mix 35 to out
  tracing via nid 35
   tracing via nid 8
   nid 8 busy by input association 1
  nid 35 returned 0
Tracing other input monitors
 Tracing nid complex 18 to out
  tracing via nid 18
   tracing via nid 35
   nid 35 busy by input association 1
  nid 18 returned 0
Tracing beeper
 Tracing nid 29 to out
  tracing via nid 29
   tracing via nid 34
    tracing via nid 9
    nid 9 returned 0
   nid 34 returned 0
   tracing via nid 35
   nid 35 busy by input association 1
  nid 29 returned 0
Disabling unassociated widgets...
Disabling nonselected inputs...
Disabling useless...
 Disabling control 2 nid 3 cnid -1 due to disabled widget.
 Disabling control 4 nid 9 cnid -1 due to disabled widget.
 Disabling control 6 nid 13 cnid 3 due to disabled widget.
 Disabling control 21 nid 34 cnid 29 due to disabled widget.
Disabling crossassociated connections...
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
Creating PCM devices...
pcmAttach: HDA Realtek (Unknown) PCM #0 Analog at cad 0 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0060
                 16 20 24 bits, 44 48 KHz
            DAC: 2

Record:

     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
            ADC: 8

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=33 [pin: Headphones (Black Rear)]
      |
      + <- nid=12 [audio mixer] [src: mix] bindSeq=00000001

             |
             + <- nid=2 [audio output] [src: pcm] bindSeq=00000001


Record:

    nid=8 [audio input]
      |
      + <- nid=35 [audio mixer] [src: mix] bindSeq=00000001

             |
             + <- nid=29 [beep widget]
             + <- nid=18 [pin: Microphone (Digital)] [src: monitor] bindSeq=00000001


Input Mix:

    nid=12 [audio mixer]
      |
      + <- nid=2 [audio output] [src: pcm] bindSeq=00000001


    nid=35 [audio mixer]
      |
      + <- nid=29 [beep widget]
      + <- nid=18 [pin: Microphone (Digital)] [src: monitor] bindSeq=00000001


+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
   |
   +- control  1 (nid   2 out):    dir - out oss: vol, pcm, mix -65/+0dB (88 steps)
   +- control  5 (nid  12 in   0): dir - out oss: vol, pcm, mix mute
   +- control 16 (nid  33 out):    dir - out oss: vol, mix mute

PCM Volume (OSS: pcm)
   |
   +- control  1 (nid   2 out):    dir - out oss: vol, pcm, mix -65/+0dB (88 steps)
   +- control  5 (nid  12 in   0): dir - out oss: vol, pcm, mix mute

Microphone2 Volume (OSS: monitor)
   |
   +- control  8 (nid  18 in   0): dir - in oss: monitor +0/+30dB (4 steps)
   +- control 27 (nid  35 in   6): dir - in oss: rec, monitor mute

Speaker/Beep Volume (OSS: speaker)
   |
   +- control 26 (nid  35 in   4): dir - in oss: speaker, rec mute

Recording Level (OSS: rec)
   |
   +- control  3 (nid   8 in   0): dir - in oss: mix, rec -17/+30dB (64 steps) + mute
   +- control 26 (nid  35 in   4): dir - in oss: speaker, rec mute
   +- control 27 (nid  35 in   6): dir - in oss: rec, monitor mute

Input Mix Level (OSS: mix)
   |
   +- control  1 (nid   2 out):    dir - out oss: vol, pcm, mix -65/+0dB (88 steps)
   +- control  3 (nid   8 in   0): dir - in oss: mix, rec -17/+30dB (64 steps) + mute
   +- control  5 (nid  12 in   0): dir - out oss: vol, pcm, mix mute
   +- control 16 (nid  33 out):    dir - out oss: vol, mix mute

OSS mixer initialization...
Registering PCM channels...
FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
HP switch init...

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
         IN amp: 0x00000000
        OUT amp: 0x00000000

            nid: 2
           Name: audio output
     Widget cap: 0x0000041d
                 PWR FORMAT_OVR AMP_OVR OUT_AMP STEREO
    Association: 0 (0x00000001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0060
                 16 20 24 bits, 44 48 KHz
     Output amp: 0x00025757
                 mute=0 step=87 size=2 offset=87
     Output val: [0x38 0x38]

            nid: 3 [DISABLED]
           Name: audio output
     Widget cap: 0x0000041d
                 PWR FORMAT_OVR AMP_OVR OUT_AMP STEREO
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0060
                 16 20 24 bits, 44 48 KHz
     Output amp: 0x00025757
                 mute=0 step=87 size=2 offset=87
     Output val: [0x00 0x00]

            nid: 4 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 5 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 6 [DISABLED]
           Name: audio output
     Widget cap: 0x00000611
                 PWR DIGITAL FORMAT_OVR STEREO
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e05e0
                 16 20 24 bits, 44 48 88 96 192 KHz

            nid: 7 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 8
           Name: audio input
     Widget cap: 0x0010051b
                 PWR FORMAT_OVR AMP_OVR IN_AMP STEREO
    Association: 1 (0x00000001)
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
      Input amp: 0x80023f17
                 mute=1 step=63 size=2 offset=23
      Input val: [0x33 0x33] 
    connections: 1 enabled 1
          |
          + <- nid=35 [audio mixer]

            nid: 9 [DISABLED]
           Name: audio input
     Widget cap: 0x0010051b
                 PWR FORMAT_OVR AMP_OVR IN_AMP STEREO
     Stream cap: 0x00000001
                 PCM
        PCM cap: 0x000e0560
                 16 20 24 bits, 44 48 96 192 KHz
      Input amp: 0x80023f17
                 mute=1 step=63 size=2 offset=23
      Input val: [0x80 0x80] 
    connections: 1 enabled 1
          |
          + <- nid=34 [audio mixer] [DISABLED]

            nid: 10 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 11 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010b
                 AMP_OVR IN_AMP STEREO
      Input amp: 0x80051f17
                 mute=1 step=31 size=5 offset=23
      Input val: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] 
    connections: 5 enabled 5
          |
          + <- nid=24 [pin: Speaker (None)] [DISABLED]
          + <- nid=25 [pin: Speaker (None)] [DISABLED]
          + <- nid=26 [pin: Speaker (None)] [DISABLED]
          + <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]

            nid: 12
           Name: audio mixer
     Widget cap: 0x0020010b
                 AMP_OVR IN_AMP STEREO
    Association: 0 (0x00000001)
            OSS: mix (mix)
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x00 0x00] [0x80 0x80] 
    connections: 2 enabled 1
          |
          + <- nid=2 [audio output]
          + [DISABLED] <- nid=11 [audio mixer] [DISABLED]

            nid: 13 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010b
                 AMP_OVR IN_AMP STEREO
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x80 0x80] [0x80 0x80] 
    connections: 2 enabled 1
          |
          + <- nid=3 [audio output] [DISABLED]
          + [DISABLED] <- nid=11 [audio mixer] [DISABLED]

            nid: 14 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 15 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010a
                 AMP_OVR IN_AMP
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x80 0x80] 
    connections: 1 enabled 1
          |
          + <- nid=13 [audio mixer] [DISABLED]

            nid: 16 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 17 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 18
           Name: pin: Microphone (Digital)
     Widget cap: 0x0040040b
                 PWR AMP_OVR IN_AMP STEREO
    Association: 1 (0x00000001)
            OSS: monitor (monitor)
        Pin cap: 0x00000020
                 IN
     Pin config: 0x90a60120
    Pin control: 0x00000020 IN
      Input amp: 0x00270300
                 mute=0 step=3 size=39 offset=0
      Input val: [0x02 0x02] 

            nid: 19 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 20 [DISABLED]
           Name: pin: Line-out (None)
     Widget cap: 0x0040058d
                 PWR UNSOL AMP_OVR OUT_AMP STEREO
        Pin cap: 0x00010014
                 PDC OUT EAPD
     Pin config: 0x40000000
    Pin control: 0x00000000
           EAPD: 0x00000002
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
    connections: 1 enabled 1
          |
          + <- nid=12 [audio mixer]

            nid: 21 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 22 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 23 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040050c
                 PWR AMP_OVR OUT_AMP
        Pin cap: 0x00000010
                 OUT
     Pin config: 0x411111f0
    Pin control: 0x00000000
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
    connections: 1 enabled 1
          |
          + <- nid=15 [audio mixer] [DISABLED]

            nid: 24 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040048b
                 PWR UNSOL AMP_OVR IN_AMP STEREO
        Pin cap: 0x00003724
                 PDC IN VREF[ 50 80 100 GROUND HIZ ]
     Pin config: 0x411111f0
    Pin control: 0x00000000
      Input amp: 0x00270300
                 mute=0 step=3 size=39 offset=0
      Input val: [0x00 0x00] 

            nid: 25 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040048b
                 PWR UNSOL AMP_OVR IN_AMP STEREO
        Pin cap: 0x00003724
                 PDC IN VREF[ 50 80 100 GROUND HIZ ]
     Pin config: 0x411111f0
    Pin control: 0x00000000
      Input amp: 0x00270300
                 mute=0 step=3 size=39 offset=0
      Input val: [0x00 0x00] 

            nid: 26 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040048b
                 PWR UNSOL AMP_OVR IN_AMP STEREO
        Pin cap: 0x00003724
                 PDC IN VREF[ 50 80 100 GROUND HIZ ]
     Pin config: 0x411111f0
    Pin control: 0x00000000
      Input amp: 0x00270300
                 mute=0 step=3 size=39 offset=0
      Input val: [0x00 0x00] 

            nid: 27 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x0040058f
                 PWR UNSOL AMP_OVR OUT_AMP IN_AMP STEREO
        Pin cap: 0x0001373c
                 PDC HP OUT IN VREF[ 50 80 100 GROUND HIZ ] EAPD
     Pin config: 0x411111f0
    Pin control: 0x00000000
           EAPD: 0x00000002
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x80 0x80]
      Input amp: 0x00270300
                 mute=0 step=3 size=39 offset=0
      Input val: [0x00 0x00] 
    connections: 2 enabled 2
          |
          + <- nid=12 [audio mixer] (selected)
          + <- nid=13 [audio mixer] [DISABLED]

            nid: 28 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 29
           Name: beep widget
     Widget cap: 0x00700400
                 PWR
    Association: -2 (0x00000000)
            OSS: speaker (speaker)

            nid: 30 [DISABLED]
           Name: pin: Speaker (None)
     Widget cap: 0x00400781
                 PWR DIGITAL UNSOL STEREO
        Pin cap: 0x00000014
                 PDC OUT
     Pin config: 0x411111f0
    Pin control: 0x00000000
    connections: 1 enabled 1
          |
          + <- nid=6 [audio output] [DISABLED]

            nid: 31 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00000

            nid: 32 [DISABLED]
           Name: vendor widget
     Widget cap: 0x00f00040
                 PROC

            nid: 33
           Name: pin: Headphones (Black Rear)
     Widget cap: 0x0040058d
                 PWR UNSOL AMP_OVR OUT_AMP STEREO
    Association: 0 (0x00000001)
        Pin cap: 0x0001001c
                 PDC HP OUT EAPD
     Pin config: 0x01211010
    Pin control: 0x000000c0 HP OUT
           EAPD: 0x00000002
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
    connections: 2 enabled 1
          |
          + <- nid=12 [audio mixer] (selected)
          + [DISABLED] <- nid=13 [audio mixer] [DISABLED]

            nid: 34 [DISABLED]
           Name: audio mixer
     Widget cap: 0x0020010b
                 AMP_OVR IN_AMP STEREO
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] 
    connections: 6 enabled 1
          |
          + [DISABLED] <- nid=24 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]
          + [DISABLED] <- nid=11 [audio mixer] [DISABLED]

            nid: 35
           Name: audio mixer
     Widget cap: 0x0020010b
                 AMP_OVR IN_AMP STEREO
    Association: 1 (0x00000001)
            OSS: mix (mix)
      Input amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
      Input val: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x00 0x00] 
    connections: 7 enabled 2
          |
          + [DISABLED] <- nid=24 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
          + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
          + <- nid=29 [beep widget]
          + [DISABLED] <- nid=11 [audio mixer] [DISABLED]
          + <- nid=18 [pin: Microphone (Digital)]


Probing codec #2...
 HDA Codec #2: Intel Kabylake HDMI
 HDA Codec ID: 0x8086280b
       Vendor: 0x8086
       Device: 0x280b
     Revision: 0x00
     Stepping: 0x00
PCI Subvendor: 0xfa551458
	startNode=1 endNode=2
	Found audio FG nid=1 startNode=2 endNode=4 total=2

Processing audio FG cad=2 nid=1...
Powering up...
Parsing audio FG...
GPIO: 0x00000000 NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
 nid  3 0x18560010 as  1 seq  0 Digital-out   Jack  Digital Special Internal Unknown misc 0
Parsing vendor patch...
Nodes patching. Codec = 2 
NumNodes = 2
VHDevice NID= 2 Config=00000000 (audio output  ) Cap=00000000 Ctrl=00000000 -- Conns:
VHDevice NID= 3 Config=18560010 (pin: Digital-o) Cap=09000094 Ctrl=00000000 -- Conns: 0=2
Parsing Ctls...
Disabling nonaudio...
Disabling useless...
Patched pins configuration:
 nid  3 0x18560010 as  1 seq  0 Digital-out   Jack  Digital Special Internal Unknown misc 0
Parsing pin associations...
1 associations found:
Association 0 (1) out:
 Pin nid=3 seq=0
   Redir type=-1 jack=0 def=0
Building AFG tree...
Tracing association 0 (1)
 Tracing pin 3 with min nid 0
   nid 2 returned 2
  nid 3 returned 2
 Pin 3 traced to DAC 2
Association 0 (1) trace succeeded
Tracing input monitor
Tracing beeper
Disabling unassociated widgets...
Disabling nonselected inputs...
Disabling useless...
Disabling crossassociated connections...
Disabling useless...
Binding associations to channels...
Assigning names to signal sources...
Assigning mixers to the tree...
Preparing pin controls...
AFG commit...
Creating PCM devices...
pcmAttach: HDA Intel Kabylake HDMI PCM #0 DisplayPort at cad 2 nid 1
+--------------------------------------+
| DUMPING PCM Playback/Record Channels |
+--------------------------------------+

Playback:

     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x001a07f0
                 16 24 32 bits, 32 44 48 88 96 176 192 KHz
            DAC: 2

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=3 [pin: Digital-out (HDMI)]
      |
      + <- nid=2 [audio output] [src: pcm] bindSeq=00000001


+-------------------------+
| DUMPING Volume Controls |
+-------------------------+

Master Volume (OSS: vol)
   |
   +- control  1 (nid   3 out):    dir - out oss: vol, pcm mute

PCM Volume (OSS: pcm)
   |
   +- control  1 (nid   3 out):    dir - out oss: vol, pcm mute

OSS mixer initialization...
Registering PCM channels...
FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
HP switch init...

+-------------------+
| DUMPING HDA NODES |
+-------------------+

Default Parameter
-----------------
         IN amp: 0x00000000
        OUT amp: 0x00000000

            nid: 2
           Name: audio output
     Widget cap: 0x00006611
                 PWR DIGITAL FORMAT_OVR 8CH
    Association: 0 (0x00000001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005
                 AC3 PCM
        PCM cap: 0x001a07f0
                 16 24 32 bits, 32 44 48 88 96 176 192 KHz

            nid: 3
           Name: pin: Digital-out (HDMI)
     Widget cap: 0x0040778d
                 CP PWR DIGITAL UNSOL AMP_OVR OUT_AMP 8CH
    Association: 0 (0x00000001)
        Pin cap: 0x09000094
                 PDC OUT HDMI DP HBR
     Pin config: 0x18560010
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000
                 mute=1 step=0 size=0 offset=0
     Output val: [0x00 0x00]
    connections: 1 enabled 1
          |
          + <- nid=2 [audio output]

How to fix that? Thank you.

Edited by viktr
Link to comment
Share on other sites

Could someone outline how do Platforms and Layout xml files get created?

I have the dump, sanitized it with PinConfigurator, and exported my changes into PinConfigs.kext, but right there it is unclear to me how to generate Platforms and Layout xmls.

Link to comment
Share on other sites

Hi guys, i'm using a Matebook 13 2019
Codec is AppleAlc256
a lot of layout working, but none of this make headphones jack working(even with ComboJack Fix from there https://github.com/Heporis/ComboJack).

The only layout that change something is the 28
With 28, i have two audio input sources, headphones and internal speaker.
With headphones have crackly sound(fixed with Combojack fix) and no mic working.
I cant live without mic, but the problems is that laptop boots with selected external input, so on every boot i have to switch from internal to external.

ps: i wanted to attach plist with infos, but the tool in the first post it's no longer available.
Attached codec dump of ubuntu(in which headphones it doesn't work too)
Fixed ubuntu headphones jack with this commands(attached code)

Any help is much appreciated :D

cat /etc/modprobe.d/sound.conf
options snd_hda_intel model=dell-headset-mult

 

codec_dump.txt

Link to comment
Share on other sites

I am running Catalina 10.15.5 on a NUC8i5BEH.  I use Kext updater to monitor changes.  I recently was alerted of the updated from AppleALC 1.4.9 to 1.5.0.  When I downloaded the new version and placed it in my EFI/clover directory, I no longer had sound (it seems the entire sound system was not detected).  I put back 1.4.9 and everything works fine. I am wondering if it might be a bug in the newer version?  Is there any additional info I can share?

Link to comment
Share on other sites

Guys, need help with getting audio work on latest NUC10 Frost Canyon.

History - none of layouts under ALC256 folder of AppleALC did work, so we need a long way...

So far I was lucky to hear the sound with VoodooHDA.kext and AppleHDADisabler.kext, both from headphone jack and HDMI audio plus microphone works. At the same time there is an aim to get it working with AppleALC.

What I've already done:

  1. There is a Voodoo_dump.txt output from getdump tool 
  2. There is a Platforms.xml generated by GetDumpXML tool
  3. I prepared info.plist for PinConfigs.kext 
  4. I prepared layout12.xml for my config (used a sample file and changed CodecID as instructed)
  5. I added my Platforms and Layout to info.plist inside ALC256 folder (but I have no idea if I need to add special patches)
  6. Finally I even could build a new AppleALC.kext (enclosed) with the above Platforms.xml (renaming to Platforms12.xml) & layout12.xml
  7. Then I switched back to AppleALC
  8. MacOS starts and I see the needed sound input/output with alc-layout-id=0C000000 (alcid=12) injected, but there is no sound anywhere but MIC works

Looks like there is something little to remain to get audio working - please advise and help.

 

PS: is there anybody from AppleLife.ru forum here? I tried to sign up and to ask there but can't receive a confirmation email to activate account.

Screen Shot 2020-06-13 at 11.45.14 AM.png

Screen Shot 2020-06-13 at 11.45.26 AM.png

Screen Shot 2020-06-13 at 11.55.37 AM.png

IOReg.zip

PlatformsLayoutsDump.zip

AppleALC.kext.zip

Edited by zavrus
Link to comment
Share on other sites

@phuanh004

 

This is like on-the-fly for your computer with AppleALC / Lilu.

Delete realtekALC.kext in the clover!
Delete all KextToPatch eggs for audio (AppleHDA) in the clover!

try this in Clover / kexts / other:

change Inject LayoutID 3 to ID15
In DSDT or SSDT hexadecimal layoutid = 0F000000
or as a boot flag
alcid=15

 

trial_alc290_layoutID15.zip

  • Thanks 1
Link to comment
Share on other sites

1. Asus Zenbook Pro UX501VW laptop

2. ALC668 codec

3. AppleALC 1.5.0 + CodecCommander

4. macOS Catalina 10.15.4

 

Available layouts: 3, 20, 27, 28, 29

 

Speakers/Headphones work on all layouts, but

 

Layout 27 -  only layout with a working internal microphone - but when clicking several times the speaker icon in the menu bar, the sound devices and sound preferences don't show, only volume slider

 

Speaker-Icon.png.570c547ac96a87512560bf9bfaf22162.png

 

Layout 28 - only layout showing sound devices and sound preferences when clicking the speaker icon in the menu bar - but has internal speakers twice and no Line-in

 

Files: ALC668 Codec dump + IOReg

CodecDump_IOReg.zip

Link to comment
Share on other sites

×
×
  • Create New...