.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "USB_FIND_DEVICE" "" "06 October 2005" "" "" .SH NAME usb_find_device \- find a specific usb device in the system .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct usb_device * usb_find_device (u16 \fIvendor_id\fB, u16 \fIproduct_id\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvendor_id\fB\fR the vendor id of the device to find .TP \fB\fIproduct_id\fB\fR the product id of the device to find .SH "DESCRIPTION" .PP Returns a pointer to a struct usb_device if such a specified usb device is present in the system currently. The usage count of the device will be incremented if a device is found. Make sure to call \fBusb_put_dev\fR when the caller is finished with the device. .PP If a device with the specified vendor and product id is not found, NULL is returned.