thefloweringash / iousbhiddriver-descriptor-override

Fix broken USB HID descriptors. Now with Noppoo Choc Mini support!
http://thefloweringash.github.io/iousbhiddriver-descriptor-override
GNU Lesser General Public License v3.0
204 stars 25 forks source link

auto load kext on start up? #31

Open skw90 opened 8 years ago

skw90 commented 8 years ago

Hi,

is there a way to automatically load the kext on start up? i installed pkg and it seems that everytime i restart i have to do

sudo kextutil -v /System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext

and replug in my keyboard.

BTW my OS is El capitan and i disabled the SIP

Thanks!

xiaokunx commented 7 years ago

You could put this command in a cron job (scheduler). You would need sudo privilege, then type sudo crontab -e in terminal, which opens up a text editor (default to vim on my MBP). Type in sudo kextutil -v /System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext, then save and quit (in vim, hit Esc to switch from 'insert' mode to 'command' mode, type :wq). Then this command got run every time you reboot the machine.