XPS9350-macOS
XPS9350-macOS copied to clipboard
ALC256
Dear Mirone,
Here's the result with the latest AppleALC + CodecCommander + ALCPlugFix

- Int Speaker: work
- Ext speaker: no auto switch, cannot gain sound
- Int speaker: no sound
- Headphone: no sound
Funny thing is there's "Use audio port for 'Sound Output'" or "Use audio port for 'Sound Input'". I switched Sound Output to Sound Input, but still no mic detect.
Thanks for your help, syscl
Hi Mirone, the latest one AppleHDA even cannot load
Here's the screenshot

syscl
Dear Mirone,
The latest AppleHDA:
- Headphone and int speaker works
- Int and ext mic do not work

Some very tiny noise/coil buzzing when headphone is plugged in, I then switched my version of CodecCommander, see here This version reduce the headphone noise but not eliminated it totally. Maybe the problem is in CodecCommander and ALCPlugFix's arguments?
Thanks in advance, syscl
Hi, I just found out that I have headphone noise if :
- My external speaker is on and jack is connected to Dell
- I boot Mac
And there's no headphone noise if :
- Mac is already on
- Connect the jack
- Turn on the speaker (this maybe is not important)
@syscl check my AppleALC.kext Headphones, mic and speakers works perfectly. But we have to remove a ghost input device from this config.
@nos1609 Thank you! I will try then merge it if possible.
Do you have some idea to lower down the power consume?
syscl
Hi @Mirone,
here's the latest AppleHDA's screenshot,

- No input/outpupt devices.
syscl
Hello @Mirone

Working:
- Internal speaker
- Headphone
Not working:
- Internal mic
- External mic
- If I change
Use audio port forfromSound InputtoSound output, then there's no sound from headphone any more.
What I've always test:
- AppleHDA with CodecCommander
- AppleHDA without CodecCommander
If without CodecCommander, there will be very tiny noise using headphone. Anyway, this version is pretty good(no intensive noise from headphone w/o CodecCommander :).
Thank you! syscl
@Mirone

Working:
- Internal speaker
- Headphone
Not working:
- Int mic
- Ext mic
- No devices in System Preferences -> Sound -> Input
syscl
Hi @Mirone
Here's the result:

There's no sound input from headphone and internal mic. I double check from my friend's MacBookPro who sat behind me, that once I plug-in my iPhone's headphone, then Input->External Mic, and input level change when I tap the headphone.
I am very appreciate your help, syscl
Hi @Mirone
Here's the result

All test with CodecCommander and without CodecCommander.kext.
syscl
Hi @Mirone
You remind me, I notice there's indeed internal speaker, and funny thing is, once I plug in headphone or unplug headphone, there'll be input level change instantly:

BTW, no matter I plug in or unplug headphone, there will be tiny pop in headphone. Seems a good indicate?
Thank you!! syscl
Hello @Mirone
This AppleHDA is pretty cool! Internal mic works and very sensitive! :)
Working:
- Internal mic
- Headphone (need CodecCommander to power it up, otherwise silence)
- External speaker
Not working:
- External mic
I saw you've changed DSDT as well: do you inject more properties for Device (HDEF) ?
Here's the result:

Pretty pretty nice.
Have a nice day, syscl
Already included in the deploy?
@x4080 No, not yet, still waiting Mirone's refining. He will refine it tonight.
syscl
Cool
@syscl could you please share the dylibs after so I could make a new applealc
Hi @nos1609
I will, but the kext is yet to complete.
Thank you, syscl
Hello @Mirone
How are you?
I have a question, is the layoutID = 36 means I will see Audio ID = 36 in System Information -> Audio? I tried two of the latest AppleHDA with 0x01, 0x03, 0x24, 0x36, none of them have sound

Do I do something wrong?
Thank you, syscl
Maybe this can help somehow. It is the output of audio init under linux.
- мар 04 19:40:51 arch-xps13 kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input7
- мар 04 19:40:51 arch-xps13 kernel: input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10
- мар 04 19:40:51 arch-xps13 kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
- мар 04 19:40:51 arch-xps13 kernel: input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
- мар 04 19:40:51 arch-xps13 kernel: input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: inputs:
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
- мар 04 19:40:51 arch-xps13 kernel: snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
@nos1609 @bozma88 @ZombieTheBest about headphone pop issue, please try this from AppleALC
<dict>
<key>Comment</key>
<string>AppleHDA anti-pop patch #1 (credit AppleALC)</string>
<key>MatchOS</key>
<string>10.11.x,10.12.x</string>
<key>Name</key>
<string>com.apple.driver.AppleHDA</string>
<key>Find</key>
<data>QcYGAEiLu2g=</data>
<key>Replace</key>
<data>QcYGAUiLu2g=</data>
</dict>
<dict>
<key>Comment</key>
<string>AppleHDA anti-pop patch #2 (credit AppleALC)</string>
<key>MatchOS</key>
<string>10.11.x,10.12.x</string>
<key>Disabled</key>
<true/>
<key>Name</key>
<string>com.apple.driver.AppleHDA</string>
<key>Find</key>
<data>QcaGQwEAAAA=</data>
<key>Replace</key>
<data>QcaGQwEAAAE=</data>
</dict>
Though I haven't experienced any noise pop.
syscl
@x4080 @nos1609 @bozma88 @ZombieTheBest
I just want you all know that I have fixed the Headphone internal issue, and know it works pretty pretty nice. Except the display in mic is still internal mic(not a big issue).
Sorry, I speak too soon. Need more testing.
syscl
@syscl You mean the headphone microphone? That's nice! I will wait for that :D I also saw the "noise pop" fix, @bozma88 said that it's inefficient because that patch keeps the codec active. How much "inefficient" it is in terms of power consumption?
Inefficient is not what we consider in the first place, bear in mind, in hackintosh world, the first thing is to make things can be used, then we consider elegant method.
syscl
@syscl, I think that is a choice that every user has to make. Some of us (e.g. myself) purchased this laptop because of its huge battery life that current-gen MacBook cannot reach. So, for example, my main aim is to make it last on battery as long as possible.
hi @syscl do you solved the problem with ComboJack?
@syscl Good job, I'll try it
Dear @Mirone
Long time no see. How are you?
Sadly, I cannot replicate the external microphone to work again. Though I still use my original AppleHDA, maybe that's the reason why I cannot power the ext mic again. I want to tried your version of AppleHDA with my new finding(because ext mic is almost finished), but there's too many versions. And our conversation on insanelymac has been removed such that I cannot download suitable version to have a try. :(
syscl
hi, @syscl Which version do you need?