CARDCTL(L) CARDCTL(L) NAME cardctl - PCMCIA card control utility SYNOPSIS cardctl [-V] command [socket] cardctl [-c config] [-f schemefile] [-s stab] scheme [name] DESCRIPTION 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. 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. If cardctl is executed by root, all commands are avail- able. If it is executed by an unpriviledged user, only the informational commands are accessible. COMMANDS status Display the current socket status flags. config Display the socket configuration, including power set- tings, interrupt and I/O window settings, and configu- ration registers. ident Display card identification information, including product identification strings, manufacturer ID codes, and function ID codes. suspend Shut down and then disable power for a socket. resume Restore power to a socket, and re-configure for use. reset Send a reset signal to a socket, subject to approval by any drivers already bound to the socket. eject Notify all client drivers that this card will be ejected, then cut power to the socket. insert Notify all client drivers that this card has just been inserted. scheme If no scheme name is given, cardctl will display the current PCMCIA configuration scheme. If a scheme name is given, cardctl will unconfigure all PCMCIA devices, and reconfigure for the new scheme. OPTIONS -V Show version information and exit. -c config Look for the card configuration database and card configuration scripts in the specified directory, instead of /etc/pcmcia. -f schemefile Use the specified file to keep track of the current configuration scheme, instead of /var/lib/misc/pcm- cia-scheme. -s stab Read current socket information from the specified file, instead of /var/run/stab. AUTHOR David Hinds - dhinds@hyper.stanford.edu SEE ALSO cardmgr(r). pcmcia-cs 1998/06/05 08:44:52 CARDCTL(L)