Find the answer to your Linux question:
Results 1 to 4 of 4
Can you please let me know how do i disable/remove the USB Host Controller driver from the kernel. I do not want any interrupts to be triggered because of the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    How to disable/remove USB Host Controller driver from the kernel


    Can you please let me know how do i disable/remove the USB Host Controller driver from the kernel. I do not want any interrupts to be triggered because of the USB. Is there a way I can unhook the usb driver module from the kernel. Am a naive user of Linux...

    root:/lib/modules/2.6.24.7-r1116/kernel/drivers$ ls -l
    drwxr-xr-x 2 501 501 0 Jun 24 2009 base
    drwxr-xr-x 2 501 501 0 Jun 24 2009 block
    drwxr-xr-x 3 501 501 0 Jun 24 2009 media
    drwxr-xr-x 3 501 501 0 Aug 14 2009 mmc
    drwxr-xr-x 2 501 501 0 Jun 24 2009 scsi
    drwxr-xr-x 2 501 501 0 Jun 24 2009 spi
    drwxr-xr-x 3 501 501 0 Jun 24 2009 video

    I read somewhere that you will find something like this[usb/storage/usb-storage.ko] inside the drivers directory mentioned above which can be used to remove but I could not find any..

    Thanks for your time and help.

    -Sam

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,217
    You can "unhook" any separately compiled module from the kernel by using the rmmod command. Open a terminal and type rmmod usb-storage.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    How do I know whether the module is separately compiled or not..If not what would be the solution..Thanks in advance

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by sam_nbr View Post
    How do I know whether the module is separately compiled or not..If not what would be the solution..Thanks in advance
    Look for the module by using the lsmod command. Or you can use more advanced options like cat and grep on the .config file in the kernel directory. If it's not compiled as a module then it's probably built into the kernel and you might have to recompile your kernel to remove it.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •