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

Re: USB card readers that work?



richard lyons wrote:
On Wednesday 19 May 2004 15:52, Walter Tautz wrote:

I would imagine almost anything would work but I'd like
a list of models people have used with debian and which
they may have also used with their digital cameras. My intent

[...]
As far as I can see, anything does work.  I have an
Olympus C220, which happens to be one that is not
> supported by gphoto etc (apparently on account of a
> coding error by Olympus IIRC), but I simply pop the
> smart-media cards into any card reader that is around
and read it, write it or whatever (In fact, I also use
> them for data transfer from country to country or from
computer to computer).

Same here.

I use the cheapest available reader, a blue blob called
> "PC-line". I recollect it cost 7 GBP.  I also use one
of the same brand for SD cards. The only problem is the need to reboot when switching between types of media
(though I am told the usb can be reset without rebooting
- I forget how and have been too lazy to look it up).

While I'm fairly sure that a large proportion of the readers of this list already know all of what comes next, just incase there are any newbies who are interested <G>...

The only way I know of doing it is to "mount" and "unmount"
the flash memory just like I do a cdrom.

What I did was:

su - [to get to root, of course]
cd /
mkdir cflash
cd /etc
nano /etc/fstab

Then in fstab I just put the line:

/dev/sda1 /cflash vfat defaults,rw,user,noauto,gid=50,umask=002,exec 0 2

[all on one line, of course. *sigh* wordwrap gets you every time.]

Note: This line DOES assume that you have sda1 available, if you don't then use whatever sd you have available. I also have such links for two more flash cards at sdb1 and sdc1.

Then if you don't have "usb-storage" compiled into your kernal, do a

"sudo modprobe usb-storage"

and as long as your system is up you can just do a

mount /cflash to access your flash card.
umount /cflash to dismount your flash card and switch.

[snip]
--

        SJ Straith
        linux@sarahj.net
        straith@modusvarious.com

May the Lords of Luck and Chance be always at your
side, and may your hand always be a winner.

************************************************************
** There is always more than one way to do a job.         **
** The object is to pick the most effective way to do it. **
************************************************************
** You can have Freedom or Peace,                         **
**  Don't EVER count on having both.                      **
************************************************************



Reply to: