kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: module loading order
Date: Wed, 11 May 2011 14:42:15 -0700	[thread overview]
Message-ID: <20110511214215.GA22141@kroah.com> (raw)
In-Reply-To: <4DCAFE8C.90108@gmx.com>

On Wed, May 11, 2011 at 10:24:28PM +0100, Simon Leung wrote:
> 
> > Yes, and so is the option module.  But you are looking at a wierd device
> > that somehow thinks it is both an option device, and a pl2303 device,
> > which are totally different chipsets.
> 
> If I understand modules.dep correctly, it says that both pl2303 depend 
> on usbserial.

You mean "both pl2303 and option", then yes.

> So when either is loaded, usbserial will be loaded.

Yes.

> But the problem here is that pl2303 should not be loaded at all as
> it's for USB-serial adapter, not 3G modem. I'm not sure what controls
> that.

The descriptors of the device itself.

What does 'lsusb' show with this device plugged in?

And what kernel version are you using here?

thanks,

greg k-h

  reply	other threads:[~2011-05-11 21:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 16:08 module loading order Vikram Narayanan
2011-05-11 16:14 ` Greg KH
2011-05-11 21:24   ` Simon Leung
2011-05-11 21:42     ` Greg KH [this message]
2011-05-12  8:33       ` Simon Leung
2011-05-12 13:48         ` Greg KH
2011-05-12 13:54           ` Simon Leung
  -- strict thread matches above, loose matches on Subject: below --
2011-05-11  8:00 Simon Leung
2011-05-11 13:41 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110511214215.GA22141@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).