Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752763AbcDFSDc (ORCPT ); Wed, 6 Apr 2016 14:03:32 -0400 Received: from pygmy.kinoho.net ([134.0.27.24]:41205 "EHLO pygmy.kinoho.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752646AbcDFSDb (ORCPT ); Wed, 6 Apr 2016 14:03:31 -0400 Subject: Re: [PATCH v2 14/14] USB: ch341: implement tx_empty callback To: Karl Palsson References: <1459616843-23829-15-git-send-email-greg@chown.ath.cx> <20160403160238-28920-57566-mailpile@palmtree-beeroclock-net> Cc: Greg Kroah-Hartman , Johan Hovold , Linux Kernel Mailing List , Linux USB Mailing List From: Grigori Goronzy Message-ID: <57054F6D.2060501@chown.ath.cx> Date: Wed, 6 Apr 2016 20:03:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <20160403160238-28920-57566-mailpile@palmtree-beeroclock-net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3Rw1ixkbISJRaJgdgq8VV4TU2esnT0xUU" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2508 Lines: 62 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3Rw1ixkbISJRaJgdgq8VV4TU2esnT0xUU Content-Type: multipart/mixed; boundary="IlSIEHCnec3kUkEqDDr2j4SEPfbJgc5SL" From: Grigori Goronzy To: Karl Palsson Cc: Greg Kroah-Hartman , Johan Hovold , Linux Kernel Mailing List , Linux USB Mailing List Message-ID: <57054F6D.2060501@chown.ath.cx> Subject: Re: [PATCH v2 14/14] USB: ch341: implement tx_empty callback References: <1459616843-23829-15-git-send-email-greg@chown.ath.cx> <20160403160238-28920-57566-mailpile@palmtree-beeroclock-net> In-Reply-To: <20160403160238-28920-57566-mailpile@palmtree-beeroclock-net> --IlSIEHCnec3kUkEqDDr2j4SEPfbJgc5SL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 04/03/2016 06:03 PM, Karl Palsson wrote: >=20 > Grigori Goronzy wrote: >> The status bit was found with USB captures of the Windows >> driver and some luck. Tested on CH340G and CH341A. >=20 > By my reversing, bit 0x4, is "multiple status changes since last > interrupt" > Thanks, I can add the definition. However, I wonder what this is actually good for. We don't actually need this to see that there are multiple status changes. We can just look at the different bits. Grigori --IlSIEHCnec3kUkEqDDr2j4SEPfbJgc5SL-- --3Rw1ixkbISJRaJgdgq8VV4TU2esnT0xUU 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 iQIcBAEBCAAGBQJXBU9uAAoJEOpmYE8Sf8H2u6kP/2OE1SwxhvozvLKIJBcovTKB jTJXjvyRf8VGRFhEiWdFuZbApEYY2TPlRoM+mC9FVlgTFHfBdZdVNInlYVaVcWu+ HnFTRwIotehOP1mJtSPnNKquYNrDgbWHyBH+VmRezDQXzbuKu/RRW/SACWjLFWFW 1z76L8+Yu18lx7u4bk+OaAPyUpVIZjd3Ids1+QroxmUI8SPQcEuUM2WWbi0DyDdf 5WE6KK1krmCFNW3LoipODHQz2BoHZFImdDF9yqSe0ht7b7UqtPfj6BNPhMwvhP9f CPcP14OoqwcTyBFLl+/KGZ80cl4RhbrISMthpKVsXgcjNd4r6RE/CNEJLNVX0nJc JdqCSQZIv7YqqtgZX6qnKzsIyj0t6W+W2mHlAkVtljpTlkMBQDTcmiJnWTKgjpm4 /SM2cilnUY9Ebr3L6+oukAkBcgQEjPflbVs6eRCdJzKl1YYXl+cjutwDrs656OeA rvTX1jidjVsOHkIAUT7Fyn7O8FJISwlDP3G53MsjRzQa93+6Jng6ie7NEs1cUCID Bu7QFrLYIl40C0u5Nqjq0M6+UcSezPRyPUwmSNIObEjUmCNjCnt2DvfjM80LDLe9 ASp93Y2SCiGpp/b+Ng3Y1KQSolcgZNLhdETz8WFVnocsUyeRfzCGueW085WJTYgJ 7qbea7+hgXGaEFFFyeSr =PhNZ -----END PGP SIGNATURE----- --3Rw1ixkbISJRaJgdgq8VV4TU2esnT0xUU--