geekhack

geekhack Community => Keyboards => Topic started by: willbarrow on Fri, 29 July 2016, 17:21:42

Title: How do I uninstall the HHKB Mac drivers?
Post by: willbarrow on Fri, 29 July 2016, 17:21:42
I installed the drivers, but realised that they aren't really needed. I launched the driver installer again, and, this time, selected the second option in the dropdown, which is, apparently, uninstall. I'm just not sure if it has completely uninstalled, because I couldn't read the pop-up that appeared after I had clicked it. Can anyone help me in completely removing the HHKB Mac driver?
Title: Re: How do I uninstall the HHKB Mac drivers?
Post by: shelaf on Fri, 29 July 2016, 21:59:31
Assume that you have HHKBPro.

1) confirm HHKB driver installed or not.
Code: [Select]
ls /Library/Extensions | grep HHKeyboardProif nothing shown, uninstalled. but not installed.
if installed, follow the steps below.

2) confirm HHKB driver loaded or not.
Code: [Select]
kextstat | grep HHKPro
if nothing shown, unloaded. but not, loaded.
if loaded, unload driver like this.
Code: [Select]
sudo kextunload /Library/Extensions/HHKeyboardPro.kext
3) remove driver
Code: [Select]
sudo rm -rf /Library/Extensions/HHKeyboardPro.kextor you feel uneasy
Code: [Select]
sudo mv /Library/Extensions/HHKeyboardPro.kext ~/Desktop
4) rebuild driver cache
Code: [Select]
sudo touch /System/Library/Extensions && sudo kextcache -u /