From owner-freebsd-usb@FreeBSD.ORG Sun Jan 23 18:44:02 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9337106566B; Sun, 23 Jan 2011 18:44:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id EC9FD8FC0C; Sun, 23 Jan 2011 18:44:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=3gTVZJsz1QcA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=eD3Ixw8NNB1vYgy8iB4A:9 a=fQBW12HQzikMmchDGkOPP0gbrPcA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 77980153; Sun, 23 Jan 2011 19:43:59 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Sun, 23 Jan 2011 19:44:04 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110122104239.GA4991@tinyCurrent> <201101231748.24599.hselasky@c2i.net> <20110123182918.GA16104@tinyCurrent> In-Reply-To: <20110123182918.GA16104@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201101231944.04706.hselasky@c2i.net> Cc: mav@freebsd.org, freebsd-usb@freebsd.org Subject: Re: da(4) not attaching to USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 18:44:02 -0000 On Sunday 23 January 2011 19:29:18 Matthias Apitz wrote: > El d=C3=ADa Sunday, January 23, 2011 a las 05:48:24PM +0100, Hans Petter = Selasky=20 escribi=C3=B3: > > On Sunday 23 January 2011 10:06:00 Hans Petter Selasky wrote: > > > Hi Mav, > > >=20 > > > Do you know if there are any recent changes in the SCSI layer on > > > FreeBSD that will affect USB SCSI devices? > >=20 > > Another idea: > >=20 > > Maybe your device is too late identifying itself. You could try: > >=20 > > usbconfig -d X.Y set_config 0 > >=20 > > Then: > >=20 > > usbconfig -d X.Y set_config 1 > >=20 > > After that the device has been plugged. >=20 > usbconfig -d X.Y set_config 1 always gives > usbconfig: could not set config index: Input/output error > regardless if the disk is plugged in or not; >=20 > today once it connected by its own, i.e. it was sitting pluged in and > after a while it diconnected and connected again (without my action, I > was reading some mail): >=20 > ... > Jan 23 18:10:03 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): AutoSense > failed Jan 23 18:10:03 tinyCurrent kernel: ugen4.3: at usbus4 > (disconnected) Jan 23 18:10:03 tinyCurrent kernel: umass0: at uhub4, port > 1, addr 3 (disconnected) Jan 23 18:10:05 tinyCurrent root: Unknown USB > device: vendor 0x07ab product 0xfc8e bus uhub4 Jan 23 18:10:05 tinyCurrent > kernel: ugen4.3: at usbus4 > Jan 23 18:10:05 tinyCurrent kernel: umass0: on usbu= s4 > Jan 23 18:10:05 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = =3D > 0x0000 Jan 23 18:10:06 tinyCurrent kernel: umass0:0:0:-1: Attached to > scbus0 Jan 23 18:11:16 tinyCurrent kernel: (probe0:umass-sim0:0:0:0): > AutoSense failed Jan 23 18:11:16 tinyCurrent kernel: ugen4.3: at > usbus4 (disconnected) Jan 23 18:11:16 tinyCurrent kernel: umass0: at > uhub4, port 1, addr 3 (disconnected) >=20 > and now it connects with success by its own: >=20 > Jan 23 18:11:18 tinyCurrent kernel: ugen4.3: at usbus4 > Jan 23 18:11:18 tinyCurrent kernel: umass0: on usbu= s4 > Jan 23 18:11:18 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = =3D > 0x0000 Jan 23 18:11:18 tinyCurrent root: Unknown USB device: vendor 0x07ab > product 0xfc8e bus uhub4 Jan 23 18:11:19 tinyCurrent kernel: > umass0:0:0:-1: Attached to scbus0 Jan 23 18:11:19 tinyCurrent kernel: da0 > at umass-sim0 bus 0 scbus0 target 0 lun 0 Jan 23 18:11:19 tinyCurrent > kernel: da0: Fixed Direct Acc ess SCSI-2 > device Jan 23 18:11:19 tinyCurrent kernel: da0: 40.000MB/s transfers >=20 Try adding some mass storage quirks: kldload usb_quirk usbconfig -d X.Y add_dev_quirk_vplh x x x x x x =2D-HPS