.\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net.\" cardctl.8 1.18 2002/08/19 03:08:44.\".TH CARDCTL 8 "2002/08/19 03:08:44" "pcmcia-cs".SH NAMEcardctl \- PCMCIA card control utility.SH SYNOPSIS\fBcardctl\fR [\fB-V\fR] \fIcommand\fR [\fIsocket\fR].br\fBcardctl\fR[\fB\-c \fIconfig\fR] [\fB\-f \fIscheme\fR] [\fB\-s \fIstab\fR]\fBscheme\fR [\fIname\fR].SH DESCRIPTION\fBCardctl\fR is used to monitor and control the state of PCMCIAsockets. If a socket number is specified, the command will be appliedto just one socket; otherwise, all sockets will be affected..PP\fBCardctl\fR is also used to select between multiple PCMCIAconfiguration schemes. The current scheme name is passed to thedevice option scripts as part of the ``device address'', so thescripts can use it to choose between different setups..PPIf \fBcardctl\fR is executed by root, all commands are available. Ifit is executed by an unpriviledged user, only the informationalcommands are accessible..PPSome commands may not work or give misleading results if \fBcardmgr\fRis not running..SH COMMANDS.TP \w'abcd'u.B statusDisplay the current socket status flags..TP.B configDisplay the socket configuration, including power settings, interruptand I/O window settings, and configuration registers..TP.B identDisplay card identification information, including productidentification strings, manufacturer ID codes, and function ID codes..TP.B infoMuch like the \fBident\fR command, but its output is formatted as aseries of Bourne-stype shell variable definitions for use in scripts..TP.B suspendShut down and then disable power for a socket..TP.B resumeRestore power to a socket, and re-configure for use..TP.B resetSend a reset signal to a socket, subject to approval by any driversalready bound to the socket..TP.B ejectNotify all client drivers that this card will be ejected, then cutpower to the socket..TP.B insertNotify all client drivers that this card has just been inserted..TP.B schemeIf no scheme name is given,.B cardctlwill display the current PCMCIA configuration scheme. If a schemename is given,.B cardctlwill unconfigure all PCMCIA devices, and reconfigure for the newscheme..SH OPTIONS.TP.B \-VShow version information and exit..TP.BI "\-c " configLook for the card configuration database and card configurationscripts in the specified directory, instead of.IR /etc/pcmcia ..TP.BI "\-f " schemeUse the specified file to keep track of the current configurationscheme, instead of.IR /var/lib/pcmcia/scheme ..TP.BI "\-s " stabRead current socket information from the specified file, instead of.IR /var/lib/pcmcia/stab ..SH AUTHORDavid Hinds \- dahinds@users.sourceforge.net.SH "SEE ALSO"cardmgr(8).