On 12.2.2013 12.29, "Hans de Goede" <hdego...@redhat.com> wrote:
<snip>
>On 02/12/2013 12:54 AM, Pete Batard wrote:
>>
>> Personally, the first thing I want out of hotplug from a libusbx/Windows
>> standpoint is to provide applications with the ability to notify users
<snip>
>
>We can simply add:
>
>LIBUSB_HOTPLUG_EVENT_DRIVERLESS_DEVICE_ARRIVED
>LIBUSB_HOTPLUG_EVENT_DRIVERLESS_DEVICE_LEFT

Why is necessary or beneficial to have different events for
device plug in/out for driverless devices?

In my thinking weather there is a driver or not is
logically a property of libusb_device and should
be queried from that handle and result in corresponding
error (LIBUSB_ERROR_NO_DRIVER) if passed to libusb_open().

br Kusti





------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to