How do I see information about PC Card (pcmcia) under Linux operating systems?
You can use the following command:
- pccardctl – PCMCIA card control utility
- lspcmcia – display extended PCMCIA debugging information
Type the following command:
# pccardctl ls
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:03:01.0)
To see current status for socket 0, enter:
# pccardctl status 0
To get more info about socket # 0:
# pccardctl info 0
The syntax is as follows:
pccardctl command socket
Where, command can be any one of the following:
status Display the current socket status flags. config Display the socket configuration, including power settings, interrupt and I/O window settings, and configuration registers. --not yet implemented ident Display card identification information, including product identification strings, manufacturer ID codes, and function ID codes. Not yet implemented for cardbus cards. Use lspci instead. info 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. ls Display extended debugging information about the PCMCIA sockets and devices present in the system. suspend Shut down and then disable power for a socket. resume Restore power to a socket, and re-configure for use. 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.