Closed bric3 closed 2 years ago
In macOS 10.15.4, use of deprecated KPIs triggers a notification to the user that the software includes a deprecated API and asks the user to contact the developer for alternatives.
I have not received a message about NoSleep.
The code has to be adapted to use DriverKit and then for its own distribution has to use an entitlement from Apple.
As far as I can tell, equivalents exist for this code to work. It just has to be ported.
And the kernel stops loading now on:
macOS
Big Sur 11.2.3 versionNoSleep
1.5.1 versionIt's working for me.
$ kextstat | grep -Fv apple && uname -a && sw_vers
Executing: /usr/bin/kmutil showloaded
No variant specified, falling back to release
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
180 0 0xffffff7fa241c000 0x2000 0x2000 com.protech.NoSleep (1.5.1) 7B0BAE0B-9B3E-3A45-A49C-EA6A314D2170 <6 5 3>
Darwin cccccccccc-wifi.tat.sh 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64 i386 MacBookPro14,3 Darwin
ProductName: macOS
ProductVersion: 11.2.3
BuildVersion: 20D91
You may need to System Preferences -> System and click on Allow in the General tab.
Indeed, it works, after starting it again for me, probably was some issue during system startup on my side. Sorry for the false-positive.
Thanks @Tatsh for the Allow hint!
I have the same problem as Viktor, but this occurs after 'Allowing' access in the Privacy & Security tab on MacOS Big Sur 11.6 (latest at today's date).
@sla797 has the right answer
https://developer.apple.com/support/kernel-extensions/
I'm not sure however how this can translate for NoSleep ?