.\" Copyright (c) 1995 David Hinds .\" cardctl.8 1.6 1996/01/23 18:38:13 .\" .TH CARDCTL 8 "1996/01/23 18:38:13" "Stanford University" .SH NAME cardctl \- PCMCIA card control utility .SH SYNOPSIS .B cardctl command .RB [ sock ] .BR .B cardctl scheme .RB [ name ] .SH DESCRIPTION .B Cardctl is used to monitor and control the state of PCMCIA sockets. If a socket number is specified, the command will be applied to just one socket; otherwise, all sockets will be affected. .PP .B Cardctl is also used to select between multiple PCMCIA configuration schemes. The current scheme name is passed to the device option scripts as part of the ``device address'', so the scripts can use it to choose between different setups. .PP If .B cardctl is executed by root, all commands are available. If it is executed by an unpriviledged user, only the informational commands are accessible. .SH COMMANDS .TP \w'abcd'u .B status Display the current socket status flags. .TP .B config Display the socket configuration, including power settings, interrupt and I/O window settings, and configuration registers. .TP .B suspend Shut down and then disable power for a socket. .TP .B resume Restore power to a socket, and re-configure for use. .TP .B reset Send a reset signal to a socket, subject to approval by any drivers already bound to the socket. .TP .B eject Notify all client drivers that this card will be ejected, then cut power to the socket. .TP .B insert Notify all client drivers that this card has just been inserted. .TP .B scheme If no scheme name is given, .B cardctl will display the current PCMCIA configuration scheme. If a scheme name is given, .B cardctl will unconfigure all PCMCIA devices, and reconfigure for the new scheme. .SH AUTHOR David Hinds \- dhinds@allegro.stanford.edu .SH "SEE ALSO" cardmgr(8).