USB SD-card reader recognized, but not working, on 6.1
Roland Smith
rsmith at xs4all.nl
Thu Apr 9 18:10:12 UTC 2009
On Thu, Apr 09, 2009 at 10:12:58AM -0700, perryh at pluto.rain.com wrote:
> Trying here, after no answer on usb@
>
> When I plug in the reader, I get (on the console):
>
> umass0: SDMMC M121 USB 2.0 SD/MMC READER, rev 2.00/2.01, addr 2
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <USB 2.0 SD/MMC Reader \001\000\000?> Removable Direct Access SCSI-0 device
> da0: 1.000MB/s transfers
> da0: 1962MB (4019200 512 byte sectors: 255H 63S/T 250C)
>
> So far, so good, and it appears -- based on this excerpt from the
> mtoolstest output -- that mtools is configured to read /dev/da0 as b:
>
> drive B:
> #fn=1 mode=0 defined in /usr/local/etc/mtools.conf
> file="/dev/da0" fat_bits=0
> tracks=0 heads=0 sectors=0 hidden=0
> offset=0x0
> partition=0
>
> However, when I try to read it with mtools:
>
> $ mdir -a b:
> init B: non DOS media
> Cannot initialize 'B:'
Are you sure that the drive isn't partitioned? In other words, if you
plug in the drive, and you give the command 'ls /dev/da0*', do you only
get /dev/da0 or perhaps also /dev/da0s1? If it is partitioned, try
/dev/da0s? instead.
Second, does the user running mtools have read and write access to the device?
Have you tried just mounting the card reader?
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090409/fa7b7924/attachment.pgp
More information about the freebsd-questions
mailing list