Lines Matching +full:usb +full:- +full:valid
30 .Nd "USB access library"
32 USB access library
33 .Pq libusb, -lusb
39 library contains interfaces for directly managing a usb device.
49 initialise a valid libusb v1.0 context.
52 argument is non-NULL, a pointer to the libusb context is stored at
59 initialise a valid libusb v1.0 context.
62 argument is non-NULL, a pointer to the libusb context is stored at
64 Additional options, like the USB debug level, may be given using the
79 This function will return non-zero if the given
82 The valid values for
85 .Bl -tag -width LIBUSB_CAP -offset indent
98 supports detaching of the default USB driver with
125 with the list of usb devices available, adding a reference to each
245 This is a non-blocking function.
277 Perform an USB port reset for an usb device.
279 LIBUSB_ERROR_NOT_FOUND if re-enumeration is required or if the device has
284 Test if the USB device is still connected.
312 This function is non-portable.
328 This function is non-portable.
332 Re-attach an interface kernel driver that was previously detached.
344 When the interface is restored the kernel driver is allowed to be re-attached.
347 argument is non-zero the feature is enabled.
351 .Sh USB DESCRIPTORS
354 Get the USB device descriptor for the device
356 This is a non-blocking function.
362 Get the USB configuration descriptor for the active configuration.
370 Get a USB configuration descriptor based on its index
377 Get a USB configuration descriptor with a specific bConfigurationValue.
379 a non-blocking function which does not send a request through the device.
403 This function parses the USB 3.0 endpoint companion descriptor in host endian format pointed to by
412 On success the parsed USB 3.0 endpoint companion descriptor must be
417 This function is NULL safe and frees a parsed USB 3.0 endpoint companion descriptor given by
422 This function finds and parses the USB 3.0 endpoint companion descriptor given by
425 On success the parsed USB 3.0 endpoint companion descriptor must be
430 This function is NULL safe and frees a parsed USB 3.0 endpoint companion descriptor given by
435 This function queries the USB device given by
462 This function parses the USB 2.0 extension descriptor from the descriptor given by
467 On success the parsed USB 2.0 extension descriptor must be freed using the
472 This function is NULL safe and frees a parsed USB 2.0 extension descriptor given by
504 .Sh USB ASYNCHRONOUS I/O
527 .Sh USB SYNCHRONOUS I/O
530 Perform a USB control transfer.
543 Perform an USB bulk transfer.
554 Perform an USB Interrupt transfer.
562 .Sh USB STREAMS SUPPORT
567 needed to use so-called USB streams.
579 This function sets the stream ID for the given USB transfer.
583 This function returns the stream ID for the given USB transfer.
585 .Sh USB EVENTS
663 argument to non-zero.
679 argument to non-zero.
718 Returns a NULL-terminated list on success or NULL on failure.
733 arguments can be set to LIBUSB_HOTPLUG_MATCH_ANY to match any value in the USB device descriptor.
737 argument is set to LIBUSB_HOTPLUG_ENUMERATE, all currently attached and matching USB devices will be passed to the hotplug filter, given by the
748 If this function returns non-zero, the filter is removed.
797 .Xr usb 4 ,