LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command line help required please (remove driver) (https://www.linuxquestions.org/questions/linux-newbie-8/command-line-help-required-please-remove-driver-453676/)

jz32300 06-11-2006 06:27 AM

command line help required please (remove driver)
 
Hi

I've been trying to get Kopete working with my webcam in Ubuntu Dapper and I installed spca5xx which seems to have made things worse.

After downloading, to install it I followed the instructions and issued the following commands:

Code:

make clean
make
sudo make install

Now I'd like to remove this driver so can anybody tell me the command I should type in a terminal window please?

Thanks

David the H. 06-11-2006 07:02 AM

If it's running as a module, then you have to use modprobe to remove it from kernelspace first. Something like "modprobe -r spca5xx". Use the lsmod command to find out what modules are running.

Then, assuming you haven't deleted the source directory yet, you can usually cd into it and run "make uninstall" to undo the installation. If you deleted the build directory, or if the install script isn't set up for it, then you have to hunt the installed files down manually.
I think it may be, for this case, that all you have to do is find the spca5xx.ko file in /lib/modules and remove it. But I'm not certain about that.

jz32300 06-11-2006 07:13 AM

Quote:

Originally Posted by David the H.
If it's running as a module, then you have to use modprobe to remove it from kernelspace first. Something like "modprobe -r spca5xx". Use the lsmod command to find out what modules are running.

Then, assuming you haven't deleted the source directory yet, you can usually cd into it and run "make uninstall" to undo the installation. If you deleted the build directory, or if the install script isn't set up for it, then you have to hunt the installed files down manually.
I think it may be, for this case, that all you have to do is find the spca5xx.ko file in /lib/modules and remove it. But I'm not certain about that.

Thanks David - that seems to have cured the problem!

Many thanks!

Clive


All times are GMT -5. The time now is 04:27 PM.