Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

1 = 7 or 11, supposedly 11 works better (6 + 2 pin motherboards)

2 = 5 (3 + 2 pin motherboards)

3 is something special to HDMI, I do not think one should use it.

 

11 is not different from 7 in layout, it is only different in platforms.

Link to comment
Share on other sites

@vit9696:

That means it should work without anything else then just change the layout-ID Inject from 1 to 7 or 11?

 

So, why didn't that work with the users board, i mentioned?

Are those files for layout-ID/platform 1-3 so huge that your removal made such a difference?

Wouldn't it be clever to just split the AppleALC in  

- a ALC- (containing only Realtek-Codecs = 32 Codecs) and

- a non ALC-Version (containing the ADI-, CirrusLogics-, Creative-, Conexant-, IDT- and the VIA-Codecs = 30 Codecs)?

 

This would reduce the size of the single kext and would prepare it for further additions of currently not supported codecs...

  • Like 2
Link to comment
Share on other sites

Creative sound CA0132 10.12 Beta4 (16A270f) Bin patch now changed

Info.plist.zip

  • Like 1
Link to comment
Share on other sites

@vit9696:

That means it should work without anything else then just change the layout-ID Inject from 1 to 7 or 11?

 

So, why didn't that work with the users board, i mentioned?

Are those files for layout-ID/platform 1-3 so huge that your removal made such a difference?

Wouldn't it be clever to just split the AppleALC in  

- a ALC- (containing only Realtek-Codecs = 32 Codecs) and

- a non ALC-Version (containing the ADI-, CirrusLogics-, Creative-, Conexant-, IDT- and the VIA-Codecs = 30 Codecs)?

 

This would reduce the size of the single kext and would prepare it for further additions of currently not supported codecs...

It won't be convenient to me to split them. And 1-3 layouts were very similar, so I removed them.

I don't know why it did not work for your user. Users are no different from anybody else, and therefore are subject to mistakes. The only thing I had to change after migrating from 1 to 11 was entering sound preferences and reselecting Speakers. Maybe your user needs to do the same.

Link to comment
Share on other sites

The name doesn't justified the mean, the true purpose of the project is to enable audio for non native codecs. Split them up might cause unwanted bugs and harder to keep track of things. All you have to do is check the wiki for supported codecs/layouts and try them out, is it that hard ? How about we make a wiki, have all the codecs and their respective layouts/platforms and have people report in there which machine work with which layout, it would be nice.

Link to comment
Share on other sites

The name doesn't justified the mean, the true purpose of the project is to enable audio for non native codecs. Split them up might cause unwanted bugs and harder to keep track of things. All you have to do is check the wiki for supported codecs/layouts and try them out, is it that hard ? How about we make a wiki, have all the codecs and their respective layouts/platforms and have people report in there which machine work with which layout, it would be nice.

 

compatibility table on AppleLife.ru (Russian/English).

  • Like 1
Link to comment
Share on other sites

so i tried to build my own kext to match my ALC272 revision version (0x100002) but it didn't work

 

with revision changed to 0x100002:

2016-08-04 21:34:51.455690+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: init @ force enabling on an unsupported operating system

2016-08-04 21:34:51.455697+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ boot arguments disabled 0, debug 1
2016-08-04 21:34:51.455699+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) init @ initialising with Policy mode

2016-08-04 21:34:51.456947+0700 0x65       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) policy @ init bsd

2016-08-04 21:34:51.465572+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: init @ version 1.0.14 DEBUG build

2016-08-04 21:34:55.448458+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ policy hit

2016-08-04 21:34:55.448461+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ initialising enabler

