.\" 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 "DETACH_SHOW" "" "06 October 2005" "" "" .SH NAME detach_show \- control the default power state for the device. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp ssize_t detach_show (struct device * \fIdev\fB, char * \fIbuf\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .TP \fB\fIbuf\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP This is the state the device enters when it's driver module is unloaded. The value is an unsigned integer, in the range of 0-4. '0' indicates 'On', so no action will be taken when the driver is unloaded. This is the default behavior. '4' indicates 'Off', meaning the driver core will call the driver's shutdown method to quiesce the device. 1-3 indicate a low-power state for the device to enter via the driver's suspend method.