USB memory card reader media - how to mount?

sd xscd at xscd.com
Mon Apr 28 05:23:06 PDT 2003


Problem:
--------
Cannot mount media (CompactFlash) placed in USB card reader

Hardware:
---------
USB memory card reader
(Lexar Multi-Card Reader for CompactFlash I & II, SmartMedia,
Memory Stick, MMC and SD cards). The reader has four slots
for the various media.

System:
-------
FreeBSD 5.0, installed from recent release on CD purchased from
BSD Mall.

Procedure:
----------
* I plug the reader into a USB port.
* Reader is recognized as USB mass storage and 
  placed at SCSI bus 2, device 1, LUN 0.
  "camcontrol devlist" yields:
  <PLEXTOR CD-R   PX-W4824A 1.01>    at scbus1 target 1 lun 0 (pass0,cd0)
  <Lexar USB Storage-SMC 0180>       at scbus2 target 0 lun 0 (da0,pass1)
* devfs creates "da0" in /dev
* Card reader has four slots and only first (da0) is recognized, so I do:
  cardcontrol rescan 2:0:1 (and then same for 2:0:2 and 2:0:3)
* "camcontrol devlist" now yields:
  <PLEXTOR CD-R   PX-W4824A 1.01>    at scbus1 target 1 lun 0 (pass0,cd0)
  <Lexar USB Storage-SMC 0180>       at scbus2 target 0 lun 0 (da0,pass1)
  <Lexar USB Storage-CFC 0180>       at scbus2 target 0 lun 1 (da1,pass2)
  <Lexar USB Storage-MMC 0180>       at scbus2 target 0 lun 2 (da2,pass3)
  <Lexar USB Storage-MSC 0180>       at scbus2 target 0 lun 3 (da3,pass4)
* The CompactFlash slot is at 2:0:1 (da1,pass2). "mount_msdosfs /dev/da1 /mnt/da1"
  (/mnt/da1 exists) issued as root produces the error:
  mount_msdosfs: /dev/da1: Input/output error

Discussion:
-----------
devfs does not produce a /dev/da1s1 or /dev/da1s1a, so attempts to mount those
return an error.
I am a newbie to FreeBSD (from SuSE Linux and previously Apple Macintosh).
Is there a way to mount the CompactFlash media in the card reader?

Thank you,

Steve Doonan
Portales, NM US

-- 
----------------------------------------------------------------
A countryman between two lawyers is like a fish between two cats.
-Benjamin Franklin
----------------------------------------------------------------



More information about the freebsd-questions mailing list