polyzargone Posted January 1, 2025 Share Posted January 1, 2025 (edited) Hello @Fortitude Thanks for your reply. I have no working key in macOS to mute/unmute mic but I just made new linux dumps with Mute key ON and OFF. You'll find them in attachment. Only difference I see in those is there (data=0/1): Mute OFF GPIO: io=3, o=0, i=0, unsolicited=1, wake=0 IO[0]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0 Mute ON GPIO: io=3, o=0, i=0, unsolicited=1, wake=0 IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0 Also, I tried to use a headphone as a mic and it works even if the sound quality is awful. Here's some screenshots: Auto switch from speakers to headphones Internal Speakers which works with layout-id 33/66/71 Jack as a mic which works Internal mic which doesn't work linux_dump_mute_off.txt linux_dump_mute_on.txt Edited January 1, 2025 by polyzargone Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2829288 Share on other sites More sharing options...
Fortitude Posted January 1, 2025 Share Posted January 1, 2025 (edited) @polyzargone I had a feeling that the external mic and speakers/headphones would work. Don't want to steer you in the wrong direction, but my guess is that the internal microphone is wired correctly for all of the layout-ids except 61 and 88. You'll likely need to figure out a verb command to enable it, or make sure the mute/unmute keyboard shortcut is done correctly. You'll need to download AppleALC, and place alc-verb in /usr/local/bin in order to send verb commands to the codec. You might need to run this command afterwards: sudo xattr -d com.apple.quarantine /usr/local/bin/alc-verb Follow this guide, and/or see if two of these verb commands will allow you to switch from the internal/external mic. alc-verb 0x21 SET_EAPD_BTLENABLE 0x0 alc-verb 0x21 SET_EAPD_BTLENABLE 0x2 alc-verb 0x17 SET_PIN_WIDGET_CONTROL 0x40 alc-verb 0x19 SET_PIN_WIDGET_CONTROL 0x24 alc-verb 0x1d SET_PIN_WIDGET_CONTROL 0x20 alc-verb 0x1e SET_PIN_WIDGET_CONTROL 0x40 alc-verb 0x21 SET_PIN_WIDGET_CONTROL 0xc0 alc-verb 0x12 SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x13 SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x14 SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x16 SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x18 SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x1a SET_PIN_WIDGET_CONTROL 0x0 alc-verb 0x1b SET_PIN_WIDGET_CONTROL 0x0 I also see that the latest commit for layout-id 66 fixes a speaker mute disabled issue. It corresponds to this ALCPlugFix script with some additional verb commands that you can try. Finally, here's a graphical representation of your codec. I'm hoping that the internal mic is your Line Out because I doubt it's a modem or another speaker. Edited January 1, 2025 by Fortitude Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2829290 Share on other sites More sharing options...
MacPeet Posted January 1, 2025 Share Posted January 1, 2025 Hallo @polyzargone I have experimented with these devices many times. These new dual array microphones do not work with macOS and AppleALC. On this laptop, use either headphones on LineIn, BT Apple AirPods or Logitech USB webcam with mic! Internal mics are not compatible. 1 Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2829298 Share on other sites More sharing options...
polyzargone Posted January 1, 2025 Share Posted January 1, 2025 Hello @MacPeet Thanks for the feedback because I was getting nowhere with what @Fortitude proposed (don't mistake me, I'm very grateful for the help though). I just need to replace my Intel AX210 WIFI combo card with a Broadcom one so I can use my AirPods as a workaround Anyway, thanks both for the help! Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2829299 Share on other sites More sharing options...
PG7 Posted January 18 Share Posted January 18 Good morning team, Could someone create an Apple ALC ID layout for this codec where the internal microphone works? Thank you in advance. (Google Translate) codec0_dump.txt Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2846586 Share on other sites More sharing options...
PG7 Posted January 18 Share Posted January 18 30 minutes ago, verdazil said: @PG7, ALC256 - this is a codec that is standardly supported by https://github.com/acidanthera/AppleALC/releases/tag/1.9.6. No additional steps are required (except for macOS Tahoe) The audio works on the All In One speakers, but the internal microphone does NOT work on any of them! My request is specifically to repair the INTERNAL MICROPHONE. Thank you for your reply. Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2846589 Share on other sites More sharing options...
PG7 Posted January 18 Share Posted January 18 (edited) 3 hours ago, verdazil said: @PG7, apparently, other layout IDs need to be tested for this codec. Regarding those that aren't marked, the audio works but the internal microphone doesn't. I've already tested them all! Edited January 18 by PG7 Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2846592 Share on other sites More sharing options...
shl628 Posted January 19 Share Posted January 19 (edited) 16 hours ago, PG7 said: Regarding those that aren't marked, the audio works but the internal microphone doesn't. I've already tested them all! Hello. Have you checked to see if your built-in microphone is an Intel Smart Sound Technology device? Built-in microphones using Intel Smart Sound Technology are not supported on macOS and cannot be used because they don't work with AppleALC.kext. Edited January 19 by shl628 Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2846629 Share on other sites More sharing options...
PG7 Posted January 21 Share Posted January 21 Hello, unfortunately that's exactly the case. Thank you for clarifying. Spoiler Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2846754 Share on other sites More sharing options...
kgp Posted April 28 Share Posted April 28 Hi everyone, quick question regarding codec mapping and layout on X299: On my ASUS X299 Sage 10G (S1220A 7.1), the codec is reported as 0x10EC1168 when using AppleALC and currently works with layout-id 2. SPDIF and basic stereo output are working fine. However, I have not yet verified the full 7.1 channel mapping, so I am not sure whether all rear/side/center/sub outputs are correctly assigned with this layout. Given that AppleALC provides board-specific layouts for some ASUS boards (e.g. ALCS1200A / ALCS1220A entries), I was wondering whether the current S1220A → ALC1168 mapping is considered sufficient for X299, or if a dedicated S1220A/X299 Sage 10G layout is available or might be worth considering. This is not a bug report, as basic audio is working fine — just asking for completeness and consistency. Thanks, KGP 1 Link to comment https://www.insanelymac.com/forum/topic/311293-applealc-%E2%80%94-dynamic-applehda-patching/page/217/#findComment-2849601 Share on other sites More sharing options...
Recommended Posts