linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Muni Sekhar <munisekharrms@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: usb: read interface string descriptor(iInterface) from linux service
Date: Wed, 14 Feb 2024 16:22:45 +0100	[thread overview]
Message-ID: <2024021432-woven-affix-1b4e@gregkh> (raw)
In-Reply-To: <CAHhAz+isQ5gUDBAPv3WkK6QQL6d4d0Zk4U9VCrKwKaS1RrQX+g@mail.gmail.com>

On Wed, Feb 14, 2024 at 08:04:46PM +0530, Muni Sekhar wrote:
> HI all,
> 
> USB devices can have multiple interfaces (functional units) that serve
> different purposes (e.g., data transfer, control, audio, etc.).
> 
> Each interface can have an associated string descriptor (referred to
> as iInterface). The string descriptor provides a human-readable name
> or description for the interface.
> 
> >From user space service utility, How to scan all the USB devices
> connected to the system and read each interface string
> descriptor(iInterface)  and check whether it matches "Particular
> String" or not.
> 
> The service program should trigger scanning all the USB devices on any
> USB device detection or removal. Can libusb be used for it?
> 
> Any input would be appreciated.

You asked this already on the systemd mailing list, why the duplicate
here?

      reply	other threads:[~2024-02-14 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 14:34 usb: read interface string descriptor(iInterface) from linux service Muni Sekhar
2024-02-14 15:22 ` Greg KH [this message]

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=2024021432-woven-affix-1b4e@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=munisekharrms@gmail.com \
    /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).