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

kernel module does not load auomatically #53

Open
ObiWahn opened this issue Dec 17, 2021 · 4 comments
Open

kernel module does not load auomatically #53

ObiWahn opened this issue Dec 17, 2021 · 4 comments

Comments

@ObiWahn
Copy link

ObiWahn commented Dec 17, 2021

Hi,

I have trouble to have the module automatically loaded. I think I confirmed everything the Applications asks for. But on re-installation it does not even ask me for new permissions. So I assume that is should work. Unfortunately I still need to run kextload -v /Library/StagedExtensions/Applications/NoSleep.app/Contents/Resources/NoSleep.kext I found it hard do find good documentation on this topic.

I am not sure if this is a duplicate of #45 or not. As it is able to load.

@chadify
Copy link

chadify commented Apr 13, 2022

I'm facing the same issue. When opening NoSleep I'm getting "Kernel extension no loaded" error.

@drewjc75
Copy link

I'm facing a similar issue on Monterey 12.3.1, but what's weird about my issue is that NoSleep has suddenly decided it won't even work WITH the kext loaded. It won't even launch the app until I manually run sudo kextload -v /Library/StagedExtensions/Applications/Utilities/NoSleep.app/Contents/Resources/NoSleep.kext, and even then, if I close the lid, it goes to sleep anyway. AND, if I just let the screen time out on my Macbook, it locks the screen even though the configuration is set not to. Essentially, it seems like the app is loading but not actually doing anything. What's more, if I quit NoSleep, I can't load it again until I re-run the kextload command again. A kmutil showloaded will show that the module is in memory, but it doesn't seem to do anything with it, and if I close the application, it no longer shows the module as loaded.

@Calorion
Copy link

Calorion commented Jul 3, 2022

Is there any timeline on fixing the "Kernel extension not loaded" error?

@draftpin
Copy link

draftpin commented Sep 2, 2022

For some reason module works but does not load automatically on latest Mac OS (current is Mac OS Mojave)
My workaround is to add it to crontab:

sudo su
crontab -e

# Add this string to the end 
@reboot sleep 120 && kextload -v /Library/StagedExtensions/Applications/Utilities/NoSleep.app/Contents/Resources/NoSleep.kext

After reboot it should work correctly (you can modify 120 seconds of sleep to lower, did not test)

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

No branches or pull requests

5 participants