Re: PCMCIA cards in laptops: do they need to be mounted/unmounted when installed/removed?



Thanks everyone for the replies. If I understand them correctly, the
situation is as follows:

PCMCIA cards can be hot plugged and hot unplugged just like for instance
USB devices.

However, also like USB devices, if the PCMCIA card is or contains a
mobile storage device, to gain access to the storage on the device it
has to be mounted. Likewise, before such a PCMCIA card, like USB
storage devices, is removed, it should be unmounted in the same manner.

As it happens, I still have a PCMCIA adapter for CF cards, which is what was used to connect CF cards to laptops before the days of USB ports on laptops. So I put a CF card in it and inserted it into a PCMCIA slot. "pcccardctl ident" returned:

product info: "HITACHI", "FLASH", "5.0", ""
manfid: 0x0007, 0x0000
function: 4 (fixed disk)

Dmesg however told me much more. It produced the following:

Probing IDE interface ide2...
hde: Hitachi XX.V.3.4.0.0, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 10
hde: max request size: 128KiB
hde: 2002896 sectors (1025 MB) w/1KiB Cache, CHS=1987/16/63
hde: hde1
ide-cs: hde: Vpp = 0.0

Sure enough, I found a directory called /dev/hde1. By creating directory /media/pccfcard and running "mount -t vfat /dev/hde1 /media/pccfcard" I had complete access to the cf card. I then added an appropriate line to /etc/fstab, which I will test after the next time I boot my laptop.

It is interesting that the adapter manufacturer is identified as Hitachi; whereas the adapter is labelled Sandisk.

I also noticed that pccardctl includes the commands insert and eject. Since the cards can be hot inserted and removed, I wonder why have these two commands.

Regards,

Ken Heard
Toronto, Canada


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: PCMCIA GigE adapters with jumbo frames
    ... the PCMCIA card vendors say which chips are in their PCMCIA cards do ... support jumbo frames was quite small for other devices (such as ... costs in place so things become more dominated by the per-byte costs. ...
    (comp.dcom.lans.ethernet)
  • RE: wireless on debian
    ... the machine is i386 and has a pcmcia card slot. ... What wireless card should I buy for this machine? ... I have never had good luck with any of the Broadcom cards under Linux. ... Debian Lenny, Ubuntu ...
    (Debian-User)
  • Re: Psion Dacom Gold Card Multi-function Cardbus
    ... >> think, are Psion Gold but not cardbus, so 16 bits cards. ... I don't think pccardd has to run on FreeBSD-5. ... FreesBIE on the laptop and the pcmcia card was recognized, no problem, ... Michel TALON ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Modem Card: Experience anyone??
    ... 3CXM756 and 3CCM756 PC Cards will work with linux. ... Zoom card that promised linux support that I couldn't get ... If I interpret this entry correctly, some guy by the name of Jim Rankin ... I tried to use the read-me that came with the pcmcia card but it ...
    (alt.os.linux.suse)
  • Re: Newbie question -Wireless Cards
    ... Fedora 8, Mandriva 2008 KDE and Knopix 2004. ... many laptops have 802.11 cards that were built by the lowest ... A lot of stuff (disks, CD/DVD+-RWs, wired NICs, video cards, monitors, ... most common USB devices) will just work. ...
    (comp.os.linux.misc)