device filtering support

Xiaofan Chen xiaofanc at gmail.com
Fri Feb 3 20:29:34 EST 2012


On Sat, Feb 4, 2012 at 9:16 AM, Vitali Lovich <vlovich at gmail.com> wrote:
>
> On Feb 3, 2012, at 5:09 PM, Xiaofan Chen wrote:
>
>> On Fri, Feb 3, 2012 at 10:07 PM, Hans de Goede <hdegoede at redhat.com> wrote:
>>> As the author of a piece of software which wants does care about any
>>> random / all usb devices I respectfully disagree with this assumption.
>>
>> The thing is that this may well work under Linux but certainly
>> not Windows. You still need to install drivers for your random
>> or all USB devices to talk to them and that is not feasible,
>
> Not if it's a HID device or is already supported by WINUSB.....
> Also, being able to find the device & having an easy way to
> say: install libusbk for this device (e.g. libusb_detach_kernel_driver)
> could do that could be beneficial.

Okay this might help to tell the user to install support drivers.

On the other hand, do not try to implement things like
libusb_detach_kernel_driver under Windows using
libwdi. We have discussed things like before and even
Pete thinks that libwdi and libusb-1.0 should be separated.



-- 
Xiaofan



More information about the libusbx mailing list