Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

Who can help me? My laptop(Fujitsu Lifebook S762)'s ALC269 isn't like the sample. No sound at my make the applealc into OSX 10.12 .

Clover inject the id 3 without DSDT inject. Make the applealc.kext into EFI/CLOVER/kext/other.
OMG, How could I do ?
Which applealc switch is the in Clover config.plist, -alcbeta? The Lilu must be in applealc ?

codec#0.txt

 

Codec: Realtek ALC269VB
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269
Subsystem Id: 0x10cf1100
Revision Id: 0x100100
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 CLKSTOP EPSS
Power: setting=D0, actual=D0
GPIO: io=2, 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
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC269VB Analog", type="Audio", device=0
Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
Amp-Out vals: [0x57 0x57]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone 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: [0x00 0x00]
Converter: stream=5, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: 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
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x8b 0x8b]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: 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="ALC269VB Analog", type="Audio", device=0
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x13 0x13]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, 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] [0x80]
Connection: 2
0x02 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: 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=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x90a601f0: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: 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 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
Connection: 2
0x0c* 0x0d
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80]
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: 0x00:
Connection: 1
0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x03a11030: [Jack] Mic at Ext Left
Conn = 1/8, Color = Black
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=03, enabled=1
Connection: 1
0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
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
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000003c: IN OUT HP Detect
Pin Default 0x2121101f: [Jack] HP Out at Sep Rear
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=01, enabled=1
Connection: 2
0x0c 0x0d*
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN 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: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x909701f0: [Fixed] Aux at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: 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
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Headphone Playback Switch", index=1, 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 0x03211020: [Jack] HP Out at Ext Left
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=02, enabled=1
Connection: 2
0x0c 0x0d*
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Connection: 7
0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
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]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1d 0x0b
Link to comment
Share on other sites

this thread is now huge :\

 

whats the state of CA0132?

 

are we supposed to be able to installed AppleALC.kext and code commander.kext, and then see the output device?

 

I have an Alienware M17x r4 and I have done this and no output device ever shows, I have tried layout-id, 1, 3, 9 and it never shows.

 

am I just unlucky and haven't tried the right layout id or should the device show anyway?

 

the code shows in DCPIManager

vanilla AppleHDA.kext is loaded

AppleALC is loaded

codeccommander is loaded.

 

if you tell me what I should or could expect to happen, I'm happy to wipe and start again.

 

also, can't we have a thread for CA0132 instead of having it mixed here? just an idea.

 

oh, and I'm more than happy to do any tests or dumps you need so long as there are some instructions somewhere to follow.

Link to comment
Share on other sites

Hi guys

 

I'm trying to make internal speaker of my Lenovo ThinkCentre M800 to works. Done a codec dump on linux and trying to create all layout (using 12 and injecting it via Clover) but after the rebuild of AppleALC.kext my sound device disappear. Using Layout 11 (that from Irvine23 for a M8400) I got audio devices but the internal speaker not work, only the front jack for headphones

 

This is the log from AppleALC:

