Linux lspcmcia: Show Information about PCMCIA sockets and Devices

by on January 17, 2007 · 0 comments· LAST UPDATED August 17, 2012

in

How do I see information about PC Card (pcmcia) under Linux operating systems?

You can use the following command:

  1. pccardctl - PCMCIA card control utility
  2. lspcmcia - display extended PCMCIA debugging information

Type the following command:
# pccardctl ls
OR
# lspcmcia
Sample outputs:

Socket 0 Bridge:   	[yenta_cardbus] 	(bus ID: 0000:03:01.0)

To see current status for socket 0, enter:
# pccardctl status 0
Sample outputs:

  no card

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.
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , , , , , ,

Previous Faq:

Next Faq: