From owner-freebsd-current@FreeBSD.ORG Sat May 30 09:20:07 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ABCB106566C for ; Sat, 30 May 2009 09:20:07 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 75AB18FC2B for ; Sat, 30 May 2009 09:20:06 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n4U9K1HT095086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 May 2009 11:20:04 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4A20FA38.8010305@omnilan.de> Date: Sat, 30 May 2009 11:19:52 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.21 (X11/20090425) MIME-Version: 1.0 To: Hans Petter Selasky References: <4A20F485.2030803@omnilan.de> <200905301119.48881.hselasky@c2i.net> In-Reply-To: <200905301119.48881.hselasky@c2i.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD0B86A4B8D539730BA383E5A" Cc: freebsd-current@freebsd.org Subject: Re: USB (internally fixed) card reader questions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 09:20:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD0B86A4B8D539730BA383E5A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hans Petter Selasky schrieb am 30.05.2009 11:19 (localtime): > On Saturday 30 May 2009, Harald Schmalzbauer wrote: >> Hello, >> >> with 7.2, after I inserted a flash card, I generated a write request t= o >> the corresponding device (`true > /dev/da1` for example if it was a SD= >> card). To change the card I found `camcontrole eject da1` usefull to >> prevent panics. >> >> With -current I can't update the label by `true > /dev/da1`, I get >> "device not configured". >> So my question is how do I correctly use flash cards in fixed (USB) ca= rd >> readers? Do I still have to use camcontrol eject before removing? How = do >> I get hald working with umass devices? >> With 7.2, after the second insertion of the same flash card hal jumped= >> in and I could mount it with Thunar. UFDs (USB Flash Disks, the "stick= s" >> with USB controller) worked just form the start. After pluging in I >> could see the device in Thunar. Both doesn't work under -current any m= ore. >> >> Thanks for any help, >> >> -Harry >=20 > Hi, >=20 > dmesg and output from usbconfig would be appreciated. Thanks for the quick response! usbconfig: ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH=20 (480Mbps) pwr=3DON ugen4.1: at usbus4, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen5.1: at usbus5, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen6.1: at usbus6, cfg=3D0 md=3DHOST spd=3DFULL=20 (12Mbps) pwr=3DON ugen7.1: at usbus7, cfg=3D0 md=3DHOST spd=3DHIGH=20 (480Mbps) pwr=3DON ugen3.2: at usbus3, cfg=3D0 md=3DHOST spd=3D= HIGH=20 (480Mbps) pwr=3DON ugen6.2: at usbus6, cfg=3D0 md=3DHOST spd=3DLOW=20 (1.5Mbps) pwr=3DON ugen5.2: at usbus5, cfg=3D0 md=3DHOST= =20 spd=3DFULL (12Mbps) pwr=3DON ugen6.3: at usbus6, cfg=3D0 md=3DHOST spd=3DLOW (1.5= Mbps)=20 pwr=3DON ugen5.3: at usbus5, cfg=3D0 md=3DHOST=20 spd=3DFULL (12Mbps) pwr=3DON ### dmsg: ########## =2E.. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 =2E.. uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen3.2: at usbus3 umass0: =20 on usbus3 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 =2E.. da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present ugen6.2: at usbus6 ums0: on usbus6 ums0: 5 buttons and [XYZ] coordinates ID=3D0 ugen5.2: at usbus5 (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI Status: Check Condition (probe0:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (probe0:umass-sim0:0:0:1): Medium not present (probe0:umass-sim0:0:0:1): Unretryable error da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI Status: Check Condition (probe0:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (probe0:umass-sim0:0:0:2): Medium not present (probe0:umass-sim0:0:0:2): Unretryable error da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present ugen6.3: at usbus6 ums1: on usbus6 ums1: 3 buttons and [XYZ] coordinates ID=3D0 ugen5.3: at usbus5 (probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 (probe0:umass-sim0:0:0:3): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:3): SCSI Status: Check Condition (probe0:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (probe0:umass-sim0:0:0:3): Medium not present (probe0:umass-sim0:0:0:3): Unretryable error da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ufs/titanROOT8 GEOM_LABEL: Label ufsid/49e8c2d677b6da2e removed. GEOM_LABEL: Label ufsid/49e8c2e6f742ffa2 removed. GEOM_LABEL: Label ufsid/49e8c2f144ad65eb removed. GEOM_LABEL: Label ufsid/49e8cadbdb4241f0 removed. GEOM_LABEL: Label ufsid/49e90f157bf9cb2b removed. GEOM_LABEL: Label ufsid/49e90351b76c2190 removed. GEOM_LABEL: Label ufsid/49e90358a9ee10cf removed. GEOM_LABEL: Label ufsid/49e90f63972416f6 removed. GEOM_LABEL: Label for provider md0 is ufsid/4a1ec1717761abf3. GEOM_LABEL: Label ufsid/4a1ec1717761abf3 removed. Thanks, -Harry --------------enigD0B86A4B8D539730BA383E5A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkog+kEACgkQLDqVQ9VXb8gDIACeMJUT4CSOPvVojpLuEsBgGRJ7 krsAnRrIAaGSCXzODv8E/zQ9WHzxuD46 =MsNo -----END PGP SIGNATURE----- --------------enigD0B86A4B8D539730BA383E5A--