2017-04-20 17:35:53.794417+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData vendor-id has 8086 value
2017-04-20 17:35:53.804194+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData device-id has A170 value
2017-04-20 17:35:53.804371+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData revision-id has 31 value
2017-04-20 17:35:53.804547+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData layout-id was not found
2017-04-20 17:35:53.804890+0200  localhost kernel[0]: (kernel) AppleALC: alc @ layout-id was not provided by controller at HDEF
2017-04-20 17:35:53.843465+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ failed to find a suitable codec, we have nothing to do
2017-04-20 17:53:31.100379+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData vendor-id has 8086 value
2017-04-20 17:53:31.100469+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData device-id has A170 value
2017-04-20 17:53:31.100727+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData revision-id has 31 value
2017-04-20 17:53:31.100955+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData layout-id has C value
2017-04-20 17:53:31.101146+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) util @ getOSData AAPL,ig-platform-id was not found
2017-04-20 17:53:31.112502+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ found 1 audio controllers
2017-04-20 17:53:31.112668+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ validating 0 controller 8086:A170:31
2017-04-20 17:53:31.112838+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 0 mod 8086:A2F0
2017-04-20 17:53:31.123649+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 1 mod 8086:8D21
2017-04-20 17:53:31.123845+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 2 mod 8086:8D20
2017-04-20 17:53:31.124014+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 3 mod 8086:F04
2017-04-20 17:53:31.124195+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 4 mod 8086:24
2017-04-20 17:53:31.124524+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 5 mod 8086:C0C
2017-04-20 17:53:31.124689+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 6 mod 8086:8D20
2017-04-20 17:53:31.124854+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 7 mod 8086:412
2017-04-20 17:53:31.135910+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 8 mod 8086:1616
2017-04-20 17:53:31.136079+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 9 mod 8086:1612
2017-04-20 17:53:31.136248+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 10 mod 8086:191E
2017-04-20 17:53:31.136417+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 11 mod 8086:1916
2017-04-20 17:53:31.136624+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 12 mod 8086:191B
2017-04-20 17:53:31.136795+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 13 mod 8086:191B
2017-04-20 17:53:31.136963+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 14 mod 8086:1912
2017-04-20 17:53:31.137132+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 15 mod 8086:166
2017-04-20 17:53:31.148762+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 16 mod 8086:166
2017-04-20 17:53:31.148930+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing to 17 mod 8086:166
2017-04-20 17:53:31.149100+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 0 controller
2017-04-20 17:53:31.180540+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ found supported Realtek ALC662 codec revision 0x100300
2017-04-20 17:53:31.185155+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 0 controller
2017-04-20 17:53:31.185335+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ will route callbacks resource loading callbacks
2017-04-20 17:53:31.185506+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 3 kext
2017-04-20 17:53:31.185679+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 1 patch for 3 kext
2017-04-20 17:53:31.186097+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 2 patch for 3 kext
2017-04-20 17:53:31.186361+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 3 patch for 3 kext
2017-04-20 17:53:31.187267+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 4 patch for 3 kext
2017-04-20 17:53:31.209639+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying 5 patch for 3 kext
2017-04-20 17:53:31.697487+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) layout call 55 48 89 E5 41 57 41 56 41 54 53 41 89 CE 49 89
2017-04-20 17:53:31.708773+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) platform call 55 48 89 E5 41 57 41 56 41 54 53 41 89 CE 49 89
2017-04-20 17:53:32.007055+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2017-04-20 17:53:32.017876+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:662:100300
2017-04-20 17:53:32.028592+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ selecting from 4 files
2017-04-20 17:53:32.039164+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 5/C
2017-04-20 17:53:32.050134+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 1 layout 7/C
2017-04-20 17:53:32.061054+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 2 layout B/C
2017-04-20 17:53:32.071238+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 3 layout C/C
2017-04-20 17:53:32.081922+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) Found layout at 3 index
2017-04-20 17:53:32.112602+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2017-04-20 17:53:32.123347+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:662:100300
2017-04-20 17:53:32.133515+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ selecting from 4 files
2017-04-20 17:53:32.143614+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 5/C
2017-04-20 17:53:32.153539+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 1 layout 7/C
2017-04-20 17:53:32.163430+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 2 layout B/C
2017-04-20 17:53:32.174330+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ comparing 3 layout C/C
2017-04-20 17:53:32.184822+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) Found platform at 3 index
2017-04-20 17:53:33.011533+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ missing ControllerModInfo for 0 controller
2017-04-20 17:53:33.011534+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ will route callbacks resource loading callbacks
2017-04-20 17:53:33.011535+0200  localhost kernel[0]: (kernel) AppleALC: (DEBUG) alc @ applying patches for 7 kext

Any hints?

Thanks!

codec0.txt

HDA Patch M800.txt

layout12.xml

Platforms12.xml

Link to comment
Share on other sites

ok some steps..

 

i revert to original kext and change on Platfrom11.xml the routing layout for the "speaker" and I got audio. Now.. how I can implement my own and merge on the kext? I think that's the problem is related to the layout-id that must be 11 for this board.. how to combine it?

Link to comment
Share on other sites

