.\" 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_RESUME_DEVICE" "9" "09 October 2005" "" "" .SH NAME usb_resume_device \- re-activate a suspended usb device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int usb_resume_device (struct usb_device * \fIudev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIudev\fB\fR device to re-activate .SH "CONTEXT" .PP must be able to sleep; device not locked .SH "DESCRIPTION" .PP This will re-activate the suspended device, increasing power usage while letting drivers communicate again with its endpoints. USB resume explicitly guarantees that the power session between the host and the device is the same as it was when the device suspended. .PP Returns 0 on success, else negative errno.