Scan all USB devices from Linux service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux