Re: Bug#28383: Ejecting PCMCIA cards at suspend time
Avery Pennarun <firstname.lastname@example.org> wrote:
> What about cardctl suspend and resume? They seem to work well for me,
> since they only cut power to the PCMCIA card without actually removing
> the driver. That means, for example, that my eth0 device doesn't go
> away, routes don't get lost, etc.
> Do the suspend/resume commands cause the same problems as eject/insert?
> Do they work as reliably?
The PCMCIA utilities are supposed to have APM support to automatically
suspend/resume the cards when the system is suspended. I'll check that
it is actually being compiled into the Debian packages before I make a
Unfortunately, some cards (most notably SCSI cards) can't do a
suspend/resume cycle, so eject/insert needs to be done. But you are
correct, it is more appropriate for cards like network cards to do
a suspend/resume rather than an eject/insert. That is why the apmd
scripts should be optional.