2016-08-04 21:34:55.448466+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 1 object constructed
2016-08-04 21:34:55.474534+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80002aa0d0
2016-08-04 21:34:55.476262+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
2016-08-04 21:34:55.476267+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Kernels/kernel
2016-08-04 21:34:55.476270+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:34:55.476273+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:34:55.476276+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:34:55.498460+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80002aa0d0
2016-08-04 21:34:55.500175+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
2016-08-04 21:34:55.500178+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ aslr/load slide is 0x0
2016-08-04 21:34:55.500182+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:34:55.548279+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/MacOS/AppleHDAController
2016-08-04 21:34:55.548295+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:34:55.548298+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:34:55.548301+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:34:55.549407+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDAController at 1 index
2016-08-04 21:34:55.549726+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _usimple_lock at 0xffffff8000401360 (non-aslr 0xffffff8000401360)
2016-08-04 21:34:55.550059+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _usimple_unlock at 0xffffff8000401540 (non-aslr 0xffffff8000401540)
2016-08-04 21:34:55.550515+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _vm_allocation_sites_lock at 0xffffff8000a87818 (non-aslr 0xffffff8000a87818)
2016-08-04 21:34:55.550527+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _OSKextLoadedKextSummariesUpdated at 0xffffff8000863300 (non-aslr 0xffffff8000863300)
2016-08-04 21:34:55.550533+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ _OSKextLoadedKextSummariesUpdated address FFFFFF8000863300 value 2E66C35DE5894855
2016-08-04 21:34:55.550737+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _gLoadedKextSummaries at 0xffffff8000ac1550 (non-aslr 0xffffff8000ac1550)
2016-08-04 21:34:55.550741+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ _gLoadedKextSummaries address 0xffffff8000ac1550
2016-08-04 21:34:55.550744+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ diff FFFFFFFF8261D49B argument 8261D49B
2016-08-04 21:34:55.550756+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:34:55.577906+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
2016-08-04 21:34:55.577923+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:34:55.577927+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:34:55.577929+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:34:55.591670+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferAzul at 2 index
2016-08-04 21:34:55.591675+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:34:55.605770+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
2016-08-04 21:34:55.605777+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:34:55.605792+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:34:55.605795+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:34:55.614695+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDA at 3 index
2016-08-04 21:34:55.614700+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:34:55.625110+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
2016-08-04 21:34:55.625114+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:34:55.625117+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:34:55.625120+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:34:55.635656+0700 0x188      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferCapri at 4 index
2016-08-04 21:35:07.462985+0700 0x190      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ policy hit

2016-08-04 21:35:36.711559+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:35:36.711564+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.711568+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.711571+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.711574+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:35:36.721285+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:35:36.721290+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.721293+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.721296+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.721299+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:35:36.730746+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:35:36.730751+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.730754+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.730757+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.730760+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:35:36.740167+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:35:36.740171+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.740174+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.740177+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.740180+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:35:36.749799+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:35:36.749805+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.749808+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.749811+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.749814+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:35:36.761329+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:35:36.761334+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.761338+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.761341+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.761344+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:35:36.771337+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:35:36.771342+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.771345+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.771349+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.771352+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:35:36.781217+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:35:36.781222+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.781225+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.781228+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.781231+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:35:36.792362+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:35:36.792368+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.792371+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.792374+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.792377+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:35:36.811552+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:35:36.811562+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:35:36.811568+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:35:36.811574+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:35:36.811580+0700 0x1b7      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index

with the revision omitted, but doesn't work either:

2016-08-04 21:49:41.455086+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: init @ force enabling on an unsupported operating system

2016-08-04 21:49:41.455092+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ boot arguments disabled 0, debug 1
2016-08-04 21:49:41.455094+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) init @ initialising with Policy mode

2016-08-04 21:49:41.456342+0700 0x65       Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) policy @ init bsd

2016-08-04 21:49:41.464973+0700 0x72       Default     0x0                  0      kernel: (kernel) AppleALC: init @ version 1.0.14 DEBUG build

2016-08-04 21:49:45.388551+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ policy hit

2016-08-04 21:49:45.388555+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ initialising enabler

2016-08-04 21:49:45.388560+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 1 object constructed
2016-08-04 21:49:45.414629+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80002aa0d0
2016-08-04 21:49:45.416357+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
2016-08-04 21:49:45.416362+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Kernels/kernel
2016-08-04 21:49:45.416365+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:49:45.416369+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:49:45.416371+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:49:45.438554+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80002aa0d0
2016-08-04 21:49:45.440268+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
2016-08-04 21:49:45.440271+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ aslr/load slide is 0x0
2016-08-04 21:49:45.440276+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:49:45.488365+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/MacOS/AppleHDAController
2016-08-04 21:49:45.488382+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:49:45.488385+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:49:45.488388+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:49:45.489496+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDAController at 1 index
2016-08-04 21:49:45.489813+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _usimple_lock at 0xffffff8000401360 (non-aslr 0xffffff8000401360)
2016-08-04 21:49:45.490146+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _usimple_unlock at 0xffffff8000401540 (non-aslr 0xffffff8000401540)
2016-08-04 21:49:45.490602+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _vm_allocation_sites_lock at 0xffffff8000a87818 (non-aslr 0xffffff8000a87818)
2016-08-04 21:49:45.490614+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _OSKextLoadedKextSummariesUpdated at 0xffffff8000863300 (non-aslr 0xffffff8000863300)
2016-08-04 21:49:45.490620+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ _OSKextLoadedKextSummariesUpdated address FFFFFF8000863300 value 2E66C35DE5894855
2016-08-04 21:49:45.490819+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found symbol _gLoadedKextSummaries at 0xffffff8000ac1550 (non-aslr 0xffffff8000ac1550)
2016-08-04 21:49:45.490822+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ _gLoadedKextSummaries address 0xffffff8000ac1550
2016-08-04 21:49:45.490826+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ diff FFFFFFFF8261D49B argument 8261D49B
2016-08-04 21:49:45.490838+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:49:45.517987+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
2016-08-04 21:49:45.517995+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:49:45.518008+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:49:45.518011+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:49:45.531755+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferAzul at 2 index
2016-08-04 21:49:45.531760+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:49:45.545857+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
2016-08-04 21:49:45.545865+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:49:45.545879+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:49:45.545882+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:49:45.554787+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDA at 3 index
2016-08-04 21:49:45.554791+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-08-04 21:49:45.565185+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
2016-08-04 21:49:45.565202+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found TEXT

