macOS Catalina on Dell XPS 13 9300 - Audio not working (using AppleALC)

macOS Catalina on Dell XPS 13 9300 - Audio not working (using AppleALC)

I have installed macOS Catalina (10.15.6) on a Dell XPS 13 9300 and I'm trying to get the audio working.

Hardware & Software configuration:

CPU: Intel Core i7-1065G7

GPU: Intel Iris Plus Graphics

RAM: 32GB

Disk: Samsung 970 EVO Plus 2TB NVMe SSD

Bootloader: OpenCore 0.6.1

SystemProductName: MacBookAir9,1

The OS loads properly but the audio output from the internal speakers does not work.

I am using AppleALC. The codec is Realtek ALC289. There are two available layout ids in AppleALC and I have tried them both. I have better luck with layout id 11 (0B) as it appears to load and shows both the internal speakers and internal microphone.

The microphone registers sounds in Sound Preferences, but there is no output from the speakers at all. As a result, video does not play either. If I connect to an Airplay Display, then both audio and video work.

I have tried adding SSDT-HPET just in case there are any IRQ conflicts with the audio device, but it made no difference.

I have included the codec info from Ubuntu so that maybe some kind soul can add this as a new layout id for ALC289 for Dell XPS 13 9300.

Codec: Realtek ALC289

Address: 0

AFG Function Id: 0x1 (unsol 1)

Vendor Id: 0x10ec0289

Subsystem Id: 0x1028096d

Revision Id: 0x100002

No Modem Function Group found

Default PCM:

rates [0x560]: 44100 48000 96000 192000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Default Amp-In caps: N/A

Default Amp-Out caps: N/A

State of AFG node 0x01:

Power states: D0 D1 D2 D3 D3cold CLKSTOP EPSS

Power: setting=D0, actual=D0

GPIO: io=3, o=0, i=0, unsolicited=1, wake=0

IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out

Control: name="Headphone Playback Volume", index=0, device=0

ControlAmp: chs=3, dir=Out, idx=0, ofs=0

Device: name="ALC289 Analog", type="Audio", device=0

Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0

Amp-Out vals: [0x00 0x00]

Converter: stream=0, channel=0

PCM:

rates [0x40]: 48000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out

Control: name="Speaker Playback Volume", index=0, device=0

ControlAmp: chs=3, dir=Out, idx=0, ofs=0

Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0

Amp-Out vals: [0x4a 0x4a]

Converter: stream=0, channel=0

PCM:

rates [0x40]: 48000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x06 [Audio Output] wcaps 0x411: Stereo

Converter: stream=0, channel=0

PCM:

rates [0x40]: 48000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In

Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1

Amp-In vals: [0x97 0x97]

Converter: stream=0, channel=0

SDI-Select: 0

PCM:

rates [0x40]: 48000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 1

0x24

Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In

Control: name="Capture Volume", index=0, device=0

ControlAmp: chs=3, dir=In, idx=0, ofs=0

Control: name="Capture Switch", index=0, device=0

ControlAmp: chs=3, dir=In, idx=0, ofs=0

Device: name="ALC289 Analog", type="Audio", device=0

Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1

Amp-In vals: [0x3f 0x3f]

Converter: stream=0, channel=0

SDI-Select: 0

PCM:

rates [0x560]: 44100 48000 96000 192000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 1

0x23

Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In

Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1

Amp-In vals: [0x97 0x97]

Converter: stream=0, channel=0

SDI-Select: 0

PCM:

rates [0x560]: 44100 48000 96000 192000

bits [0xe]: 16 20 24

formats [0x1]: PCM

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 1

0x22

Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In

Control: name="Internal Mic Boost Volume", index=0, device=0

ControlAmp: chs=3, dir=In, idx=0, ofs=0

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x01 0x01]

Pincap 0x00000020: IN

Pin Default 0xb7a60130: [Fixed] Mic at Oth Mobile-In

Conn = Digital, Color = Unknown

