USB SD-card reader recognized, but not working, on 6.1

Roland Smith rsmith at xs4all.nl
Fri Apr 10 05:18:16 UTC 2009


On Thu, Apr 09, 2009 at 08:01:29PM -0700, perryh at pluto.rain.com wrote:
> Roland Smith <rsmith at xs4all.nl> wrote:
> > On Thu, Apr 09, 2009 at 12:47:23PM -0700, perryh at pluto.rain.com wrote:
> > > It's an SD card, not a "drive", so I had not expected it to be
> > > partitioned; but yes, it is:
> > > 
> > > $ ls -l /dev/da0*
> > > crw-r-----  1 root  operator    0, 244 Feb 14 15:09 /dev/da0
> > > crw-r-----  1 root  operator    0, 245 Feb 14 15:09 /dev/da0s1
> >
> > That would suggest that there is a filesystem on there, doesn't it?
> 
> It would certainly suggest there is a DOS "partition" table aka
> BSD "slice" table.  I don't think it says anything about what the
> slice contains, however.

Well, why bother making slices if you're not going to put a filesystem
on it?

<snip>
> > It could be that this USB chipset needs some "quirks" to work
> > correctly.
> 
> like "Don't attempt to read more than 32768 bytes at a time" --
> subsequent testing shows it to be OK up to bs=64b, but bs=126b
> fails -- or is there maybe a way to set that sort of limit in
> mtools?

I don't know. The quirks I was talking about are built into the USB
drivers. See /usr/src/sys/dev/usb/umass.c

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/20090410/36903cad/attachment-0001.pgp


More information about the freebsd-questions mailing list