From owner-freebsd-questions@FreeBSD.ORG Thu Apr 9 18:10:11 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 D0F46106566C for ; Thu, 9 Apr 2009 18:10:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4B50E8FC0A for ; Thu, 9 Apr 2009 18:10:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n39IA9rx048872; Thu, 9 Apr 2009 20:10:09 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 156D6BA9D; Thu, 9 Apr 2009 20:10:09 +0200 (CEST) Date: Thu, 9 Apr 2009 20:10:09 +0200 From: Roland Smith To: perryh@pluto.rain.com Message-ID: <20090409181009.GA38361@slackbox.xs4all.nl> References: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <49de2c9a.QlCBOleCO/iBrMcf%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: Thu, 09 Apr 2009 18:10:12 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 09, 2009 at 10:12:58AM -0700, perryh@pluto.rain.com wrote: > Trying here, after no answer on usb@ >=20 > When I plug in the reader, I get (on the console): >=20 > 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: Removable Direct Access SCSI-0= device=20 > da0: 1.000MB/s transfers > da0: 1962MB (4019200 512 byte sectors: 255H 63S/T 250C) >=20 > 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: >=20 > drive B: > #fn=3D1 mode=3D0 defined in /usr/local/etc/mtools.conf > file=3D"/dev/da0" fat_bits=3D0=20 > tracks=3D0 heads=3D0 sectors=3D0 hidden=3D0 > offset=3D0x0 > partition=3D0 >=20 > However, when I try to read it with mtools: >=20 > $ mdir -a b: > init B: non DOS media > Cannot initialize 'B:' =20 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 devi= ce? Have you tried just mounting the card reader? 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) --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkneOgEACgkQEnfvsMMhpyX9sACfVspT2oTSEB7Jl400KH3Cns0S HA0AmgPlPzU3Q0H7D6lnNurkUyea9aiD =l8hh -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--