syndrome3D
Support: TechNotes



TechNote #004


Directions to remove the VirtualSpeaker KEXT, using the Terminal application.
Applies to the VirtualSpeaker kernel extension, version 1.2.1.
Posted 2004-04-22.


This technote provides directions for removing the VirtualSpeaker kernel extension using the Terminal application. You must be logged in as a user with administrator privileges in order to remove the kext module.

Removing the VirtualSpeaker.kext module

If it is not already running, launch Terminal.app, which can be found in the /Applications/Utilities/ folder.

The first step is to remove the kext module stored in /System/Library/Extensions/. Enter the following command to change the current directory to that folder (press return after typing it in to execute the command):

cd /System/Library/Extensions/

You can use the ls command to get a list of files in the current folder, if you wish, to see what kernel extensions are currently installed on your system.

To delete the VirtualSpeaker.kext module, enter the following command exactly as typed below (and since you need admin privileges to delete files in this folder, you will need to enter your password when prompted):

sudo rm -r VirtualSpeaker.kext

If you want, you can again use the ls command to view the list of files, to verify that the file has been deleted.

Now that you have deleted the VirtualSpeaker.kext file, once you restart your computer, VirtualSpeaker should no longer appear in the sound control panel. When your computer boots, all of the kexts are loaded by the system and cached in memory, so removing the kext file stored on the hard drive has no effect until the computer is restarted. Restarting the computer will cause the system to reload all of the kexts from the extensions folder, and since VirtualSpeaker.kext is no longer installed, it will not be loaded.


If you would prefer not to restart your computer, you can also manually unload the kext from the kernel from the command line. Type the following command making sure it is typed correctly and with just the V & S capitalized in VirtualSpeaker (and since you need admin privileges to remove a kext when the system is running, you may need to re-enter your admin password if prompted):

sudo kextunload -b com.syndrome3d.driver.VirtualSpeaker

You will need to enter that command twice... the first time the unload will fail, because parts of the system audio code are still attached to the driver, but the second time will succeed (and you should see a success message in terminal). If it doesn't succeed the second time, check to make sure that the bundle id is typed exactly as it is above (com.syndrome3d.driver.VirtualSpeaker), and that VirtualSpeaker has not already been unloaded (you can use the kextstat command in terminal to get a list of the currently loaded kexts).



If VirtualSpeaker shows up after the next time you restart your computer, you might want to make sure that you have deleted the VirtualSpeaker.kext module. There is also a similarly named Apple kext (VirtualAudioDriver.kext) installed with some versions of MacOS X and is not part of VirtualSpeaker, which you might have deleted by accident instead, if you deleted the kext using the Finder or incorrectly entered the rm command in Terminal.



Go back



Software News Support Links About /Dev
Main Page Site Map Feedback


This page was last updated 2004/04/22

All of the graphics and animations used on this site are
©1999-2004 www.syndrome3D.com and may not be used
or distributed by others without express written permission.