From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Dharm Date: Thu, 21 Mar 2002 20:49:19 +0000 Subject: Re: usb-storage data transfer anomaly MIME-Version: 1 Content-Type: multipart/mixed; boundary="svZFHVx8/dhPCe52" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --svZFHVx8/dhPCe52 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable One idea.... get a different setup. The device is likely disconnecting because the hub is killing power due to over-current. Which is bogus -- I have one of these devices, and I know their current draw is legit. Is the hub powered? Likely that's what you need. Matt On Wed, Mar 20, 2002 at 08:53:17PM -0800, Bajo, Allison wrote: > I was debugging 2.4.19-pre3 using a SanDisk SDDR-31 CF Card Reader when I= observed the following behavior: >=20 > 1. The device (SDDR-31) was intermittently disconnected by the hub and th= en reconnected even though the device was present all the time. The trigge= r for this event was plugging in a CF card into the reader. >=20 > 2. As a result of (1), I receive a CSW from a previous CBW before the dis= connect and reconnect in (1). >=20 > 3. When usb_stor_Bulk_transport ( ) returns with a USB_STOR_TRANPORT_ERRO= R, usb_stor_invoke_transport ( ) tries to reset the device but fails on the= reset. >=20 > 4. Any subsequent CBW and CSW pair will be skewed. The CBW will receive= the CSW of a previous CBW. At this point it is not recoverable except a r= eboot. >=20 >=20 > Example traffic: > CBW 0 > CSW 0 >=20 > Disconnect > Reconnect >=20 > CBW 1 > CSW 0 >=20 > CBW 2 > CSW 1 >=20 > ... >=20 > I think you get the picture. Any ideas. >=20 > - Allison B >=20 >=20 > _______________________________________________ > Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net > Linux-hotplug-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel --=20 Matthew Dharm Home: mdharm-usb@one-eyed-alien.= net=20 Maintainer, Linux USB Mass Storage Driver I say, what are all those naked people doing? -- Big client to Stef User Friendly, 12/14/1997 --svZFHVx8/dhPCe52 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8mkdOz64nssGU+ykRAnfIAJ9jiH4CQW5NMgTdr9bkUFuAYjzYkACgh8Um KXHBf5V7xvrsEubrA+yte84= =Oj5Z -----END PGP SIGNATURE----- --svZFHVx8/dhPCe52-- _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel