Next-in-Thread Next Message

Question SmartMedia flash memory as ide device? 

Forum: PCMCIA Memory Device Issues
Date: 1999, Nov 04
From: Richard K. Belew rik

i'm trying to read (Fujifilm DX-10) digital camera images
from its SmartMedia card, via a PCMCIA adapter from Viking.
cardmgr recognizes seems to recognize the insertion
and think it's an ide device.   

# cardctl config

Socket 1:
  Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
  Interface type is memory and I/O
  IRQ 9 is exclusive, level mode, enabled
  Function 0:
    Config register base = 0x0200
      Option = 0x41, status = 0000, pin = 0000, copy = 0000
    I/O window 1: 0x0140 to 0x014f, auto sized

# cardctl ident

Socket 1:
  product info: "       ", "    ", "0.0"
  manfid: 0x0000, 0x0000
  function: 4 (fixed disk)


From /var/log/messages:

Nov  3 14:47:30 host cardmgr[319]: executing: './ide start hde'
Nov  3 14:47:30 host cardmgr[319]: + ./ide: /sbin/ide_info: No such file or directory

i don't know what the missing ide_info means?

/var/run/stab shows:

Socket 1: ATA/IDE Fixed Disk
1	ide	ide_cs	0	hde	33	0

i've looked thru the PCMCIA cardmgr HOWTO 
but i don't seem to be able to do the right
combination of ftl_format and/or mount filesystem
specs.   should i be treating it like an ide disk
or flash memory?

as a workaround, i've tried using my Win95 partition
to copy the files off the card onto the harddisk (that works), 
then mounted that partition under linux.
but while i can see the full 300k .jpg files (which are actually
exif format!), when i try to copy them or open them
them, the files get truncated to only the first 58 bytes?!
is there some EOF mark that stops the linux read, or...?

anybody else tried to make this work?

-- 
Richard K. Belew                   rik@cs.ucsd.edu
                       http://www.cs.ucsd.edu/~rik

Computer Science & Engr. Dept.      858 / 534-2601
Univ. California -- San Diego       858 / 532-0702 (msgs)
9500 Gilman Dr. (0114)              858 / 534-7029 (fax)

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Yes, SmartMedia cards are IDE devices by David Hinds, 1999, Nov 04

Add Message to: "SmartMedia flash memory as ide device?"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10