2016-08-04 21:49:45.565205+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found LINKEDIT

2016-08-04 21:49:45.565208+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) mach @ header processing found SYMTAB

2016-08-04 21:49:45.575739+0700 0x18a      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferCapri at 4 index
2016-08-04 21:49:57.414153+0700 0x192      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) config @ policy hit

2016-08-04 21:50:20.507290+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:50:20.507296+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.507299+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.507302+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.507305+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:50:20.517156+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:50:20.517160+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.517163+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.517167+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.517170+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:50:20.526566+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:50:20.526570+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.526573+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.526576+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.526579+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:50:20.535972+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:50:20.535977+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.535980+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.535983+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.535986+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:50:20.545751+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-08-04 21:50:20.545755+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.545759+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.545762+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.545764+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found layout at 0 index
2016-08-04 21:50:20.556329+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:50:20.556334+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.556337+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.556340+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.556343+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:50:20.566546+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:50:20.566552+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.566555+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.566558+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.566561+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:50:20.576638+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:50:20.576643+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.576647+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.576650+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.576653+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:50:20.587207+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:50:20.587212+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.587216+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.587219+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.587222+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index
2016-08-04 21:50:20.606432+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-08-04 21:50:20.606441+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ checking codec 10EC:272:100002
2016-08-04 21:50:20.606448+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ selecting from 1 files
2016-08-04 21:50:20.606455+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) alc @ comparing 0 layout 3/3
2016-08-04 21:50:20.606464+0700 0x1b8      Default     0x0                  0      kernel: (kernel) AppleALC: (DEBUG) Found platform at 0 index

Link to comment
Share on other sites

@vit9696:

In regards to this user I can tell you, that his setup is correct, since I checked it personally via Teamviewer.

He also knows how to change the layout-id in his DSDT, which was set to 1 while using AppleALC 1.0.12...

After he updated to 1.0.13 and had to change the layout, he used 0x05. 0x07 and 0x0B, but nothing worked...

 

Was the removal of those layout-IDs so crucial? For round about 6 kilobytes?

post-638272-0-30292500-1470337367_thumb.jpg

 

 

@vusun123:

Yeah, that could lead to an issue, but if this kext is as modular as it tries to be, every part of it outside the "Resources"-folder should be the same...

If the kext is split in two versions, only the contents of "Resources" should be different...

That would make the kext smaller overall since there wouldn't be to much overhead as in the current state...

  • Like 1
Link to comment
Share on other sites

@al6042:

The kext is *not* trying to be modular. It is entirely monolithic, and the resources are separated so that one can edit them without touching the code.

 

I might be fine to recover the layout if he really needs it, but I really feel that something is wrong, and it is not the resources.

Could you paste the debug log here? Also, does not work means… what? I noted the sound prefs I had to alter after all.

 

If nothing helps I guess you could try adding layout 1 on your own and compiling a custom version of the kext to see if it works. If it does, perhaps Mirone layouts are indeed somehow incompatible with this users. I'd rather you contact @Mirone and investigate this, because it feels really strange, than ask me to recover the deleted resources. But if in the end we find that necessary I will do that.

 

@all, does anybody else have a similar issue?

Link to comment
Share on other sites

Sorry to not be exact in explaining the issue...

 

The System Report shows the Ports in "Intel High Definition Audio" with layout-ID 5, 7 and 11, but with non of those IDs any Audio device was available.

I will add the "original" Layout-ID 1 from 1.0.12 to 1.0.13.1 for a test run and come back to you and/or Mirone with the results.

Link to comment
Share on other sites

Try this. If it's OK on 10.11 and 10.12 i'll make changes on GitHub.

 

attachicon.gifInfo.plist.zip

I tested 10.11 and 10.12 AppleALC

10.11-worked

10.12-not work

AppleHDA 10.12 worked  above bin patched.

Link to comment
Share on other sites

Don't forget -alcbeta in bootargs for 10.12. Did AppleALC works with your info.plist from post #782?

Yes its worked now 10.11 and 10.12

-alcbeta in bootargs for 10.12.

Thank you.

  • Like 1
Link to comment
Share on other sites

Hi vandroiy2012

If you can please update this files I update Platforms9.xml.zlib

Sound bar worked well.

LayoutID = 9

CA0132.zip

Link to comment
Share on other sites

×
×
  • Create New...