Kobo Guides:
Memory Upgrade
Mac Guides:
Disable Keyboard


Mac Disable Keyboard Guide Disable/Enable Mac Laptop Keyboard Guide!
[by Gergith]

This is a guide on how to disable the built in keyboard for your Macbook, Macbook Air, and Macbook Pro. I have a few keys not working on my laptop and wanted a method to disable the whole thing.
Through lots of searching I stumbled onto this method and refined it to the way I have it now.

First off is the basic terminal code itself. This code turns off the keyboard:

sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

This code turns on the keyboard:

sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

Both of these codes when entered into terminal will require you to enter your account login. I would advise you enter this password and code on your secondary keyboard so you know for certain you have a working keyboard.

An alternative method instead of just inputing this code into a shell script so that you can run it by double clicking a file instead of entering the whole code everytime.
To do this you will enter the following code into a file you name whatever you want with the .sh file extension. I chose and respectively. Here are the contents of each file contents:
sudo kextload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext contents:
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext

Lastly, to make those .sh files open in terminal when you double click them you simply have to do the following:
Select the file and Get Info by either typing ( command ⌘ + I ) or right click and click Get Info
In the "Open with" section, choose "Other…" in the popup menu
Choose Terminal as the application

Powered By