2016年1月25日 星期一

如何載入及卸載OSX核心延伸模組/How to load /unload kernel extension(kext)

如何載入及卸載 OSX 核心延伸模組/ How to load /unload kernel extension(kext)

打開終端機視窗 open termial.app and type follow command

載入/Load
sudo kextload /Library/Extensions/[xxxxxx.kext]

或是使用APP的 bundle identifier / load  kext by bundle identifier
sudo kextload -b com.hardware.driver

卸載/Unload
sudo kextunload /Library/Extensions/[xxxxxx.kext]

或是使用APP的 bundle identifier /Unload kext by bundle identifier
sudo kextunload -b com.hardware.driver

查看已經載入的核心延伸模組 / List kext loaded and grep for hardware.driver
sudo kextstats |grep com.hardware.driver

或是使用系統資訊工具

沒有留言:

張貼留言