pin

Display PC Card information


Note: You must be root to run this utility.

Syntax:

pin [-s socket] [command]

Runs on:

Neutrino

Options:

-s socket
Display information about this PC Card socket only (starting at 1).

Description:

The pin utility displays useful information about PC Card resources, servers and cards.

The command specifies the type of information to be displayed:

status
Show the status of each socket. This is the default command.
config
Attempt to make configuration file entries (obsolete).
cis
Decode the Card Information Structure (CIS) on the card.

The QNX Neutrino PC Card server (devp-pccard) automatically configures PCMCIA/CardBus I/O cards as they're inserted. It also manages computer resources such as memory windows, ports and IRQs. Resources are allocated as cards are inserted and then freed as cards are removed.

Drivers that are PC Card-aware can be informed of card insertions and removals, based on the type of card. These drivers can then configure themselves to use the correct ports and IRQs (see the pccard_* functions in the Library Reference). The pccard-launch utility automatically starts drivers and passes them command-line arguments describing the ports and IRQs used by the card, thus permitting a non-PC Card-aware driver to be automatically started when the card is inserted and stopped when removed.

See also:

devp-pccard, pccard-launch

Connecting Hardware in the Neutrino User's Guide