Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIT2021 in 10.12 is not working #70

Closed
acidanthera-bot opened this issue Jul 18, 2016 · 0 comments
Closed

VIT2021 in 10.12 is not working #70

acidanthera-bot opened this issue Jul 18, 2016 · 0 comments

Comments

@acidanthera-bot
Copy link
Collaborator

@melxman opened vit9696/AppleALC#66

The same last source kext in 10.11.6 is working, in 10.12,the kext is not working(used -alcbeta,can be loaded)
But used patches in fake kext,it's working all right.
why?

@acidanthera-bot
Copy link
Collaborator Author

@vit9696 commented

Injection or timing issues, I'd guess?

@acidanthera-bot
Copy link
Collaborator Author

@melxman commented

原谅我这次用中文啊,作者
二进制部分手动做的仿冒驱动是没问题的(10.12原版驱动改造)。但是就是用alc会出问题,也能用命令查询到已经被加载。
不过rtl的alc系列声卡是没有问题的。
至于您说的那个问题,我从哪儿可以看到记录呢?

@acidanthera-bot
Copy link
Collaborator Author

@vit9696 commented

Unofortunately I am not certain I understood you even with the help of google translare.
I think you might have injection or timing issues (e.g. AppleALC installed to /S/L/E may still sometimes fail to load). Best in such cases is to add -alcdbg and see what happens in the bootlog.

Also, if I remember correctly system.log does no longer contain the kernel log on 10.12, you may have to use log command.

@acidanthera-bot
Copy link
Collaborator Author

@melxman commented

I'm sorry to have caused you troubled.This is my friend a question。

He tested it today. Found counterfeit driver does not work in 10.12. Yesterday he automatically connect Bluetooth stereo, so have sound。

btw:
This kext isn't in /S/L/E,it's in efi or bios.

The sound of people currently have no way to give me the log. Sorry

@acidanthera-bot
Copy link
Collaborator Author

@reyder commented

I also have problem, no sound on Sierra, El Capitan was fine. Here is log (booted with -alcdbg):

log show --debug | grep AppleALC
2016-07-23 16:56:20.656622+0200 0x3005c3   Default     0x0                  363    Dock: unable to create an ECDirectoryFile for AppleALC-master.zip.download in <ECDirectory: 0x6080000b5720> {path=/Users/reyder/Downloads/} during a file changed event
2016-07-23 16:59:10.478072+0200 0x301400   Default     0x0                  7325   sudo:   reyder : TTY=ttys001 ; PWD=/System/Library/Extensions ; USER=root ; COMMAND=/usr/sbin/chown -R root:whel AppleALC.kext
2016-07-23 16:59:15.261479+0200 0x301463   Default     0x0                  7351   sudo:   reyder : TTY=ttys001 ; PWD=/System/Library/Extensions ; USER=root ; COMMAND=/usr/sbin/chown -R root:wheel AppleALC.kext
2016-07-23 16:59:23.589881+0200 0x3014ba   Default     0x0                  7392   sudo:   reyder : TTY=ttys001 ; PWD=/System/Library/Extensions ; USER=root ; COMMAND=/bin/chmod -R 755 AppleALC.kext
2016-07-23 16:59:41.360567+0200 0x30124c   Default     0x0                  7136   kextcache: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleALC.kext
2016-07-23 17:06:17.386674+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ force enabling on an unsupported operating system
2016-07-23 17:06:17.386677+0200 0x72       Default     0x0                  0      kernel: calling mpo_policy_init for AppleALC
2016-07-23 17:06:17.386679+0200 0x72       Default     0x0                  0      kernel: Security policy loaded: AppleALC Kernel Extension (AppleALC)
2016-07-23 17:06:17.409174+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ version 1.0.13
2016-07-23 17:33:25.409097+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ force enabling on an unsupported operating system
2016-07-23 17:33:25.409100+0200 0x72       Default     0x0                  0      kernel: calling mpo_policy_init for AppleALC
2016-07-23 17:33:25.409102+0200 0x72       Default     0x0                  0      kernel: Security policy loaded: AppleALC Kernel Extension (AppleALC)
2016-07-23 17:33:25.413776+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ version 1.0.13

@acidanthera-bot
Copy link
Collaborator Author

@vit9696 commented

You use SLE here, and it is likely to fail loading (because I am not using com.apple prefixes).

@acidanthera-bot
Copy link
Collaborator Author

@reyder commented

Tried with Clover as well, the same result.

@acidanthera-bot
Copy link
Collaborator Author

@vit9696 commented

In this case the resources are incompatible, I guess.
You could add a log with -alcdbg but given that critical errors are printed even without it, I think the above statement is correct. You are welcome to submit working resources in a pull request.

@acidanthera-bot
Copy link
Collaborator Author

@reyder commented

Here is debug log:

