From owner-freebsd-usb@freebsd.org Thu Nov 1 21:02:35 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A6DB10D7A1A for ; Thu, 1 Nov 2018 21:02:35 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70F9D8C138 for ; Thu, 1 Nov 2018 21:02:33 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 3A65321D25; Fri, 2 Nov 2018 00:01:44 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id WyBRCA3hpU-1hTi2I2K; Fri, 02 Nov 2018 00:01:44 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1541106104; bh=sL98NeN1mIefuMos4Ubln1HXRXGL1q826Xxvh+vqVkI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=UXuNYhfWZbYlZQir+tOK7kn0fJr8H7GDExBD3EghvdEPmdQwQ5hJWPm9CshpnqW1E 35LNtZ5m8HbT7lNGktgLn9TvY/H5EG8C/n1bseBVNFThjc7ij7+GU9Elwb0Jmk1KCy edbEg5QmrTD+zqFOSL/lYrMm4o2+iHEek6huJZQs= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mMcyCziokG-1h6aDXLI; Fri, 02 Nov 2018 00:01:43 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1541106103; bh=sL98NeN1mIefuMos4Ubln1HXRXGL1q826Xxvh+vqVkI=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=lg5ElfK2jTQVaih+AkSw4FyL+M+OOUaDlFGDM7k1cU7K7rujk8q7nWIfL/klXrp4C hMZkCXOkmgxbAb0nWNiaGGSHvMxjL7voawvUDbUhQ9hGFhma0ur4cWJ3lr1tftr8HP 21JHFlQyPs6xX+QtfsDDvHZegRLp4Xa1/Nu4/CCM= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: umodem0, Cisco USB serial console, and quirks To: Mike Andrews , Hans Petter Selasky Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= xsBNBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAHNIkFuZHJleSBWLiBFbHN1a292IDxhZUBmcmVlYnNkLm9yZz7CwHsEEwECACUCGwMGCwkI BwMCBhUIAgkK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9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> Date: Thu, 1 Nov 2018 23:59:46 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="H98m3bURjF1BEcLhZT7wk4LbICgINUQS9" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 21:02:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --H98m3bURjF1BEcLhZT7wk4LbICgINUQS9 Content-Type: multipart/mixed; boundary="ZvvDEN1zlTUeIxFPQD0hRvcRRp9V6Nq6e"; protected-headers="v1" From: "Andrey V. Elsukov" To: Mike Andrews , Hans Petter Selasky Cc: freebsd-usb@freebsd.org Message-ID: <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> Subject: Re: umodem0, Cisco USB serial console, and quirks References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> In-Reply-To: --ZvvDEN1zlTUeIxFPQD0hRvcRRp9V6Nq6e Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 27.09.2017 05:11, Mike Andrews wrote: >> This is the USB read transfer. The other side is not returning any >> data, so neither is "cu" printing anything. Maybe you can try to get a= >> similar trace from the system where it works? >> >> Looks to me like some kind of protocol error, that the Cisco USB >> serial console needs some kind of activation. >=20 > Took me a few days to get around to getting usbmon going on Linux.=C2=A0= The > verbose dump is too large for the list, so: >=20 > =C2=A0=C2=A0 https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt > =C2=A0=C2=A0 https://www.bit0.com/tmp/usbmon-ciscoasa.txt Hi, did you find some solution? It seems this device still doesn't work with recent FreeBSD. I found how it should work on linux: https://community.cisco.com/t5/network-architecture-documents/cisco-conso= le-connection-via-usb-serial/ta-p/3163540 And it seems in Linux it is handled by generic CDC ACM driver without any quirks. So, I think the problem is with our umodem(4) or ucom(4) driver. --=20 WBR, Andrey V. Elsukov --ZvvDEN1zlTUeIxFPQD0hRvcRRp9V6Nq6e-- --H98m3bURjF1BEcLhZT7wk4LbICgINUQS9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlvbaUIACgkQAcXqBBDI oXrVdgf/SWqNx9nlw9Eqh7gNdlw27xOKdJKb05aIgMHq/963CLkgnDv01ak0jG2j xdw+hVvm7CVJpFKvm9b/6Yfz77a7ef97N3RtBZi9TG2JJDzvf3Mz1g0uyS1tWTlX +pZ8f04y4GDrmBFO2O2Rx98Snq683wGFoI6DFgxXz/TeDZ0IuK9RvhOC3rknVz8Y GT4NEeFr8dORSURNuwiThevyQ2pBfGdvI+wUVFGJUMZNYRyaZRk2pyKwpjGRuz1s Mjpu0xO6dzHx3l8WhlBxmgElRuHNobr8b/5wwBlSU7YkUP2EJux7hJYdPU2Q3qEs eJXfnGH9ySnkncou4PcStbjK8uk5wQ== =YGVO -----END PGP SIGNATURE----- --H98m3bURjF1BEcLhZT7wk4LbICgINUQS9--