From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 05:18:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B20E9106566C for ; Fri, 10 Apr 2009 05:18:16 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 290B88FC12 for ; Fri, 10 Apr 2009 05:18:15 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n3A5IA6D062360; Fri, 10 Apr 2009 07:18:10 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 123BEBA8C; Fri, 10 Apr 2009 07:18:10 +0200 (CEST) Date: Fri, 10 Apr 2009 07:18:10 +0200 From: Roland Smith To: perryh@pluto.rain.com Message-ID: <20090410051809.GA20036@slackbox.xs4all.nl> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <49deb689.wo7pGx8gH2CQTOPa%perryh@pluto.rain.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: USB SD-card reader recognized, but not working, on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 05:18:16 -0000 --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 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? > > 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--