Re: How to notify application?

dhinds <[email protected]> Tue, 12 Nov 2002 13:14:41 -0800
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
On Tue, Nov 12, 2002 at 05:38:53PM +0100, Steven Scholz wrote:
> Hi,
> 
> Is there a nice way of notifying a random application of card
> insertion/removal events?

If you want to monitor all such events, the application can use the
same ioctl based API used by the cardmgr and cardinfo programs.  The
API is documented in the Programmer's Guide.  Depending on the type of
interaction required, if you are only interested in events for certain
card types, you can also modify the scripts in /etc/pcmcia that are
invoked by cardmgr in response to card status change events.

-- Dave




-------------------------------------------------------
This sf.net email is sponsored by: 
To learn the basics of securing your web site with SSL, 
click here to get a FREE TRIAL of a Thawte Server Certificate: 
http://www.gothawte.com/rd522.html