LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-11-2005, 02:17 PM   #1
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Rep: Reputation: 15
Linux Multi Flash Card Reader


I am currently developing an embedded product using Linux that must have a USB based multi port flash reader. It must support the most common flash card form factors and USB flash drives. It should also be internal (for example fit into a 3.5 inch internal drive bay). Can anyone recommend a flash reader that they have tested with Linux that meets these requirements?

If so what flavor of Linux and what version(s) have you tried it on? Did you have to do anything special to get the flash drives recognized and mounted (in addition to adding an entry to fstab, creating a mount directory and mounting the device)? Which flash cards/drives did you try? Any other useful tidbits of info?

I am partial to Redhat if you have info on that (9 or FC 3) but only because I haven't used the Debian, Suse and Slackware distributions in about 3 years.
 
Old 04-11-2005, 04:01 PM   #2
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
Hi,

My father's machine has got an el-cheapo 'In-win Developments' 6 in 1 card reader fitted (goes in a 3.5" bay) which works well with SuSE 9.2, Mandrake 10...

The latest distros (SuSE 9.2 included here), such as Fedora Core 3, Ubuntu, use dbus/HAL/udev - so you plug a card into the reader and up pops a dialog box on-screen - neat. Earlier distros (such as the Mandrake 10 above) still offer support, but the card has to be manually mounted - no big deal, just an extra step.
 
Old 04-14-2005, 11:56 AM   #3
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks for the info. I put in my PO for that In-Win device. I hope it doesn't go obsolete soon. I also ordered a couple of others for testing and will post the results of those tests when I finish.
 
Old 07-13-2005, 06:32 PM   #4
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Original Poster
Rep: Reputation: 15
Results:

I was not able to order that In-Win device because it was obsolete. Instead I tested a Sabrent 15 in 1 (now obsolete), an Apacer 15 in 1 and an Addonics Digidrive. Each of these usb flash card readers has 4 slots for reading the different types of flash drives and all 3 worked the same way. I did like that the Addonics came with a cable to go from the internal usb header that the device uses, to an external one (useful for my testing), even though the cable was incorrectly wired (easily fixed). But I liked that the Sabrent and the Apacer had an additional USB connector on the front.

In order to mount the devices, I found the best way (on Redhat 9 at least) was to edit /etc/modules.conf and add the line:
options scsi_mod max_scsi_luns=8
Then create 4 different mount directories in /mnt, one for each drive.
(For example /mnt/flash1, /mnt/flash2, /mnt/flash3, /mnt/flash4)
After installing the USB reader and rebooting, I could then mount each of the drives:
mount -t vfat /dev/sda1 /mnt/flash1
mount -t vfat /dev/sdb1 /mnt/flash2
mount -t vfat /dev/sdc1 /mnt/flash3
mount -t vfat /dev/sdd1 /mnt/flash4
assuming flash media was installed in each of the card reader slots.

One problem that I had was that on a non-updated Redhat 9 install, secure digital and sony memory stick media with the write protect tab on were not detected as read only using the mount function called in a C program. This is fixed in the updates for Redhat 9. I used yum to get these updates and then read only detection worked properly.
 
  


Reply



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
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 08:25 PM
USB Multi card reader in linux sjmgeezer Linux - Hardware 2 07-21-2005 07:15 AM
Shuttle PC12 multi-card reader, how to setup it correctly under Linux ParticleHunter Linux - Hardware 1 09-27-2004 02:15 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
PQI USB flash card (SM) reader/writer freezes Knoppix linux dead! stukennedyuk Linux - Hardware 4 03-19-2004 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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