2016-07-23 17:56:25.408357+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ force enabling on an unsupported operating system
2016-07-23 17:56:25.408360+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) config @ boot arguments disabled 0, debug 1
2016-07-23 17:56:25.408361+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) init @ initialising with Policy mode
2016-07-23 17:56:25.408363+0200 0x72       Default     0x0                  0      kernel: calling mpo_policy_init for AppleALC
2016-07-23 17:56:25.408365+0200 0x72       Default     0x0                  0      kernel: Security policy loaded: AppleALC Kernel Extension (AppleALC)
2016-07-23 17:56:25.409475+0200 0x65       Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) policy @ init bsd
2016-07-23 17:56:25.413198+0200 0x72       Default     0x0                  0      kernel: (AppleALC) AppleALC: init @ version 1.0.13 DEBUG build
2016-07-23 17:56:28.907281+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) config @ policy hit
2016-07-23 17:56:28.907288+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) config @ initialising enabler
2016-07-23 17:56:28.907305+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ MachInfo asKernel 1 object constructed
2016-07-23 17:56:28.915311+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80068ac0d0
2016-07-23 17:56:28.916820+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8006800000
2016-07-23 17:56:28.916824+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Kernels/kernel
2016-07-23 17:56:28.916826+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found TEXT
2016-07-23 17:56:28.916829+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found LINKEDIT
2016-07-23 17:56:28.916831+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found SYMTAB
2016-07-23 17:56:28.936067+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff80068ac0d0
2016-07-23 17:56:28.937521+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8006800000
2016-07-23 17:56:28.937524+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ aslr/load slide is 0x6600000
2016-07-23 17:56:28.937527+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-07-23 17:56:28.938370+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/MacOS/AppleHDAController
2016-07-23 17:56:28.938379+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found TEXT
2016-07-23 17:56:28.938385+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found LINKEDIT
2016-07-23 17:56:28.938391+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found SYMTAB
2016-07-23 17:56:28.938725+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDAController at 1 index
2016-07-23 17:56:28.939102+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found symbol _usimple_lock at 0xffffff8006a03a30 (non-aslr 0xffffff8000403a30)
2016-07-23 17:56:28.939450+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found symbol _usimple_unlock at 0xffffff8006a03c10 (non-aslr 0xffffff8000403c10)
2016-07-23 17:56:28.939841+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found symbol _vm_allocation_sites_lock at 0xffffff8007087818 (non-aslr 0xffffff8000a87818)
2016-07-23 17:56:28.939851+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found symbol _OSKextLoadedKextSummariesUpdated at 0xffffff8006e648d0 (non-aslr 0xffffff80008648d0)
2016-07-23 17:56:28.939856+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ _OSKextLoadedKextSummariesUpdated address FFFFFF8006E648D0 value 2E66C35DE5894855
2016-07-23 17:56:28.940028+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found symbol _gLoadedKextSummaries at 0xffffff80070c2950 (non-aslr 0xffffff8000ac2950)
2016-07-23 17:56:28.940031+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ _gLoadedKextSummaries address 0xffffff80070c2950
2016-07-23 17:56:28.940034+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ diff FFFFFFFF81F46F8B argument 81F46F8B
2016-07-23 17:56:28.940044+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-07-23 17:56:28.945502+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
2016-07-23 17:56:28.945510+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found TEXT
2016-07-23 17:56:28.945516+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found LINKEDIT
2016-07-23 17:56:28.945522+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found SYMTAB
2016-07-23 17:56:28.959663+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferAzul at 2 index
2016-07-23 17:56:28.959685+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-07-23 17:56:28.973758+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
2016-07-23 17:56:28.973765+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found TEXT
2016-07-23 17:56:28.973771+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found LINKEDIT
2016-07-23 17:56:28.973777+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found SYMTAB
2016-07-23 17:56:28.984954+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDA at 3 index
2016-07-23 17:56:28.984964+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
2016-07-23 17:56:28.994196+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
2016-07-23 17:56:28.994204+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found TEXT
2016-07-23 17:56:28.994211+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found LINKEDIT
2016-07-23 17:56:28.994216+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) mach @ header processing found SYMTAB
2016-07-23 17:56:29.005071+0200 0x1f7      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferCapri at 4 index
2016-07-23 17:56:32.071445+0200 0x202      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) config @ policy hit
2016-07-23 17:57:28.503605+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-07-23 17:57:28.503609+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ checking codec 1106:441:100100
2016-07-23 17:57:28.503612+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ selecting from 2 files
2016-07-23 17:57:28.503614+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 0 layout 5/7
2016-07-23 17:57:28.503616+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 1 layout 7/7
2016-07-23 17:57:28.503619+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) Found layout at 1 index
2016-07-23 17:57:28.592658+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ resource-request arrived layout
2016-07-23 17:57:28.592662+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ checking codec 1106:441:100100
2016-07-23 17:57:28.592665+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ selecting from 2 files
2016-07-23 17:57:28.592667+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 0 layout 5/7
2016-07-23 17:57:28.592670+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 1 layout 7/7
2016-07-23 17:57:28.592672+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) Found layout at 1 index
2016-07-23 17:57:28.951623+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-07-23 17:57:28.951627+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ checking codec 1106:441:100100
2016-07-23 17:57:28.951630+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ selecting from 2 files
2016-07-23 17:57:28.951632+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 0 layout 5/7
2016-07-23 17:57:28.951634+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 1 layout 7/7
2016-07-23 17:57:28.951637+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) Found platform at 1 index
2016-07-23 17:57:29.045531+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ resource-request arrived paltform
2016-07-23 17:57:29.045536+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ checking codec 1106:441:100100
2016-07-23 17:57:29.045538+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ selecting from 2 files
2016-07-23 17:57:29.045541+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 0 layout 5/7
2016-07-23 17:57:29.045543+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) alc @ comparing 1 layout 7/7
2016-07-23 17:57:29.045545+0200 0x238      Default     0x0                  0      kernel: (AppleALC) AppleALC: (DEBUG) Found platform at 1 index

@acidanthera-bot
Copy link
Collaborator Author

@vit9696 commented

From what I can tell the resources are simply incompatible with 10.12. Please reopen the issue when you obtain working resources to include in AppleALC. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants