Find the answer to your Linux question:
Results 1 to 2 of 2
I Am not sure if this is the right location for my question. Please move it if it is not. I am working on an Embedded platform with NO USB ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    1

    [Linux kernel V2.6.13] remove USB


    I Am not sure if this is the right location for my question.
    Please move it if it is not.

    I am working on an Embedded platform with NO USB ports.
    So i want to remove the entire USB module/driver/stack to optimize the system.

    In the linux kernel configuration, I disabled the USB. and build the kernel again.

    But how can I confirm if it is totally gone / removed from my system?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by liquid_ice View Post
    I Am not sure if this is the right location for my question.
    Please move it if it is not.

    I am working on an Embedded platform with NO USB ports.
    So i want to remove the entire USB module/driver/stack to optimize the system.

    In the linux kernel configuration, I disabled the USB. and build the kernel again.

    But how can I confirm if it is totally gone / removed from my system?
    There are many things you can do.

    With uname -a you can check that you are running the kernel you compiled, and the date will help on that.

    If you enabled support for /proc/config.gz, you can take the config of the current kernel (the one that's running) from that file, that way, you can confirm that no usb stuff is enabled in that config.

    Also, you can use this to -roughly- check that no usb modules are in the modules directory:

    Code:
    find /lib/modules/$(uname -r)/ -name '*usb*'
    The best and easiest way is to pick the config, probably. Though that will not help you if you did not enable that option in your kernel.

Posting Permissions

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