.\" 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 "SKEL_DISCONNECT" "" "06 October 2005" "" "" .SH NAME skel_disconnect \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void skel_disconnect (struct usb_interface * \fIinterface\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinterface\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP Called by the usb core when the device is removed from the system. .PP This routine guarantees that the driver will not submit any more urbs by clearing dev->udev. It is also supposed to terminate any currently active urbs. Unfortunately, \fBusb_bulk_msg\fR, used in \fBskel_read\fR, does not provide any way to do this. But at least we can cancel an active write.