linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>, linux-usb@vger.kernel.org
Subject: Re: Device with two interfaces - what is the probing order?
Date: Fri, 29 Mar 2024 12:47:27 +0100	[thread overview]
Message-ID: <2024032907-smokeless-imperial-f3f9@gregkh> (raw)
In-Reply-To: <77a2f290-2f63-42d8-a6d2-25840049beca@gmail.com>

On Fri, Mar 29, 2024 at 01:36:18PM +0200, Bitterblue Smith wrote:
> On 28/03/2024 22:05, Alan Stern wrote:
> > On Thu, Mar 28, 2024 at 09:08:43PM +0200, Bitterblue Smith wrote:
> >> Hi all,
> >>
> >> Given a USB Wifi device with two "identical" interfaces,
> >> in what order are the interfaces probed? Is the order guaranteed?
> > 
> > They are probed in the order that they are listed in the 
> > Get-Config-Descriptor output.  But this is not guaranteed.
> > 
> > Alan Stern
> 
> Is it guaranteed that they are probed one at a time, not in parallel?

Yes, all USB probes are in sequence.

> Oh, and what about the disconnect function? Is that guaranteed to be called not in parallel?

Yes.

hope this helps,

greg k-h

  reply	other threads:[~2024-03-29 11:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 19:08 Device with two interfaces - what is the probing order? Bitterblue Smith
2024-03-28 20:05 ` Alan Stern
2024-03-29 11:36   ` Bitterblue Smith
2024-03-29 11:47     ` Greg KH [this message]
2024-03-29 12:53       ` Bitterblue Smith

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=2024032907-smokeless-imperial-f3f9@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rtl8821cerfe2@gmail.com \
    --cc=stern@rowland.harvard.edu \
    /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).