Re: Adding and removing a pc card

From: Peter Browry (pbrowry_at_yahoo.com)
Date: 07/22/04


Date: Thu, 22 Jul 2004 14:50:40 -0400

On 07/22/04 12:00, Dances With Crows wrote:<br>
> 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,

Thanks for the quick reply. I checked the man pages and it seems to be the
correct answer.

The problem is that I tried to use the command above several times
and each time the computer stucks and I have to reboot it (??)

Any guess why this happens?

Thank you,

-Peter



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: pcnet_cs device eth0 does not seem to be present
    ... done everything you told me to (include reboot). ... > before pcmcia is started and the card controller module is loaded. ... >> though it is because Fedora lack the driver of the ethernet card. ...
    (Fedora)