Contribute
Register

ALC3266 (10ec0298) files for AppleHDAPatcher

Status
Not open for further replies.
Joined
May 16, 2011
Messages
178
Hi Mirone,

I use this kext for my ALC3266 of XPS9550. It works well for speaker but sound bad in earphone and mic does not work. Can you help me for this?
BTW, I patched DSDT with Layout-ID=3.
try this:
 

Attachments

  • AppleHDA-274.9-ALC298.zip
    1.6 MB · Views: 128
Joined
Oct 25, 2015
Messages
32
Motherboard
Dell XPS 9550(Clover UEFI)
CPU
i7-6700HQ/HM170
Graphics
Intel HD530,nVIDIA Geforce GTX960M , 3840x2160
Mac
Classic Mac
Mobile Phone
error post ,sorry
 

Attachments

  • Screen Shot 2016-06-07 at 11.12.50 AM.png
    Screen Shot 2016-06-07 at 11.12.50 AM.png
    2.9 MB · Views: 277
Joined
Jan 11, 2015
Messages
22
try this:
I tested this audio patch out for the XPS 15 and the audio is muffled and distorted and only seems to work through headphones for some reason. I tried your previous patch and my computer didn't like it but I just realised that was an Kext for 10.11.4 and not 10.11.5 so of course it wouldn't work :p
 
Joined
Dec 11, 2012
Messages
14
Motherboard
Dell Latitude 7480
CPU
i7-7600U
Graphics
Intel HD 620 (1920x1080)
Mac
  1. MacBook Pro
Try shifting the headphone balance to the left.
 
Joined
Jul 27, 2013
Messages
6
Motherboard
Razer Blade Stealth 2016
CPU
i7 6500u
Graphics
HD520
I confirm that moving the balance to the left (or right) do remove the distortion in headphone. However it only works with 4-connector (TRRS) audio jack; classic 3-connectors (TRS) still suffer from noise.

Edit : Solution from RehabMan to place the laptop in sleep, then wake it with the headphone plugged in does resolve the issue with both TRRS and TRS audio jack.
 
Last edited:
Joined
Jul 27, 2013
Messages
6
Motherboard
Razer Blade Stealth 2016
CPU
i7 6500u
Graphics
HD520
So I played with hda-verb and here is a permanent fix to get rid of the distorted sound with the headphone (on ALC298).

The sleep/wake did the job, and actually even without headphone plugged, but it always nice to get everything working right away :)

For some reason, we have to (re)send a double Reset on Init (0x01 SET_CODEC_RESET 0x00) before, and in addition to the jack sense fix (0x21 SET_UNSOLICITED_ENABLE 0x83).

Here is the code for CodecCommander.

HTML:
<dict>
<key>Check Infinitely</key>
<false/>
<key>Check Interval</key>
<integer>3000</integer>
<key>Custom Commands</key>
<array>
    <dict>
        <key>Command</key>
        <data>
        ABf/AA==
        </data>
        <key>Comment</key>
        <string>0x01 SET_CODEC_RESET 0x00</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <false/>
    </dict>
    <dict>
        <key>Command</key>
        <data>
        ABf/AA==
        </data>
        <key>Comment</key>
        <string>0x01 SET_CODEC_RESET 0x00</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <false/>
    </dict>
    <dict>
        <key>Command</key>
        <data>
        AhcIgw==
        </data>
        <key>Comment</key>
        <string>0x21 SET_UNSOLICITED_ENABLE 0x83</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <true/>
    </dict>
</array>
<key>Perform Reset</key>
<true/>
<key>Perform Reset on EAPD Fail</key>
<false/>
<key>Perform Reset on External Wake</key>
<true/>
<key>Send Delay</key>
<integer>300</integer>
<key>Sleep Nodes</key>
<true/>
<key>Update Nodes</key>
<true/>
</dict>
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
186,497
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
So I played with hda-verb and here is a permanent fix to get rid of the distorted sound with the headphone (on ALC298).

The sleep/wake did the job, and actually even without headphone plugged, but it always nice to get everything working right away :)

For some reason, we have to (re)send a double Reset on Init (0x01 SET_CODEC_RESET 0x00) before, and in addition to the jack sense fix (0x21 SET_UNSOLICITED_ENABLE 0x83).

Here is the code for CodecCommander.

HTML:
<dict>
<key>Check Infinitely</key>
<false/>
<key>Check Interval</key>
<integer>3000</integer>
<key>Custom Commands</key>
<array>
    <dict>
        <key>Command</key>
        <data>
        ABf/AA==
        </data>
        <key>Comment</key>
        <string>0x01 SET_CODEC_RESET 0x00</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <false/>
    </dict>
    <dict>
        <key>Command</key>
        <data>
        ABf/AA==
        </data>
        <key>Comment</key>
        <string>0x01 SET_CODEC_RESET 0x00</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <false/>
    </dict>
    <dict>
        <key>Command</key>
        <data>
        AhcIgw==
        </data>
        <key>Comment</key>
        <string>0x21 SET_UNSOLICITED_ENABLE 0x83</string>
        <key>On Init</key>
        <true/>
        <key>On Sleep</key>
        <false/>
        <key>On Wake</key>
        <true/>
    </dict>
</array>
<key>Perform Reset</key>
<true/>
<key>Perform Reset on EAPD Fail</key>
<false/>
<key>Perform Reset on External Wake</key>
<true/>
<key>Send Delay</key>
<integer>300</integer>
<key>Sleep Nodes</key>
<true/>
<key>Update Nodes</key>
<true/>
</dict>

You should create an SSDT for CodecCommander with your custom configuration. Refer to the examples. I'll add it to the repo.
 
Joined
Jul 27, 2013
Messages
6
Motherboard
Razer Blade Stealth 2016
CPU
i7 6500u
Graphics
HD520
You should create an SSDT for CodecCommander with your custom configuration. Refer to the examples. I'll add it to the repo.

Here is attached.

Edit : 0x1 SET_POWER_STATE 0x03 also needed.
 

Attachments

  • SSDT-ALC298.dsl
    1.9 KB · Views: 108
Last edited:
Joined
Jul 27, 2013
Messages
6
Motherboard
Razer Blade Stealth 2016
CPU
i7 6500u
Graphics
HD520
@RehabMan

Good news, it also fix the combo jack but some kind of bug..
  • After Boot : speaker and internal mic working
  • Plugged (first time) : headphone and external mic working
  • Unplugged : speaker and internal mic working, but Console reports :
    Code:
    (__fadcGetAnchorTimeInternal_block_invoke signalled err=1937010544 (err) (AudioDeviceGetCurrentTime failed; continuing to interpolate) at /Library/Caches/com.apple.xbs/Sources/CoreMedia_frameworks/CoreMedia-1731.15.206/Sources/Core/FigSync/FigAudioDeviceClock.c line 612)
  • Plugged (second time) : headphone working (low) and external mic not working (no switch in preferences)
  • ......
  • Sleep/wake give back the headphone sound level but not the external mic.
Any ideas?
 
Last edited:
Status
Not open for further replies.
Top