PCMCIA card control utility lspcmcia
pccardctl [-V] [-v ...] command [socket] lspcmcia [-V] [-v ...] [socket]
pccardctl 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.
If pccardctl is executed by root, all commands are available. If it is executed by an unpriviledged user, only the informational commands are accessible.
lspcmcia is an alias for pccardctl ls, provided for convenience.
- Display the current socket status flags.
- Display the socket configuration, including power settings, interrupt and I/O window settings, and configuration registers. --not yet implemented
- Display card identification information, including product identification strings, manufacturer ID codes, and function ID codes. Not yet implemented for cardbus cards. Use lspci instead.
- Much like the ident command, but its output is formatted as a series of Bourne-stype shell variable definitions for use in scripts. Not yet implemented for cardbus cards.
- Display extended debugging information about the PCMCIA sockets and devices present in the system.
- Shut down and then disable power for a socket.
- Restore power to a socket, and re-configure for use.
- Notify all client drivers that this card will be ejected, then cut power to the socket.
- Notify all client drivers that this card has just been inserted.
- Show version information and exit.
- Increase the verbosity of the ls command. Giving this option twice increases verbosity further.
Daniel Ritz - email@example.com based upon the original cardctl man page by David Hinds - firstname.lastname@example.org