From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: Re: [RFC/PATCH 2/2] usb: ehci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET Date: Fri, 9 Aug 2013 17:44:52 +0300 Message-ID: <20130809144452.GR12041@radagast> References: <20130809134124.GL12041@radagast> Reply-To: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="o99acAvKqrTZeiCU" Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:43890 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030284Ab3HIOpI (ORCPT ); Fri, 9 Aug 2013 10:45:08 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Alan Stern Cc: Felipe Balbi , Greg KH , Jack Pham , linux-usb@vger.kernel.org, Tim Sander , Manu Gautam , linux-arm-msm@vger.kernel.org --o99acAvKqrTZeiCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Aug 09, 2013 at 10:37:50AM -0400, Alan Stern wrote: > > > > Wait a minute, didn't we discuss a while back that these test featu= res > > > > should be built into usbcore so that we could have a usbcv clone for > > > > linux ? > > >=20 > > > There's no way this can be built into the core. This test requires t= he > > > behavior of the host controller to be modified at a low level > > > (introducing a 15-second delay between the Setup and Data stages of a > > > control transfer). Only the HCD can do that. > >=20 > > heh, it doesn't need to be entirely in the core. Core could have the > > generic calls and HCDs could implement some callbacks, but I think quite > > a bit of the code will be similar if we implement the same thing on all > > HCDs. >=20 > What generic calls and callbacks would you suggest? I assume you want=20 > enough to cover not just this one test but the entire USB-CV suite. maybe a single callback for supporting 'testmodes' ? which receives the test mode as argument ? > > > Besides, doesn't USB-CV install its own version of Windows' EHCI driv= er=20 > > > while it runs its tests? > >=20 > > IIRC only USB20CV, the new USB30CV (which also tests USB2) doesn't do > > that. >=20 > I don't have more than the foggiest notion of how these things really > work under Windows. and that's hardly necessary to understand... --=20 balbi --o99acAvKqrTZeiCU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJSBQBkAAoJEIaOsuA1yqREo6YP/0dDWQIK+PsBOVvLR3HnAVQ2 ijNRN4ekR7NCtdxKLP/01537kmqP5BMoKQjoP+dzVP7n0cIzl1Zb1OR5FELAJJfU 3sY2hSLSYs2RPgqByHkT0xqTbP9J1akDLLLCdS7RsBuu2crUCCFFuzP2pWb1I3iQ wpPJ7XtRLBFsOnerXox4ec04NyyMRydK4QMCwiQLRT4o4CgvbKXyGu1YW6Kh2z45 0JTVMKx4xYLltTlf4k3TNCgabo1bu2HYfNkkiUgUmwPCBSKNS4kmOcRjI7aeVgp7 c1nAtPw3LgV9GfKsoCCUGCcla3asTCqU2Rmg68KrucPmclnEA6qp9p6arMgvDl2G RKGxTfeXdToLBRjR/fnywYNZvxEgn3yXZ5yHnzrtze5J6gY698W3gZmcFKCJuKpc jWWV9Lh8uj2fm0+PRBNO9j0eXTeV+v/eA3y5aLaHX7+ctI3GMk1NGrJ4H24W+dbT XrJs3q6qRCnF4OldingTXE8iC6GsuOa8GdDQ/jJNoMXYsikk+qd8Y1T10e4wSSpc +/nyDO4l6ZgYUVIAoxmCQwfywk1FfEoISodu6DRXV3JbbN0ciwoz/ZpTSbcwxXRR yqe/FT2JduFMldq5gVmKsdFn+T2XT5U+MvTMPUt7WaQronbpKK4RASShopwhLuSm /ERStD9EY6YsRtpUP1m7 =mw5l -----END PGP SIGNATURE----- --o99acAvKqrTZeiCU--