public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* usb: read interface string descriptor(iInterface) from linux service
@ 2024-02-14 14:34 Muni Sekhar
  2024-02-14 15:22 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Muni Sekhar @ 2024-02-14 14:34 UTC (permalink / raw)
  To: linux-usb

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.


-- 
Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-14 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 14:34 usb: read interface string descriptor(iInterface) from linux service Muni Sekhar
2024-02-14 15:22 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox