Re: Adding and removing a pc card

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 07/22/04


Date: 22 Jul 2004 16:00:51 GMT

On Thu, 22 Jul 2004 11:00:25 -0400, Peter Browry staggered into the
Black Sun and said:
> I recently bought a [PCMCIA] card for my laptop to provide USB 2.0
> support (it is a D-Link USB 2.0 2-Port Cardbus Adapter ).
>
> If I plug it in and then boot, the card works fine. But if I remove
> it without first turning off the computer, linux stucks and I need to
> reboot my box. I use Mandrake 9.0.

Use the cardctl utility. "cardctl eject" will tell the kernel modules
that a PCMCIA card is about to be ejected, then cut power to the socket
the PCMCIA card's in. I have never needed to use cardctl with PCMCIA
storage devices (CF and SmartMedia PCMCIA adapters) but I've had to use
it with PCMCIA Ethernet cards. HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume


Relevant Pages

  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: PCMCIA I82365 issue
    ... PC Card socket driver and PC Card service has to be loaded at phase one. ... After I insert the PCMCIA CF card in the PCMCIA slot the system ... ISA PCCARD: ThreadRun Intrstatus bCardStatusChange = 0x8, ... 0x83f29800: PCCARD: PCMCIA memory window created ...
    (microsoft.public.windowsce.platbuilder)
  • Re: ewf flash partitioning
    ... I am using PCMCIA ATA flash cards, not CF although I understand they're the ... windows under the 'Volumes' tab of the disk properties the 'Partition Style' ... success with the latest SanDisk card? ...
    (microsoft.public.windowsxp.embedded)
  • Re: CF card detection in WinCE 5.0
    ... We have taken the first or second PCMCIA slot from a Mainstone-type ... board and made that into a CF card slot previously, ... I've been trying to use a Compact Flash for some time, ... operation (no ATAPI driver, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: IBM ps2 Micro Channel Soundblaster
    ... > Wireless ethernet via the PCMCIA Adapter/A comes to mind,;). ... that Olicom card is really an awful design. ... Can you tell my selection of PCMCIA cards is not the best? ... > the same modification, ie, the ability to find the adapter. ...
    (comp.sys.ibm.ps2.hardware)