DefAssociation = 0x3, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x20: IN

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Pincap 0x00000020: IN

Pin Default 0x40000000: [N/A] Line Out at Ext N/A

Conn = Unknown, Color = Unknown

DefAssociation = 0x0, Sequence = 0x0

Pin-ctls: 0x00:

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x00010014: OUT EAPD Detect

EAPD 0x2: EAPD

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 1

0x02

Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0000001c: OUT HP Detect

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 2

0x02* 0x03

Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out

Control: name="Speaker Playback Switch", index=0, device=0

ControlAmp: chs=3, dir=Out, idx=0, ofs=0

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x00 0x00]

Pincap 0x0000001c: OUT HP Detect

Pin Default 0x90170110: [Fixed] Speaker at Int N/A

Conn = Analog, Color = Unknown

DefAssociation = 0x1, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x40: OUT

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 3

0x02 0x03* 0x06

Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Pincap 0x00000024: IN Detect

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x00:

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In

Control: name="Headset Mic Boost Volume", index=0, device=0

ControlAmp: chs=3, dir=In, idx=0, ofs=0

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Pincap 0x00003724: IN Detect

Vref caps: HIZ 50 GRD 80 100

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x24: IN VREF_80

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Pincap 0x00003724: IN Detect

Vref caps: HIZ 50 GRD 80 100

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x00: VREF_HIZ

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

Control: name="Headphone Mic Boost Volume", index=0, device=0

ControlAmp: chs=3, dir=In, idx=0, ofs=0

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

Amp-In vals: [0x00 0x00]

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x00013734: IN OUT EAPD Detect

Vref caps: HIZ 50 GRD 80 100

EAPD 0x2: EAPD

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x20: IN VREF_HIZ

Unsolicited: tag=00, enabled=0

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 2

0x02* 0x03

Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x1d [Pin Complex] wcaps 0x400400: Mono

Pincap 0x00000020: IN

Pin Default 0x4067992d: [N/A] Modem Line at Ext N/A

Conn = Analog, Color = Pink

DefAssociation = 0x2, Sequence = 0xd

Misc = NO_PRESENCE

Pin-ctls: 0x20: IN

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Node 0x1e [Pin Complex] wcaps 0x400501: Stereo

Pincap 0x00000010: OUT

Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

Conn = 1/8, Color = Black

DefAssociation = 0xf, Sequence = 0x0

Misc = NO_PRESENCE

Pin-ctls: 0x40: OUT

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 1

0x06

Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono

Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono

Processing caps: benign=0, ncoeff=142

Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out

Control: name="Headphone Playback Switch", index=0, device=0

ControlAmp: chs=3, dir=Out, idx=0, ofs=0

Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-Out vals: [0x80 0x80]

Pincap 0x0001001c: OUT HP EAPD Detect

EAPD 0x2: EAPD

Pin Default 0x03211020: [Jack] HP Out at Ext Left

Conn = 1/8, Color = Black

DefAssociation = 0x2, Sequence = 0x0

Pin-ctls: 0xc0: OUT HP

Unsolicited: tag=01, enabled=1

Power states: D0 D1 D2 D3 EPSS

Power: setting=D0, actual=D0

Connection: 2

0x02* 0x03

Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

Connection: 5

0x19 0x1a 0x1b 0x1d 0x13

Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00]

Connection: 5

0x19 0x1a 0x1b 0x1d 0x12

Node 0x24 [Audio Selector] wcaps 0x300101: Stereo

Connection: 3

0x12* 0x13 0x18

https://preview.redd.it/xkmujrc0b1p51.png?width=780&format=png&auto=webp&s=334ec759a5c84b4556e776c57e5ee6aa4502ddfc

https://preview.redd.it/2rgw8gb3b1p51.png?width=736&format=png&auto=webp&s=f06f39cf57f86584b5f5b95659e950f940a271fb

submitted by /u/NajeebAnwer
[link] [comments]