Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cardctl(8) [redhat man page]

CARDCTL(8)						      System Manager's Manual							CARDCTL(8)

NAME
cardctl - PCMCIA card control utility SYNOPSIS
cardctl [-V] command [socket] cardctl [-c config] [-f scheme] [-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 available. If it is executed by an unpriviledged user, only the informational commands are accessible. Some commands may not work or give misleading results if cardmgr is not running. COMMANDS
status Display the current socket status flags. config Display the socket configuration, including power settings, interrupt and I/O window settings, and configuration 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 scheme Use the specified file to keep track of the current configuration scheme, instead of /var/lib/pcmcia/scheme. -s stab Read current socket information from the specified file, instead of /var/lib/pcmcia/stab. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
cardmgr(8). pcmcia-cs 2000/12/13 16:50:26 CARDCTL(8)

Check Out this Related Man Page

DUMMY_CS(4)						     Kernel Interfaces Manual						       DUMMY_CS(4)

NAME
dummy_cs - PCMCIA dummy device driver SYNOPSIS
insmod dummy_cs.o [pc_debug=n] [free_ports=n] [irq_list=i,j,...] DESCRIPTION
The dummy_cs module has two purposes. It is intended as a demonstration of how to write the PCMCIA interface code for a client driver, and the source code is heavily commented. It is also written to function as a sort of generic ``point enabler'': when bound to any PCMCIA IO card, it will read the card's Configuration Information Structure, and configure the card appropriately. The configuration includes set- ting up IO and memory windows, configuring the card for interrupts, and initializing the card's PCMCIA configuration registers. It turns out that many cards report incomplete or inaccurate configuration information, due to vendor carelessness and the complexity of the data format. A vendor driver can generally take for granted many configuration details, so there is not much incentive for vendors to ensure that the on-card information is complete. Thus, the dummy_cs module is limited by its generality: since it makes no assumptions about card types, it is forced to rely on the card information, for better or worse. PARAMETERS
pc_debug=n Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging. free_ports=n A flag indicating if the IO ports allocated for the card should be freed from the kernel resource maps. This is useful if the dummy driver is being used to configure a card in preparation for loading a specific PCMCIA-unaware driver. The default is 0 (false). irq_list=i,j,... Specifies the set of interrupts that may be allocated by this driver. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
cardmgr(8), pcmcia(5). pcmcia-cs 2000/06/12 21:24:47 DUMMY_CS(4)
Man Page