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

Re: how to use pc card



Robert Storey wrote:
On Wed, 16 Mar 2005 08:46:01 -0500
Paul <paula4l@access4less.net> wrote:


Robert Storey wrote:

On Tue, 15 Mar 2005 21:15:16 -0500
Paul <paula4l@access4less.net> wrote:



I've recently installed debian unstable on my laptop, with kernel-2.4.27-2-686. I have a usb-2 pc card that I want to install.

Under $M, I can plug it in and it will be recognized.  But, to

remove  >it, I have to "stop" it, before I can safely remove it.

How is this done in debian?  Is it necessary to "stop" the card

before >

removing it?  What deb packages do I need.


Are you talking about a memory card? If so, as root, do the
following:

  mkdir /card
  mount /dev/sda1 /card

Then to unmount it:

  umount /card

regards,
Robert



No, it's just a standard pc card that plugs into my pc-card-slot, and provides 2 usb-2 connections. I just don't know whether it needs to
be  "stopped" somehow before I eject it from the slot.

Paul


Dear Paul,

Offhand, I don't know, since I don't have one of those cards to play
with, but I have a suggestion on how to find out. Insert the card, then
run the command:

   lspci

Your USB ports should (hopefully) show up in the output. Now remove the
card and rerun lspci - the USB ports should be gone. If they're gone,
then you've got no problem. If they're not gone, then there is a problem
and you'll need some way of stopping it (other than rebooting, which is
kind of messy).

Sorry I can't give you more info, but try this experiment and see what
results you get.

regards,
Robert



OK, I'll try it .. I've 'tail -f /var/log/messages' so, I can see them, but can't copy and include them in this email.

Plugging in works! There's no beep when it seats .. according to what I've read in pcmcia-cs that may mean that pcmcia grabbed it instead of hotplug.

lspci shows the additional USB Controllers and lsusb shows the added slots. And, plugging in my usb cdrw works.

Here's the bad news .. unplugging the card causes 'kernel: Ooops 0000' in /var/log/messages and the keyboard locks until I reboot. The mouse still works and apps will open and can be closed, but nothing takes from the keyboard and no way to troubleshoot. Even jumping in and out of the Xserver makes no difference.

Help ...

Paul



Reply to: