Lines Matching +full:on +full:- +full:device
2 .\" Copyright (c) 2008-2019 Hans Petter Selasky
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
39 USB access library (libusb -lusb)
236 usb stack and are not available on other operating systems, portable
250 Non-zero return values indicate a LIBUSB20_ERROR value.
288 Non-zero return values indicate a LIBUSB20_ERROR value.
368 will return non-zero if the given USB transfer is
381 This is an internal function used to synchronously clear the stall on
384 Please see the USB specification for more information on stall
420 .Bl -tag -width "LIBUSB20_TRANSFER_SINGLE_SHORT_NOT_OK"
428 Will do a clear-stall before starting the transfer.
477 frame USB CONTROL transfer depending on the control transfer length.
496 argument on the USB transfer given by the
502 argument is non-NULL the actual transfer length will be stored at the given pointer destination.
506 argument is non-zero the transfer will timeout after the given value in milliseconds.
510 This function returns zero on success else a LIBUSB20_TRANSFER_XXX value is returned.
520 This function is non-blocking.
527 This function is non-blocking, which means that the actual stop can
550 .Sh USB DEVICE OPERATIONS
559 retrieves the list of USB port numbers which the datastream for a given USB device follows.
562 The Root HUB device itself has a port path length of zero.
575 The USB device given by
578 This function returns zero on success else a LIBUSB20_ERROR value is returned.
588 The USB device given by
591 This function returns zero on success else a LIBUSB20_ERROR value is returned.
596 returns a zero terminated string describing the given USB device.
602 retrieves the device statistics into the structure pointed to by the
605 This function returns zero on success else a LIBUSB20_ERROR value is returned.
610 will close the given USB device.
612 This function returns zero on success else a LIBUSB20_ERROR value is
621 This function returns zero on success else a LIBUSB20_ERROR value is
627 will try to set the configuration index on an USB
628 device.
632 The un-configure index is 255.
634 This function returns zero on success else a LIBUSB20_ERROR value is returned.
639 returns the debug level of an USB device.
644 returns the file descriptor of the given USB device.
653 returns zero if a kernel driver is active on the given USB interface.
660 opens an USB device so that setting up USB transfers
666 This function returns zero on success else a LIBUSB20_ERROR value is
669 A return value of LIBUSB20_ERROR_BUSY means that the device is already
678 This function returns zero on success else a LIBUSB20_ERROR value is
679 returned typically indicating that the given USB device has been
685 will perform a synchronous control request on the given
686 USB device.
688 Before this call will succeed the USB device must be opened.
704 This function returns zero on success else a LIBUSB20_ERROR value is
713 This function returns zero on success else a LIBUSB20_ERROR value is
724 This function returns zero on success else a LIBUSB20_ERROR value is
731 will try to BUS reset the given USB device and restore
734 This function returns zero on success else a LIBUSB20_ERROR value is
741 will check if an opened USB device is still connected.
743 This function returns zero if the device is still connected else a LIBUSB20_ERROR value is returned.
749 sets the power mode of the USB device.
752 .Bl -tag -width "LIBUSB20_POWER_OFF"
761 This function returns zero on success else a LIBUSB20_ERROR value is
768 USB device.
773 returns the reported power usage in milliamps for the given USB device.
774 A power usage of zero typically means that the device is self powered.
782 This function returns zero on success else a LIBUSB20_ERROR value is
789 of the device descriptor.
791 The USB device need not be opened when calling this function.
796 will read out and decode the USB config descriptor for the given USB device
805 is an internal function to allocate a new USB device.
811 hardware address of the given USB device.
818 the given parent USB HUB device.
819 This value is zero for the root HUB which usually has a device address
826 returns the port number on the parent USB HUB device.
827 This value is zero for the root HUB which usually has a device address
835 device belongs to.
844 .Bl -tag -width "LIBUSB20_MODE_DEVICE"
852 returns the current speed of the given USB device.
854 .Bl -tag -width "LIBUSB20_SPEED_VARIABLE"
867 USB device.
872 will free the given USB device and all associated USB
878 will set the debug level for the given USB device.
883 will wait until a pending USB transfer has completed on
884 the given USB device.
886 A timeout value can be specified which is passed on to the
893 will return the currently selected global USB device
896 This function returns zero on success else a LIBUSB20_ERROR value is
902 will set the global USB device side mode template to
906 The template number decides how the USB device will present itself to
907 the USB Host, like Mass Storage Device, USB Ethernet Device.
911 This function returns zero on success else a LIBUSB20_ERROR value is
917 will return the device quirk according to
921 This function returns zero on success else a LIBUSB20_ERROR value is
934 This function returns zero on success else a LIBUSB20_ERROR value is
945 argument into the device quirk list.
947 This function returns zero on success else a LIBUSB20_ERROR value is
958 argument from the device quirk list.
960 This function returns zero on success else a LIBUSB20_ERROR value is
983 This function returns the next USB device in the list.
985 If NULL is returned the end of the USB device list has been reached.
990 will dequeue the given USB device pointer from the
991 backend USB device list.
998 will enqueue the given USB device pointer in the backend USB device list.
1005 will free the given backend and all USB devices in its device list.
1019 This function will return a little endian 16-bit value at the given byte offset of a message
1027 This function will encode a so-called *DECODED structure into binary
1039 This function will decode a binary structure into a so-called *DECODED
1063 .Bl -tag -width Pa