Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 07:18:10 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        perryh@pluto.rain.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB SD-card reader recognized, but not working, on 6.1
Message-ID:  <20090410051809.GA20036@slackbox.xs4all.nl>
In-Reply-To: <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com>
References:  <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> <20090409181009.GA38361@slackbox.xs4all.nl> <49de50cb.gcYrr9F1eSmdUBu9%perryh@pluto.rain.com> <20090409222047.GA44772@slackbox.xs4all.nl> <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 09, 2009 at 08:01:29PM -0700, perryh@pluto.rain.com wrote:
> Roland Smith <rsmith@xs4all.nl> wrote:
> > On Thu, Apr 09, 2009 at 12:47:23PM -0700, perryh@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:
> > >=20
> > > $ 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?
>=20
> 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.
>=20
> like "Don't attempt to read more than 32768 bytes at a time" --
> subsequent testing shows it to be OK up to bs=3D64b, but bs=3D126b
> 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
--=20
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)

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkne1pEACgkQEnfvsMMhpyX69ACggWzt0kvAxOppFrwM6rMyF3pA
tTMAoJ0GbItGm/8ZcWyIgduQTKUAJUm+
=1zM3
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090410051809.GA20036>