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?