[ltp] Ejecting Cardbus pc cards

Daniel Skorka linux-thinkpad@linux-thinkpad.org
Fri, 19 Jan 2007 20:36:30 +0100


On Fri, Jan 19, 2007 at 01:01:05PM -0600, Pablo Vera wrote:
> Is there a way to power down a Cardbus pc card before unplugging it ?, 
> is it really necessary ?
> 
> I know that I can "eject" a pcmcia card with:
> 
>   pccardctl eject
> 
> but this utility does not "eject" a Cardbus card, since it is not 
> pcmcia, but pci.

You mean it refuses to do so? I vaguely remember from back when I used
PCMCIA, that I did something like 'cardctl eject' before unplugging my
ethernet card, which I believe was 32 bit.

If this method really doesn't work try digging around under /sys for the
device and see if there is a file for ejecting it.

Daniel