I have an Olympus digital camera which
has only a serial interface on it. My
only serial port is in use by my modem.
So, I bought a card reader to get the
images off of the flash card.
It took me a while to get this working, so
I thought that I would share the information
with the group.
I have Mandrake 9.1 installed on my
system.
For my first attempt, I bought a PNY
reader, but I never got that one to work.
The device identifies itself as
P: Vendor=058f ProdID=9350 Rev= 1.00
S: Manufacturer=Alcor
S: Product=Mass Storage Device
It would not work with the usb-storage
driver, and no scsi disk was created
in /dev. After I dug deep enough on the
PNY web site, I finally found a statement
to the effect that it "does not work with
Linux". Works OK on Windoze. I gave up
on it.
Then, I bought and installed the Omniflash
Uno SM SmartMedia card reader. It has the
Penguin on the box. This install went
very smoothly.
The Uno SM product is described on the web site
http://www.omniflashproducts.com/
It was not easy to find a vendor for
the reader, but I finally found it at
http://www.compuapps.com/
I put the SmartMedia card into the reader,
and then I plugged the reader into the
USB port. At that point, the red LED on the
reader glowed dimly for a few seconds, then
it went out and finally came on brightly.
At that point, the USB system had recognized
the device and loaded usb-storage as the driver.
The system had also created the device special
file /dev/sda1.
All I had to do after that was to mount the
the special device on a mount point, and the
contents of the SmartMedia card were available.
Here is how to install it for mounting.
Make a mount point for mounting the scsi disk
% su root
% cd /mnt
% mkdir flasha
% chmod 777 flasha
Then, add the following line to /etc/fstab
/dev/sda1 /mnt/flasha vfat noauto,user 0 0
"vfat" is the file system type on the card
"noauto" keeps it from being mounted at boot time
"user" allows any user to mount the device.
Now, when I log in, a Device Icon shows up
on my KDE desktop showing "/dev/sda1 not mounted".
I did not have to create the icon, it
just showed up on the desktop the next time
I logged in. I guess KDE is reading /etc/fstab.
To use the reader I do the following:
1). Put the card into the reader
2). Plug the reader into the USB port
3). Wait for the light to glow brightly
4). Right click the device icon to get a menu
5). Choose Mount or Open (which also mounts)
6). Copy the images off of the card
7). Close the Konqueror (it won't unmount otherwise)
8). Right click the device icon to get a menu
9). Choose Unmount
10). Unplug the reader
11). Remove the card and put it back into the camera.
IMPORTANT
DO NOT FORGET TO UNMOUNT THE CARD BEFORE
UNPLUGGING. IT IS POSSIBLE TO CORRUPT
THE CARD CONTENTS IF IT IS REMOVED WHILE
MOUNTED.
Here are some details which you might
be interested in. Below is the spew from the
system in /var/log/messages when I plugged
the card reader into the USB port.
You should see something like this in
your messages file if all the right pieces
are in place for this device.
-------------- begin spew ----------------------
Jul 25 16:05:47 localhost kernel: hub.c: new USB device 00:1d.2-1, assigned address 2
Jul 25 16:05:47 localhost kernel: usb.c: USB device 2 (vend/prod 0x55aa/0xb00c) is not claimed by any active driver.
Jul 25 16:05:51 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product 55aa/b00c/103
Jul 25 16:05:51 localhost kernel: Initializing USB Mass Storage driver...
Jul 25 16:05:51 localhost kernel: usb.c: registered new driver usb-storage
Jul 25 16:05:51 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 216
Jul 25 16:05:51 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jul 25 16:05:51 localhost kernel: Vendor: Model: Rev:
Jul 25 16:05:51 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Jul 25 16:05:51 localhost kernel: USB Mass Storage support registered.
Jul 25 16:05:51 localhost /etc/hotplug/usb.agent: Module setup usb-storage for USB product 55aa/b00c/103
Jul 25 16:05:51 localhost /etc/hotplug/usb/usb-storage: Load scsimon
Jul 25 16:05:51 localhost /etc/hotplug/usb/usb-storage: loading ... scsimon
Jul 25 16:05:51 localhost /etc/hotplug/scsi.agent: sr_mod allready loaded
Jul 25 16:05:51 localhost /etc/hotplug/scsi.agent: loading ... sd_mod
Jul 25 16:05:51 localhost kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Jul 25 16:05:53 localhost kernel: SCSI device sda: 16000 512-byte hdwr sectors (8 MB)
Jul 25 16:05:53 localhost kernel: sda: Write Protect is off
Jul 25 16:05:53 localhost kernel: /dev/scsi/host1/bus0/target0/lun0: p1
-------------- end spew ----------------------
I also purchased at the same time the Omniflash
reader for the MemoryStick. That device also went in
smoothly, and it created the device /dev/sdb1.
I added the line
/dev/sdb1 /mnt/flashb vfat noauto,user 0 0
to /etc/fstab for the mount point, and that device
also shows up on my desktop. The reader is
identified as 0x55aa:b00b, as shown below.
Jul 26 21:13:01 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product 55aa/b00b/600
Jul 26 21:13:01 localhost /etc/hotplug/usb.agent: Module setup usb-storage for USB product 55aa/b00b/600