Contribute
Register

Skylake Laptop (i.e. PCI Intel Sunrise HD Audio id: 8086:9d70 ) Audio Problem - Dell 5559 El Capitan

Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
Hi,

I managed to install OS X El Capitan (10.11.5) in my Dell Inspiron 5559.

My 2 problems are: Audio and WiFi (out of the question at the moment). However, I think the audio problem can be fixed.

This laptop does not have Audio Realtek ALC3234 controller as some of the users are claiming. It has PCI Intel PCI Intel Sunrise Point-LP HD Audio.

(I have been working for 3 days on the hack for ALC3234 i.e. dsdt patching because I thought that this laptop as Realtek as mentioned by others).

The audio is a PCI Intel Sunrise Point-LP HD Audio with device id: 8086:9d70

The dsdt.aml does not have a Device (HDEF) but Device (HDAS).

(Update:

Based on this guide, http://www.tonymacx86.com/threads/guide-dell-inspiron-15-7559-skylake-i7-6700hq-intel-hd-530-using-clover.191921/

I need to change Device (HDAS) to Device (HDEF), however, it does not fix the PCI problem).


Here's the results of lspci -nn using Ubuntu Linux:

~~~~~~~~~~~~
noli@noli-Inspiron-5559:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d61] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1)
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d14] (rev f1)
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d15] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] [1002:6660] (rev ff)
02:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
~~~~~~~~~~~~

This PCI audio is the same as Asus-ux305ua.

http://www.tonymacx86.com/threads/asus-ux305ua-built-in-sound-not-working.192678/

I tried DummyHDA.kext and VoodooHDA.kext and all did not work.

I think Fake-PCI-ID might be the only solution.

https://github.com/RehabMan/OS-X-Fake-PCI-ID

RehabMan, can you please help solve this problem?

What I am doing to do to patch Fake-PC-ID?

Thanks in advance.

Noli
 
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi,

I managed to install OS X El Capitan (10.11.5) in my Dell Inspiron 5559.

The my 2 problems are: Audio and WiFi (out of the question at the moment). However, I think the audio can be fixed.

This laptop does not have Audio Realtek ALC3234 controller but PCI Intel one.

(I have been working for 3 days on the hack for ALC3234 i.e. dsdt patching because I thought that this laptop as Realtek as mentioned by others).

The audio is a PCI Intel Sunrise Point-LP HD Audio with device id: 8086:9d70

The dsdt.aml does not have a Device (HDEF) but Device (HDAS).

(Update:

Based on this guide, http://www.tonymacx86.com/threads/guide-dell-inspiron-15-7559-skylake-i7-6700hq-intel-hd-530-using-clover.191921/

I need to change Device (HDAS) to Device (HDEF), however, it does not fix the PCI problem).


Here's the results of lspci -nn using Ubuntu Linux:

~~~~~~~~~~~~
noli@noli-Inspiron-5559:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller [8086:9d61] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:9d10] (rev f1)
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d14] (rev f1)
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port [8086:9d15] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] [1002:6660] (rev ff)
02:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
~~~~~~~~~~~~

This PCI audio is the same as Asus-ux305ua.

http://www.tonymacx86.com/threads/asus-ux305ua-built-in-sound-not-working.192678/

I tried DummyHDA.kext and VoodooHDA.kext and all did not work.

I think Fake-PCI-ID might be the only solution.

https://github.com/RehabMan/OS-X-Fake-PCI-ID

RehabMan, can you please help solve this problem?

What I am doing to do to patch Fake-PC-ID?

Thanks in advance.

Noli
In order to determine the audio codec, you need to acquire an audio codec dump from Linux.

All modern PCs use Intel HDA for the HDA controller. The codec is a different device connected to Intel HDA.
 
Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
Yes, you are right that HDA controller (i.e. Intel PCI ) but the codec device is still using Realtek chipset (ALC3234).

Here's the output from linux (below).

What I am going to do next?

