libusb.3 (9c79794016d679440487dea61b3b986397c9ecbb) libusb.3 (c54c1f7c08e26ef706ab475fde2118d1f21ea798)
1.\"
2.\" Copyright (c) 2008 Hans Petter Selasky
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
1.\"
2.\" Copyright (c) 2008 Hans Petter Selasky
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 12 unchanged lines hidden (view full) ---

21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd April 5, 2009
29.Dd May 21, 2009
30.Dt LIBUSB 3
31.Os
32.Sh NAME
33.Nm libusb
34.
35.Nd "USB access library"
36.
37.

--- 105 unchanged lines hidden (view full) ---

143.Ft int
144.Fn libusb20_dev_reset "struct libusb20_device *pdev"
145.Ft int
146.Fn libusb20_dev_set_power_mode "struct libusb20_device *pdev" "uint8_t power_mode"
147.Ft uint8_t
148.Fn libusb20_dev_get_power_mode "struct libusb20_device *pdev"
149.Ft int
150.Fn libusb20_dev_set_alt_index "struct libusb20_device *pdev" "uint8_t iface_index" "uint8_t alt_index"
30.Dt LIBUSB 3
31.Os
32.Sh NAME
33.Nm libusb
34.
35.Nd "USB access library"
36.
37.

--- 105 unchanged lines hidden (view full) ---

143.Ft int
144.Fn libusb20_dev_reset "struct libusb20_device *pdev"
145.Ft int
146.Fn libusb20_dev_set_power_mode "struct libusb20_device *pdev" "uint8_t power_mode"
147.Ft uint8_t
148.Fn libusb20_dev_get_power_mode "struct libusb20_device *pdev"
149.Ft int
150.Fn libusb20_dev_set_alt_index "struct libusb20_device *pdev" "uint8_t iface_index" "uint8_t alt_index"
151.Ft int
152.Fn libusb20_dev_get_device_desc "struct libusb20_device *pdev" "uint8_t iface_indexr", "char *buf" "uint8_t len"
151.Ft struct LIBUSB20_DEVICE_DESC_DECODED *
152.Fn libusb20_dev_get_device_desc "struct libusb20_device *pdev"
153.Ft struct libusb20_config *
154.Fn libusb20_dev_alloc_config "struct libusb20_device *pdev" "uint8_t config_index"
155.Ft struct libusb20_device *
156.Fn libusb20_dev_alloc "void"
157.Ft uint8_t
158.Fn libusb20_dev_get_address "struct libusb20_device *pdev"
159.Ft uint8_t
160.Fn libusb20_dev_get_bus_number "struct libusb20_device *pdev"

--- 779 unchanged lines hidden (view full) ---

940.Fn usb_get_busses
941These functions are compliant with LibUSB version 0.1.12.
942.
943.Sh FILES
944.
945.
946/dev/usb
947.Sh SEE ALSO
153.Ft struct libusb20_config *
154.Fn libusb20_dev_alloc_config "struct libusb20_device *pdev" "uint8_t config_index"
155.Ft struct libusb20_device *
156.Fn libusb20_dev_alloc "void"
157.Ft uint8_t
158.Fn libusb20_dev_get_address "struct libusb20_device *pdev"
159.Ft uint8_t
160.Fn libusb20_dev_get_bus_number "struct libusb20_device *pdev"

--- 779 unchanged lines hidden (view full) ---

940.Fn usb_get_busses
941These functions are compliant with LibUSB version 0.1.12.
942.
943.Sh FILES
944.
945.
946/dev/usb
947.Sh SEE ALSO
948.Xr usb2_core 4 ,
948.Xr usb 4 ,
949.Xr usbconfig 8
950.
951.
952.Sh HISTORY
953.
954.
955Some parts of the
956.Nm
957API derives from the libusb project at sourceforge.
949.Xr usbconfig 8
950.
951.
952.Sh HISTORY
953.
954.
955Some parts of the
956.Nm
957API derives from the libusb project at sourceforge.