device filtering support

Hans de Goede hdegoede at redhat.com
Fri Feb 3 09:07:56 EST 2012


Hi,

On 02/03/2012 02:03 PM, Xiaofan Chen wrote:
> On Fri, Feb 3, 2012 at 7:27 PM, Pete Batard<pete at akeo.ie>  wrote:

<snip>

> I believe most of the use cases of libusb only cares about one or a few
> particular device, with known VID/PIDs. Therefore I do not see the need
> of enumerating all device.

As the author of a piece of software which wants does care about any
random / all usb devices I respectfully disagree with this assumption.

>
> Just another example, for hot plug event, do most users only
> want to listen to the hot-plug event of interested device? Or do
> they want to listen to all the hot-plug event of all USB device?

I would very much would like to be notified about any USB device
getting plugged in or unplugged.

Regards,

Hans



More information about the libusbx mailing list