[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#28383: Ejecting PCMCIA cards at suspend time

Avery Pennarun <apenwarr@worldvisions.ca> writes:

> On Wed, Oct 21, 1998 at 05:36:53PM +0200, sam@debian.org wrote:
> > On my Toshiba laptop, as on many others, using "apm -s" with PCMCIA cards
> > inserted will cause the machine to freeze. It would be great if apmd was
> > setup so that a card "ejection" took place (using cardctl) if cardmgr is
> > running at this time (using a wrapper script for example to check at this
> > time if cardmgr is up).

That's not the right way to fix the problem.  The system will not lock
up if you use a kernel that has APM support compiled in.  (I suspect
the starting and stopping is done automatically by cardmanager, but
I'm not sure.)

> Yes, that would be useful.  You can add scripts to do it in
> /etc/apm/suspend.d and resume.d.  I think these scripts would be better
> included in the PCMCIA packages than the apmd package, though.

> Does anyone have any comments on this?

I don't want this on my system.  The cards already are started and
stoped correctly _if_ I use a kernel with APM support.


Reply to: