A Macintosh Development Project

Wednesday, October 8, 2008

Messing With Drivers

Are you having trouble getting a kext (kernel extension) to load?

  • Here is the command to make them load:
     sudo kextload /System/Library/Extensions/SomeDriver.kext
  • To unload, use:
     sudo kextunload /System/Library/Extensions/SomeDriver.kext
  • For more information about the loaded kext's, use:
     sudo kextstat
  • If it still won't load, type this:
sudo su
chown -R root:wheel /System/Library/Extensions/SomeDriver.kext
chmod -R 755 /System/Library/Extensions/SomeDriver.kext .

No comments: