Voodooprojects

VoodooPower => General Discussion => Topic started by: Kal on July 26, 2010, 03:00:30 AM

Title: User's Guide?
Post by: Kal on July 26, 2010, 03:00:30 AM
As far as I can tell from the Google Code site, superhai.com, and voodooprojects.org, there is no user's guide, and insufficient explanatory notes.

Here are two questions that need to be answered:
Title: Re: User's Guide?
Post by: Lord Anubis on July 27, 2010, 07:43:11 PM
To answer your first question.

Every kext installed should undergo the following commands as administrator or root

How to Install a Kext in General.

( KextName.kext is your kext that you wan to install )

if you want to replace an existing kext, this command will rename the kext and back it up.
cd to your /S/L/E

Code: [Select]
cd /System/Library/Extensions
mv KextName.kext KextName.old


cd to your kext witch you want to install

Code: [Select]
cd /path/to/new/kext
cp -R KextName.kext /System/Library/Extensions


fix permissions (the root/system is using this kext, not you as user ), and use -R option because the kext is a bundle and got things inside that should be corrected as well.

Code: [Select]
cd /System/Library/Extensions
chmod -R 755 KextName.kext
chown -R 0:0 KextName.kext 
or chown -R root:wheel KextName.kext

( Edited to make it more clear )
Depending on your os version, you need to search and remove the kext cache. You can check which one exists.
Search inside /System/Library/ or inside /System/Library/Caches/com.apple.kext.caches/Startup/ for Extensions.mkext.

Use to remove the kext cache;
Code: [Select]
rm /System/Library/Extensions.mkextor with 10.6
Code: [Select]
rm /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
Be sure to be an administrator or root.

HTH
Title: Re: User's Guide?
Post by: Kal on July 28, 2010, 03:17:50 PM
Thank you, Lord Anubis, for clearing things up.  :)

However...

depending on your os version, You can check which one exists, use

Code: [Select]
rm /System/Library/Extensions.mkext or with 10.6
Code: [Select]
rm /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

The part in bold looks a bit strange to me. Is there a part of the sentence missing? From the looks of it, the commands serve to clean up Mac OS X's kext cache.

By the way, here are two more questions that I would like to bring up:

Cheers.
Title: Re: User's Guide?
Post by: Lord Anubis on August 06, 2010, 10:20:12 AM
Thank you, Lord Anubis, for clearing things up.  :)

However...

depending on your os version, You can check which one exists, use

Code: [Select]
rm /System/Library/Extensions.mkext or with 10.6
Code: [Select]
rm /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

The part in bold looks a bit strange to me. Is there a part of the sentence missing? From the looks of it, the commands serve to clean up Mac OS X's kext cache.


Yes, your right, it reads strange and there should indeed a sentence be there.
Actualy, I did meant to write.

You can check which one exists.
Use
Code: [Select]
rm /System/Library/Extensions.mkext or with 10.6
Code: [Select]
rm /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkextto remove the old kext cache.

But even that isn't very clear.

So I did update my former post.
Thanks for the correction.