Is any one able to help me here, i have a MSI GS43VR 7RE with Reatek ALC898, none of the existing layouts work, devices show but no sound, do get crackling on boot with some layouts.

 

i'm not sure what info you need but im on corpnewtons discord @Fma965 most of the time if you need to chat.

 

Linked on google drive is my darwindumper and IOREG dump

https://drive.google.com/file/d/0B_6GzxtXtF-sWVVxNGhLMlhYeE0/view?usp=sharing

 

I am patching HDAS to HDEF, my HDEF is located at 1F not sure if this is relevant or not.

 

I'm running Sierra 10.12.4 - Kabylake 7700hq etc.

Link to comment
Share on other sites

Is any one able to help me here, i have a MSI GS43VR 7RE with Reatek ALC898, none of the existing layouts work, devices show but no sound, do get crackling on boot with some layouts.

 

i'm not sure what info you need but im on corpnewtons discord @Fma965 most of the time if you need to chat.

 

Linked on google drive is my darwindumper and IOREG dump

https://drive.google.com/file/d/0B_6GzxtXtF-sWVVxNGhLMlhYeE0/view?usp=sharing

 

I am patching HDAS to HDEF, my HDEF is located at 1F not sure if this is relevant or not.

 

I'm running Sierra 10.12.4 - Kabylake 7700hq etc.

 

Try to apply this DSDT patch

#Maintained by: RehabMan for: Laptop Patches
#system_IRQ.txt

# This can fix non-working audio and also has an affect on HPET.
#
# Use this if you have issues with patched AppleHDA (required on almost all laptops)
# or if you have issues with HPET (restart after wake).

# IRQ fix
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched;
into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate()\n
{\n
    IRQNoFlags() { 0, 8, 11, 15 }\n
%2
})\n
end;
Link to comment
Share on other sites

 

Try to apply this DSDT patch

#Maintained by: RehabMan for: Laptop Patches
#system_IRQ.txt

# This can fix non-working audio and also has an affect on HPET.
#
# Use this if you have issues with patched AppleHDA (required on almost all laptops)
# or if you have issues with HPET (restart after wake).

# IRQ fix
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched;
into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate()\n
{\n
    IRQNoFlags() { 0, 8, 11, 15 }\n
%2
})\n
end;

 

Is there any way of patching this with clover? i have no idea how to patch DSDT's i've only done clover patching, i last did hackintosh years ago except for this one.
  • Like 1
Link to comment
Share on other sites

 

Is there any way of patching this with clover? i have no idea how to patch DSDT's i've only done clover patching, i last did hackintosh years ago except for this one.

 

 

Try AddDTGP_0001->true + FixHPET_0010->true but i doubt that this will help. 

  • Like 1
Link to comment
Share on other sites

Try AddDTGP_0001->true + FixHPET_0010->true but i doubt that this will help. 

Ok i patched my DSDT but still no audio, i'm not 100% i patched it correctly though, anyway to check? 

 

I tried the above options to but no luck.

  • Like 1
Link to comment
Share on other sites

Hello guys! I'm just here to thank you to all your great work.

 

Now with this new AppleALC and Lilu, the detection of my Headphones are super fast!!  :thumbsup_anim:

 

Keep your good work guys  ^_^

  • Like 1
Link to comment
Share on other sites

Nope still no sound :( do I need to set anything in clover? Also I am using hdas hdef patch if that affects anything

I have sound devices but no sound out of any of them

I also tried 3 and 1

Many ids for 898

MaLd0n 2017-04-24 às 20.49.02.png

_DSM into HDEF removed

DSDT.HDEF.zip

inject id one by one and test

MaLd0n 2017-04-24 às 20.50.49.png

Link to comment
Share on other sites

skylake and kabylake tables have many _DSM, this causes many conflicts in some cases. U can remove _DSM or rename in device to avoid it  

 

btw, use lilu and applealc in clover/kexts/other

Link to comment
Share on other sites

Yes of course I am :) also vanilla applehda.kext and no voodoohda or hdadisabler or anything like that either

I've also not got a single custom or modified kext in sle

I was tested voodoohda before and that worked except internal mic, I've reinstalled since for complete clubs instead

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...