~~~~~~
noli@noli-Inspiron-5559:~$ cat /proc/asound/card0/codec#0
Codec: Realtek ALC3234
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0255
Subsystem Id: 0x102806b2
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="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: [0x44 0x44]
Converter: stream=1, channel=0
PCM:
rates [0x60]: 44100 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="Headphone Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC3234 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=1, channel=0
PCM:
rates [0x60]: 44100 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 0x611: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
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="ALC3234 Analog", type="Audio", device=0
Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
Amp-In vals: [0x27 0x27]
Converter: stream=1, 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=D3, actual=D3
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Headset Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Headset Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Headphone Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Headphone Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Beep Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="Beep Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=4, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 5
0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00]
Connection: 1
0x0d
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: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x90a60180: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0x8, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [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 0x00010014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x90170130: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0x3, 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: 1
0x0c
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
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=D3, actual=D3
Connection: 1
0x0f
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 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: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3
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
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]
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: 0x20: IN 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
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 0x0001373c: IN OUT HP 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=D3, actual=D3
Connection: 2
0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
Pincap 0x00000020: IN
Pin Default 0x40700001: [N/A] Modem Hand at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3
Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
Pincap 0x00000014: OUT Detect
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
Unsolicited: tag=00, enabled=0
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=76
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 0x02211040: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=01, enabled=1
Power states: D0 D1 D2 D3 EPSS
Power: setting=D3, actual=D3
Connection: 2
0x0c 0x0d*
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] [0x80 0x80]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1d 0x0b
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] [0x80 0x80] [0x80 0x80] [0x00 0x00]
Connection: 7
0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12
noli@noli-Inspiron-5559:~$
 
Last edited:
Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
In order to determine the audio codec, you need to acquire an audio codec dump from Linux.

All modern PCs use Intel HDA for the HDA controller. The codec is a different device connected to Intel HDA.
OK. I just did that audio codec dump from Linux in post above.

Any suggestion what I am going to do next?

I am trying to patch my dsdt.aml

~~~~~
Scope (_SB.PCI0)
{
Device (HDEF)
{
Name (_ADR, 0x001F0003) // _ADR: Address
OperationRegion (HDAR, PCI_Config, Zero, 0x0100)
Field (HDAR, WordAcc, NoLock, Preserve)
{
VDID, 32,
Offset (0x48),
, 6,
MBCG, 1,
Offset (0x54),
Offset (0x55),
PMEE, 1,
, 6,
PMES, 1
}

Name (_S0W, 0x03) // _S0W: S0 Device Wake State
Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake
{
Store (Arg0, PMEE)
}

Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
Return (GPRW (0x6D, 0x04))
}

Method (GPEH, 0, NotSerialized)
{
If (LEqual (VDID, 0xFFFFFFFF))
{
Return (Zero)
}

If (LAnd (PMEE, PMES))
{
ADBG ("HDEF GPEH")
Store (One, PMES)
Notify (HDEF, 0x02)
}
}

Name (NBUF, ResourceTemplate ()
{
QWordMemory (ResourceConsumer, PosDecode, MinNotFixed, MaxNotFixed, NonCacheable, ReadOnly,
0x0000000000000001, // Granularity
0x0000000000000000, // Range Minimum
0x0000000000000000, // Range Maximum
0x0000000000000000, // Translation Offset
0x0000000000000000, // Length
,, _Y16, AddressRangeACPI, TypeStatic)
})
Method (AUWA, 0, Serialized)
{
If (LEqual (PCHS, One))
{
If (LEqual (^^LPCB.CRID, Zero))
{
Return (One)
}
}
Else
{
If (LEqual (^^LPCB.CRID, Zero))
{
Return (One)
}

If (LEqual (^^LPCB.CRID, One))
{
Return (One)
}

If (LEqual (^^LPCB.CRID, 0x09))
{
Return (One)
}
}

Return (Zero)
}

Method (_INI, 0, NotSerialized) // _INI: Initialize
{
ADBG ("HDEF _INI")
CreateQWordField (NBUF, \_SB.PCI0.HDEF._Y16._MIN, NBAS) // _MIN: Minimum Base Address
CreateQWordField (NBUF, \_SB.PCI0.HDEF._Y16._MAX, NMAS) // _MAX: Maximum Base Address
CreateQWordField (NBUF, \_SB.PCI0.HDEF._Y16._LEN, NLEN) // _LEN: Length
Store (NHLA, NBAS)
Add (NHLA, Subtract (NHLL, One), NMAS)
Store (NHLL, NLEN)
If (LEqual (AUWA (), One))
{
Store (Zero, MBCG)
}
}
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
Return (Package()
{
"built-in", Buffer() { 0x00 },
"layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },
"hda-gfx", Buffer() { "onboard-1" },
"PinConfigurations", Buffer() { },
})
}


}

