On Tue, Aug 21, 2012 at 5:12 PM, Hans de Goede <hdego...@redhat.com> wrote: > Signed-off-by: Hans de Goede <hdego...@redhat.com> > --- > libusb/core.c | 4 ++++ > libusb/os/linux_usbfs.c | 6 ++++++ > 2 files changed, 10 insertions(+) > > diff --git a/libusb/core.c b/libusb/core.c > index 7c2f4d7..4c513f7 100644 > --- a/libusb/core.c > +++ b/libusb/core.c > @@ -1513,6 +1513,10 @@ int API_EXPORTED > libusb_kernel_driver_active(libusb_device_handle *dev, > * > * This functionality is not available on Darwin or Windows.
Just a minor comment, now that libusb/libusbx work under other OS like BSDs, shall we change the above comments to the following? * This functionality is only available on Linux. > * > + * Note that libusb itself also talks to the device through a special kernel > + * driver, if this driver is already attached to the device, this call will > + * not detach it and return LIBUSB_ERROR_NOT_FOUND. > + * > * \param dev a device handle > * \param interface_number the interface to detach the driver from > * \returns 0 on success -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel