Skip to content

Instantly share code, notes, and snippets.

@fcoclavero
Created December 28, 2020 21:55
Show Gist options
  • Save fcoclavero/431123c7708e42de63eb75264a44de02 to your computer and use it in GitHub Desktop.
Save fcoclavero/431123c7708e42de63eb75264a44de02 to your computer and use it in GitHub Desktop.
Fix Razer device not detected on macOS Big Sur 11.1

@Jandalf I recently had to reset my System Integrity Protection settings (csrutil clear) and once again ran into this issue, where my Razer device was not recognized.

I have upgraded to macOS Big Sur 11.1, and I can confirm that the solutions by @avaddon and @rdabban, which had worked for me on 11.0, no longer work.

Manually loading the kernel extension (the kextload command) will display the error code 27 "Extension with identifiers com.razer.common.razerhid not approved to load. Please approve using System Preferences.", but no pop-up or "Allow" option would appear anywhere on the System Preferences.

Adding the Razer TeamID with the /usr/sbin/spctl kext-consent add R2H967U7J8 command showed me a pop-up, but with no "Allow" option, and no option to allow the kernel extension would appear in the System Preferences, so no good.

I finally managed to make it work by temporarily disabling System Integrity Protection (SIP), as follows:

  1. Boot into Recovery Mode. This can be done by restarting your computer and holding Cmd+R on boot until a loading bar shows up.
  2. Once in Recovery Mode, sign in with your account and open a terminal. You can find it in the top menu under Utilities > Terminal.
  3. Disable SIP by running the following command: csrutil disable.
  4. Close the terminal and reboot (normal reboot, not into Recovery Mode).
  5. Open a terminal and load the extension with the following command: sudo kextload /Library/Extensions/RazerHid.kext.
  6. Reboot (normal reboot, not into Recovery Mode) and confirm that your Razer device is now correctly detected.
  7. Now we must reenable SIP to maintain system security. This should not break your device. Boot once more into Recovery Mode, open a terminal, run csrutil enable, close the terminal and reboot.

You should now be able to load your Razer device AND have SIP enabled.

Good luck y'all!

@huug69
Copy link

huug69 commented Nov 19, 2023

I'm using Steermouse now, running flawless since a few months, with all keys programmable and multiple profiles for al your apps. website is https://plentycom.jp/en/steermouse/

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