Subject: Re: events on pcmcia card adds?
To: Chrischen <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 05/15/2001 21:14:55
On Mon, May 14, 2001 at 09:37:17PM -0700, Chrischen wrote:
> After learning about how you can set apmd to run scripts on events like
> suspends, AC/DC power source changes, and other sundry things, I got
> wondering, is there a way to do that for pcmcia devices? Can my system
> ifconfig interfaces and start/stop other things when I add, for instance,
> my wavelan cards?
> I've scanned over the man pages and it's not readily apparent, but maybe
> one could write a userland pcmciad daemon that responds to events.
There's no hook in the kernel for that yet (but I believe someone is working
on a general event mechanism). I think you can watch syslog messages ...
Manuel Bouyer <firstname.lastname@example.org>