##########

Now, do I need to change the name?
 
Last edited:
Joined
Dec 3, 2011
Messages
384
Motherboard
HP Elite X2
CPU
i5-7600U
Graphics
HD 620 2736 x 1834
Mac
MacBook Pro, Mac Pro
Classic Mac
128K, 512K
Mobile Phone
iOS
OK. I just did that audio codec dump from Linux in post above.

Any suggestion what I am going to do next?
Your codec is ALC255 which is already baked into Mirone's AppleHDAPatcher. Sometimes there are variations, but I'd give that a shot first.
 
Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
Your codec is ALC255 which is already baked into Mirone's AppleHDAPatcher. Sometimes there are variations, but I'd give that a shot first.
Yes, I tried this one already. However, the PCI card / PCI interface to board with the Realtek chipset is embedded is not detected. I think the FakePCIID needs to be hacked first as I understand it, if I am right.

https://github.com/RehabMan/OS-X-Fake-PCI-ID

RehabMan, am right in thinking in this line to fix part (PCI) of my problem?

I just found out that Ubuntu has a list of laptops and desktops which are using this PCI card / interface (i.e. Intel Sunrise Point_H HD Audio Audio)

http://www.ubuntu.com/certification/catalog/component/pci/8086:a170/
 
Last edited:
Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
OK. I just did that audio codec dump from Linux in post above.

Any suggestion what I am going to do next?

I am trying to patch my dsdt.aml

~~~~~
Scope (_SB.PCI0)
{
Device (HDEF)
{
Name (_ADR, 0x001F0003) // _ADR: Address
OperationRegion (HDAR, PCI_Config, Zero, 0x0100)
Field (HDAR, WordAcc, NoLock, Preserve)
,
.
,

Now, do I need to change the name?
OK. I got the audio device now!

Intel High Definition Audio. See attached screenshot (i.e. file). I did DSDT patching to get it working.

The device id is 3 patched on the DSDT patched (layout 3).

However, I AppleHDA.kext is not yet working. No input yet in the sound.

VoodoHDA is not working as well.

Any ideas to get this audio device working?
 

Attachments

Last edited:
Joined
May 25, 2010
Messages
36
Motherboard
Dell Inspiron 5000 5559
CPU
Intel Skylake i7-6500u 2.5GHz
Graphics
Intel HD 520 & AMD Radeon R5 M335 2GB
Mac
MacBook Pro
Mobile Phone
Android
It seems that this PCI card is already supported.

.
.
8086:8CA0 Name: 9 Series Chipset Family HD Audio Controller
8086:A170 Name: Sunrise Point-H HD Audio
8086:9D70 Name: Sunrise Point-LP HD Audio
http://www.insanelymac.com/forum/topic/310914-applehdacontroller-native-intel-ids/
http://www.insanelymac.com/forum/topic/310914-applehdacontroller-native-intel-ids/

This is the reason why I get the device after fixing the HDAS to HDEF in DSDT.aml patching.

However, I don't have now the orginal AppleHDA.kext.

Where I can download the original AppleHDA.kext from 10.11.5 OS X or the modified version?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yes, you are right that HDA controller (i.e. Intel PCI ) but the codec device is still using Realtek chipset (ALC3234).
It is Realtek ALC255 (0x10ec0255).
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
However, I don't have now the orginal AppleHDA.kext.

Where I can download the original AppleHDA.kext from 10.11.5 OS X or the modified version?
Run the OS X installer. It will install original AppleHDA.kext.
 
Top