Find the answer to your Linux question:
Results 1 to 3 of 3
Hello: Sorry for the pretty dumb question . I am extending the cdc_acm driver for a FSL device (usb-serial) but the thing is how the system knows which module to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    1

    Module loaded for specific device


    Hello:
    Sorry for the pretty dumb question . I am extending the cdc_acm driver for a FSL device (usb-serial) but the thing is how the system knows which module to load for the device? I connect it now and automatically loads the cdc_acm.o module loaded at my Fedora 2.6.x kernel. So If I create my own module how I tell the system that my device should use my driver instead of the default (sort of windows hardware device manager)?
    Thanks!

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    7
    Hi,

    I don't know if I'm right, I just started playing with kernel two months ago.
    I think You should disable the default driver in "menuconfig", enable your driver and recompile the kernel.
    Maybe there is other solution.

  3. #3
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,220
    Here's a link that should help you:
    Howto: Prevent a Linux kernel module from auto loading
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

Posting Permissions

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