Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2011 19:44:04 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        mav@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: da(4) not attaching to USB drive
Message-ID:  <201101231944.04706.hselasky@c2i.net>
In-Reply-To: <20110123182918.GA16104@tinyCurrent>
References:  <20110122104239.GA4991@tinyCurrent> <201101231748.24599.hselasky@c2i.net> <20110123182918.GA16104@tinyCurrent>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Freecom> 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: <Freecom> at usbus4
> Jan 23 18:10:05 tinyCurrent kernel: umass0: <Bulk Only Interface> 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: <Freecom> 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: <Freecom> at usbus4
> Jan 23 18:11:18 tinyCurrent kernel: umass0: <Bulk Only Interface> 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: <Freecom Hard Drive XS 1.00> 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



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