Contribute
Register

ALC3266 (10ec0298) files for AppleHDAPatcher

Status
Not open for further replies.
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: 149
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: 298
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
 
Try shifting the headphone balance to the left.
 
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:
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>
 
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.
 
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: 124
Last edited:
@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.
Back
Top