LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Howto remove/add a hardware driver ? (https://www.linuxquestions.org/questions/linux-newbie-8/howto-remove-add-a-hardware-driver-653250/)

vineet7kumar 07-03-2008 12:44 AM

Howto remove/add a hardware driver ?
 
I am using Ubuntu 8.04. I have two sound cards on my machine. one C-media and the other inbuilt intel card (on the intel 915GAV motherboard).
By default both the cards are installed. Now some applications use the c-media card and some the intel card. While in apps like XMMS I have to set the audio properties every time I start it.

I want to remove the intel card's driver. How do I identify it (differentiate it from other card's driver) and remove it ?

Also in case later I have to reinstall the intel card's driver how will I do that?

Thanks in advance,

Vineet

powerpleb 07-03-2008 01:41 AM

I recommend using the BIOS to disable the on-board soundcard, when you need to use it again you can re-enable it.

Basically, if you don't know, you just need to press DEL when you first turn the PC on and can see the memory and CPU info. Hunt around in the menus (it may be Advanced options or PCI devices or something) for something like 'On-board sound' and disable it. Reboot and presto, it's gone.

vineet7kumar 07-03-2008 01:49 AM

Quote:

Originally Posted by powerpleb (Post 3202561)
I recommend using the BIOS to disable the on-board soundcard, when you need to use it again you can re-enable it.

Basically, if you don't know, you just need to press DEL when you first turn the PC on and can see the memory and CPU info. Hunt around in the menus (it may be Advanced options or PCI devices or something) for something like 'On-board sound' and disable it. Reboot and presto, it's gone.

I know this method.
But in general I want to know how to identify a device driver and remove it (or reinstall it later on).
Say for eg. if I had two separate sound cards (apart from the on-board card).

Mr. C. 07-03-2008 02:01 AM

lsmod and lspci will give you details about loaded drivers and cards in PCI space, respectively. You can unload a loadable module with rmmod, but there may be dependencies.

elliott678 07-03-2008 02:21 AM

There is a chance they are both being controlled by the same driver, so it may not be so easy.

Mr. C. 07-03-2008 02:29 AM

Good point.


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