Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-21-2004, 02:31 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
CompactFlash PCMCIA Card reader problems


I was wondering if the Linux gurus could help with the following. I have a Fedora Core 2 distribution installed on Compaq Presario 700 laptop. It has a built-in PCMCIA CompactFlash Caredreader (from IBM). It's named "PC Card Adapter for IBM Microdrive". When I used a 1 Gb IBM Microdrive in it, it gets mounted automatically and when I click on Computer icon I can see "Camera" icon appearing next to floppy, cdrom and filesystem icons.

However, when I plug in a SanDisk ultra CompactFlash card, it doesn't get automounted even though I can see dmesg things like this:

Yenta: CardBus bridge found at 0000:00:0a.0 [0e11:b103]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.0, mfunc 0x01001002, devctl 0x64
Yenta: ISA IRQ mask 0x0008, PCI irq 11
hdg: SanDisk SDCFH-256, CFA DISK drive
ide3 at 0x110-0x117,0x11e on irq 11
hdg: max request size: 128KiB
hdg: 501760 sectors (256 MB) w/1KiB Cache, CHS=980/16/32
hdg: hdg1
ide-cs: hdg: Vcc = 3.3, Vpp = 0.0

So it seems that the card is visible but not mounted, right? Which OS type should i use for mounting it? I tried a couple from fstab file (auto, vfat, proc...) but with no luck.

Also, is there a way to automount it? hotplug, I hear, is now a standard part of the distribution, is there maybe another package that does it better?

(There seems to be some info here: showthread.php?s=&threadid=212745, but it didn't help me (first, there wa no sda1 mention in my dmesg output, but then again it's probably not necessary, in my case it's probably hdg, right?)

Thanks, Kirill
Old 09-21-2004, 02:54 AM   #2
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi Kirill! Welcome to LinuxQuestions!

Try mounting it manually. Issue this command (as root)
mkdir /mnt/flashcard
mount -t vfat /dev/hdg1 /mnt/flashcard

Does it work? Can you see the card contents at /mnt/flashcard then? Before removing the card, unmount it:
umount /dev/hdg1

Old 09-30-2004, 12:34 AM   #3
LQ Newbie
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
It worked, thanks!

Hi Martin!

Sorry about the delay - got to try your suggestion only now and am glad to report that it worked! The only thing that I had to tweak was to use hde1 instead og hdg1 - I ran dmesg and noticed that it was talking about SanDisk as a hde: hde1 device.

So I got a follow up question: is it possible to automate the mounting? Should I add it to the fstab file? Should I use hde1? (When I tried things previously, I tried mounting various things, inserting and remving the card and maybe not unmounting it properly... Could that have caused it to be mounted the 2nd time as hdg1?)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pcmcia 6-in-1 card reader Nightfrost Linux - Hardware 0 11-02-2005 06:00 AM
PCMCIA->CompactFlash adapter card freezes my laptop geeksunny Linux - Hardware 3 03-20-2005 11:03 AM
COMPACTFLASH Reader setup doctorwebbox Debian 9 07-26-2004 11:36 AM
PCMCIA Card reader gdarel Red Hat 3 06-03-2004 02:25 AM
PNY CompactFlash Card Reader - 2.6.4rc2 matthurne Linux - Hardware 1 03-07-2004 10:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration