From owner-freebsd-usb@freebsd.org Sun Oct 28 21:01: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 A766510E0C1F for ; Sun, 28 Oct 2018 21:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 477536FEF0 for ; Sun, 28 Oct 2018 21:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0C43010E0C1B; Sun, 28 Oct 2018 21:01:35 +0000 (UTC) Delivered-To: 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 EF45E10E0C1A for ; Sun, 28 Oct 2018 21:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 962326FEEA for ; Sun, 28 Oct 2018 21:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C956E1FBE4 for ; Sun, 28 Oct 2018 21:01:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9SL1Xel017503 for ; Sun, 28 Oct 2018 21:01:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9SL1XIm017489 for usb@FreeBSD.org; Sun, 28 Oct 2018 21:01:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201810282101.w9SL1XIm017489@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 28 Oct 2018 21:01:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 28 Oct 2018 21:01:35 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 1 problems total for which you should take action. 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 BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 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-- From owner-freebsd-usb@freebsd.org Fri Nov 2 00:01:44 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 053B810DDB47 for ; Fri, 2 Nov 2018 00:01:44 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from bit0.com (chunkhead.bit0.com [IPv6:2600:1f16:25b:8032:362b:314d:48b4:975d]) (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 9D44C6CA3C for ; Fri, 2 Nov 2018 00:01:43 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from chunkhead.bit0.com (localhost [127.0.0.1]) by bit0.com (Postfix) with ESMTP id 9D29B44961; Thu, 1 Nov 2018 20:01:37 -0400 (EDT) X-Virus-Scanned: amavisd-new at bit0.com Received: from bit0.com ([127.0.0.1]) by chunkhead.bit0.com (chunkhead.bit0.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p7ql52DkhtPk; Thu, 1 Nov 2018 20:01:36 -0400 (EDT) Received: from chunkhead.bit0.com (localhost [127.0.0.1]) by bit0.com (Postfix) with ESMTP; Thu, 1 Nov 2018 20:01:36 -0400 (EDT) Received: from millenniumforce.int.bit0.com ([69.176.24.213]) by chunkhead.bit0.com with ESMTPSA id xyj5H+CT21vhWQAAAwslWA (envelope-from ); Thu, 01 Nov 2018 20:01:36 -0400 Subject: Re: umodem0, Cisco USB serial console, and quirks To: "Andrey V. Elsukov" , Hans Petter Selasky Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> From: Mike Andrews Message-ID: <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> Date: Thu, 1 Nov 2018 20:01:36 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Fri, 02 Nov 2018 00:01:44 -0000 On 11/1/18 4:59 PM, Andrey V. Elsukov wrote: > 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. >> Took me a few days to get around to getting usbmon going on Linux.  The >> verbose dump is too large for the list, so: >> >>    https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt >>    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-console-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. > No, I didn't. The usbmon dumps above are still there, and if someone can suggest anything else I can do to help, lemme know. From owner-freebsd-usb@freebsd.org Fri Nov 2 08:46:09 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 476F510EDC3A for ; Fri, 2 Nov 2018 08:46:09 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 DB93D7D429 for ; Fri, 2 Nov 2018 08:46:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 674F426019D; Fri, 2 Nov 2018 09:46:06 +0100 (CET) Subject: Re: umodem0, Cisco USB serial console, and quirks To: Mike Andrews , "Andrey V. Elsukov" Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> From: Hans Petter Selasky Message-ID: <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> Date: Fri, 2 Nov 2018 09:45:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Fri, 02 Nov 2018 08:46:09 -0000 On 11/2/18 1:01 AM, Mike Andrews wrote: > On 11/1/18 4:59 PM, Andrey V. Elsukov wrote: > >> 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. >>> Took me a few days to get around to getting usbmon going on Linux.  The >>> verbose dump is too large for the list, so: >>> >>>     https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt >>>     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-console-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. >> > No, I didn't. > > The usbmon dumps above are still there, and if someone can suggest > anything else I can do to help, lemme know. > Hi, Are there any errors printed in dmesg for this device? What does "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" where X.Y are numbers after ugenX.Y, output? --HPS From owner-freebsd-usb@freebsd.org Fri Nov 2 08:55:25 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 C9E5210EE1D9 for ; Fri, 2 Nov 2018 08:55:25 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::109]) (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 2EEC97DA10 for ; Fri, 2 Nov 2018 08:55:24 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 1D72921AEE; Fri, 2 Nov 2018 11:55:22 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8pocDnzLkI-tLZCSShY; Fri, 02 Nov 2018 11:55:22 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1541148922; bh=6tK74PjU9sWTmFeFKv+Oucukh5zcHq7uHPnYvAZIBBw=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=iXBJfP4RT1VeOIn4TWXtxBEibaHj1+zqyVZ0sdM74HgfU88vNYkZoGukc8idXGYXl Vm2vM4GJZJv6yNdEc/y+e3RXpWbSKMiKEQ225JaK4NSGIEJCntG0VqhaoIadSufu12 ppO3nsqR64M3BOwS0qrqVmVjpRr0Nwe0L7Bijuts= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id DIT4NRdxK3-tLT8bHME; Fri, 02 Nov 2018 11:55:21 +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=1541148921; bh=6tK74PjU9sWTmFeFKv+Oucukh5zcHq7uHPnYvAZIBBw=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=ZvmO5uY16mlWJICjxOqQE4iimClcSF7TwgLGcZMuyepVrqBZqfitZ/QaGZY02XuFa AuQNSouzEQjM34Dp3dheBCHO1SX1lZQ+h8uGpUe4WM8X6bJXENtC7rrZtjSAdt5p5z +eQY7LwvLyjBEZ0hDq75TGZkWP1Kz/VntzHh/0m0= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: umodem0, Cisco USB serial console, and quirks To: Hans Petter Selasky , Mike Andrews Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@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 BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> Date: Fri, 2 Nov 2018 11:53:22 +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: <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i8rPLifjfJMKLrGc8b3wgV1ImEGKpXEBy" 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: Fri, 02 Nov 2018 08:55:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i8rPLifjfJMKLrGc8b3wgV1ImEGKpXEBy Content-Type: multipart/mixed; boundary="acae3vn8coyMMRiJuoKOiPu5ooQsDYGUb"; protected-headers="v1" From: "Andrey V. Elsukov" To: Hans Petter Selasky , Mike Andrews Cc: freebsd-usb@freebsd.org Message-ID: <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> Subject: Re: umodem0, Cisco USB serial console, and quirks References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> In-Reply-To: <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> --acae3vn8coyMMRiJuoKOiPu5ooQsDYGUb Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02.11.2018 11:45, Hans Petter Selasky wrote: >>> 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. >>> >> No, I didn't. >> >> The usbmon dumps above are still there, and if someone can suggest >> anything else I can do to help, lemme know. >> >=20 > Hi, >=20 > Are there any errors printed in dmesg for this device? >=20 > What does "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" > where X.Y are numbers after ugenX.Y, output? Hi, no errors, it looks like it should work, but cu(1) doesn't show the console output. # kldload umodem umodem0 on uhub1 umodem0: on usbus0 umodem0: data interface 1, has no CM over data, has no break # usbconfig -d ugen0.2 dump_device_desc dump_curr_config_desc ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DFUL= L (12Mbps) pwr=3DON (100mA) bLength =3D 0x0012 bDescriptorType =3D 0x0001 bcdUSB =3D 0x0200 bDeviceClass =3D 0x0002 bDeviceSubClass =3D 0x0000 bDeviceProtocol =3D 0x0000 bMaxPacketSize0 =3D 0x0008 idVendor =3D 0x05a6 idProduct =3D 0x0009 bcdDevice =3D 0x0000 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x0043 bNumInterfaces =3D 0x0002 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0003 bmAttributes =3D 0x00c0 bMaxPower =3D 0x0032 Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x0002 bInterfaceSubClass =3D 0x0002 bInterfaceProtocol =3D 0x0001 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x00 RAW dump: 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 Additional Descriptor bLength =3D 0x04 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x02 RAW dump: 0x00 | 0x04, 0x24, 0x02, 0x02 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x06 RAW dump: 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 Additional Descriptor bLength =3D 0x05 bDescriptorType =3D 0x24 bDescriptorSubType =3D 0x01 RAW dump: 0x00 | 0x05, 0x24, 0x01, 0x00, 0x01 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008 bInterval =3D 0x0002 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Interface 1 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0001 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0002 bInterfaceClass =3D 0x000a bInterfaceSubClass =3D 0x0000 bInterfaceProtocol =3D 0x0000 iInterface =3D 0x0000 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0082 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0040 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 Endpoint 1 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0003 bmAttributes =3D 0x0002 wMaxPacketSize =3D 0x0020 bInterval =3D 0x0000 bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 # cu -l /dev/cuaU0 Connected --=20 WBR, Andrey V. Elsukov --acae3vn8coyMMRiJuoKOiPu5ooQsDYGUb-- --i8rPLifjfJMKLrGc8b3wgV1ImEGKpXEBy 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/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlvcEIIACgkQAcXqBBDI oXozogf/Wyne2kfINzswNsnZd4dfqiUPlTb2gbhhBlDcubrhDVzmZlrm7OhDoYd2 JS8emKQ41plIR1Ys/5hwm1I2MCfduzH+FWHZs/PzAZ4dpE+4N7yxNo0r71ixssYP alGV5FR4Ifiiv5tmTBAuIbUK9qG8Zjrx8/4oRDY2WWLwQVgXgJnuKdT5XdXn8oDK P4lXMrFcj96IiGXsiU918tZsMQRQgE1P7IuWU0dnXydFMVvknjFa/6XtMPi5kFg5 5+I4PR57nc16VanaS+iRgiNd5UmO/ZdMoBve5Cbl4kVP+CVtfAcI88RqwPrtlVjz eQIzbbFrHvtrXDvouY+17zP3Y0qICw== =Na3S -----END PGP SIGNATURE----- --i8rPLifjfJMKLrGc8b3wgV1ImEGKpXEBy-- From owner-freebsd-usb@freebsd.org Fri Nov 2 09:12:49 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 AAC8510EEB5A for ; Fri, 2 Nov 2018 09:12:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 3A8027EA2C for ; Fri, 2 Nov 2018 09:12:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CF2FA26019D; Fri, 2 Nov 2018 10:12:47 +0100 (CET) Subject: Re: umodem0, Cisco USB serial console, and quirks To: "Andrey V. Elsukov" , Mike Andrews Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> From: Hans Petter Selasky Message-ID: <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> Date: Fri, 2 Nov 2018 10:12:16 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Fri, 02 Nov 2018 09:12:49 -0000 On 11/2/18 9:53 AM, Andrey V. Elsukov wrote: > On 02.11.2018 11:45, Hans Petter Selasky wrote: >>>> 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. >>>> >>> No, I didn't. >>> >>> The usbmon dumps above are still there, and if someone can suggest >>> anything else I can do to help, lemme know. >>> >> >> Hi, >> >> Are there any errors printed in dmesg for this device? >> >> What does "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" >> where X.Y are numbers after ugenX.Y, output? > > Hi, > > no errors, it looks like it should work, but cu(1) doesn't show the > console output. > > # kldload umodem > umodem0 on uhub1 > umodem0: on > usbus0 > umodem0: data interface 1, has no CM over data, has no break > > # usbconfig -d ugen0.2 dump_device_desc dump_curr_config_desc > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0002 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x05a6 > idProduct = 0x0009 > bcdDevice = 0x0000 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0043 > bNumInterfaces = 0x0002 > bConfigurationValue = 0x0001 > iConfiguration = 0x0003 > bmAttributes = 0x00c0 > bMaxPower = 0x0032 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0002 > bInterfaceSubClass = 0x0002 > bInterfaceProtocol = 0x0001 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x05 > bDescriptorType = 0x24 > bDescriptorSubType = 0x00 > RAW dump: > 0x00 | 0x05, 0x24, 0x00, 0x10, 0x01 > > > Additional Descriptor > > bLength = 0x04 > bDescriptorType = 0x24 > bDescriptorSubType = 0x02 > RAW dump: > 0x00 | 0x04, 0x24, 0x02, 0x02 > > > Additional Descriptor > > bLength = 0x05 > bDescriptorType = 0x24 > bDescriptorSubType = 0x06 > RAW dump: > 0x00 | 0x05, 0x24, 0x06, 0x00, 0x01 > > > Additional Descriptor > > bLength = 0x05 > bDescriptorType = 0x24 > bDescriptorSubType = 0x01 > RAW dump: > 0x00 | 0x05, 0x24, 0x01, 0x00, 0x01 > > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0008 > bInterval = 0x0002 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > > Interface 1 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0001 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0002 > bInterfaceClass = 0x000a > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0000 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0082 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0040 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0003 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0020 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > > # cu -l /dev/cuaU0 > Connected > > > Did you try "-s" option to set another baudrate? --HPS From owner-freebsd-usb@freebsd.org Fri Nov 2 09:26:50 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 D186110EEF7F for ; Fri, 2 Nov 2018 09:26:49 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28E727F380 for ; Fri, 2 Nov 2018 09:26:48 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward104p.mail.yandex.net (Yandex) with ESMTP id E8175186978; Fri, 2 Nov 2018 12:26:38 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NfXkCxUVvn-QcuGON0H; Fri, 02 Nov 2018 12:26:38 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1541150798; bh=24TLhp8roMJrBzFA6lt2SYKDN1KeqMZsWPFIVDiY1f4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=FaB2jj+Yv4x3U9yII/D/T/5rmqTdTCSMmfKEeGPYtAL8+afDwq0HlhFaB1NvaAuYG HfVidtFik4LkbABqb0IYH0erpy58AHn4LgC5bE7fIIfceG5N2y3v3WOuTc44hx2V0Z DCcfIS6m1Cu7Ndz7ZPSFhQqeW2g5ioxXnshTigIY= Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SNadFm34WN-QbOCt9IA; Fri, 02 Nov 2018 12:26:37 +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=1541150797; bh=24TLhp8roMJrBzFA6lt2SYKDN1KeqMZsWPFIVDiY1f4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=LUZIvFtzeJgv0VcTybSmXxECKKe4bkKtlcectxuxfGEiTffK7GCTADfjTGsdd98Pz t5Wj++akCGTfEqCD33U54KJOsMWvtEjVbY5niMamUkHHKfRBkJyGjunFUN9PV82RCJ Qj3ejqttatm7dZUNOh9L8LZh520YnT+mWkPMIVCc= Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: umodem0, Cisco USB serial console, and quirks To: Hans Petter Selasky , Mike Andrews Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@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 BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> Date: Fri, 2 Nov 2018 12:24:39 +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: <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vTa5WMrkS5kVnvRypvd29CoxC7rNecPSx" 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: Fri, 02 Nov 2018 09:26:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vTa5WMrkS5kVnvRypvd29CoxC7rNecPSx Content-Type: multipart/mixed; boundary="1pPMmG6ZvvXc10gVG0C6vsKVhjBvlmeXG"; protected-headers="v1" From: "Andrey V. Elsukov" To: Hans Petter Selasky , Mike Andrews Cc: freebsd-usb@freebsd.org Message-ID: <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> Subject: Re: umodem0, Cisco USB serial console, and quirks References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> In-Reply-To: <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> --1pPMmG6ZvvXc10gVG0C6vsKVhjBvlmeXG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02.11.2018 12:12, Hans Petter Selasky wrote: >> # cu -l /dev/cuaU0 >> Connected >> >> >> >=20 > Did you try "-s" option to set another baudrate? Yes, the result is the same. # cu -s 115200 -l /dev/cuaU0 Connected If I understand correctly from https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt The Leftover Capture Data: 80250000000008 and frame[1] WRITE 7 bytes 0000 80 25 00 00 00 00 08 -- -- -- -- -- -- -- -- -- |.%..... is something like configuration data, where 80 25 is 0x2580 =3D=3D 9600, = so it should work with default speed. When I use 115200, I see this: 09:27:52.657367 usbus0.2 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D2,SLEN=3D= 16,IVAL=3D0 frame[0] WRITE 8 bytes 0000 21 20 00 00 00 00 07 00 -- -- -- -- -- -- -- -- |! ...... = | frame[1] WRITE 7 bytes 0000 80 25 00 00 00 00 08 -- -- -- -- -- -- -- -- -- |.%..... = | flags 0x10 status 0xca1a3 09:27:52.657711 usbus0.2 DONE-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D2,SLEN=3D0,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] WRITE 7 bytes flags 0x10 status 0xca1a1 09:27:52.760528 usbus0.2 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D2,SLEN=3D= 16,IVAL=3D0 frame[0] WRITE 8 bytes 0000 21 20 00 00 00 00 07 00 -- -- -- -- -- -- -- -- |! ...... = | frame[1] WRITE 7 bytes 0000 00 C2 01 00 00 00 08 -- -- -- -- -- -- -- -- -- |....... = | flags 0x10 status 0xea1a3 0x01c200 =3D=3D 115200. --=20 WBR, Andrey V. Elsukov --1pPMmG6ZvvXc10gVG0C6vsKVhjBvlmeXG-- --vTa5WMrkS5kVnvRypvd29CoxC7rNecPSx 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/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlvcF9cACgkQAcXqBBDI oXphhAgAsUsPedS/bUNLcY6Qv+hctaRP2sjmbJlIEqEMHIL9zQdSpqCikcliM79s yXCfD8gYya8mEDJQv8AsFLO3NdNtij9h8WBsuhmv123yaQBN/bCuxuC/x8v52FoV aCZltKT8KWEsE9zhZLEc51cPRhPNrtl7loVRa7Mcq2pXt/7vAoLL7hl+5KeLzObQ CFiVtfpBwpD34FxAHa83mYHSbvQ/07vv6GuhG9H2QS0q8AmGwDXlt+Pfa7P2/qQ9 MXwvsy5JyxESWWDP+1mBRgQrWFR43gy90PKQ3y7myQ2668gM+wOWLoOyFMF9r7Xm ayKYlAWvcZ1uBbcICwWkdNHbp/wtBg== =kp2L -----END PGP SIGNATURE----- --vTa5WMrkS5kVnvRypvd29CoxC7rNecPSx-- From owner-freebsd-usb@freebsd.org Fri Nov 2 09:56:44 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 A8EDC10EFC54 for ; Fri, 2 Nov 2018 09:56:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 4976180433 for ; Fri, 2 Nov 2018 09:56:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [178.17.145.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BD10726019D; Fri, 2 Nov 2018 10:56:42 +0100 (CET) Subject: Re: umodem0, Cisco USB serial console, and quirks To: "Andrey V. Elsukov" , Mike Andrews Cc: freebsd-usb@freebsd.org References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> From: Hans Petter Selasky Message-ID: Date: Fri, 2 Nov 2018 10:56:11 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Fri, 02 Nov 2018 09:56:44 -0000 On 11/2/18 10:24 AM, Andrey V. Elsukov wrote: > On 02.11.2018 12:12, Hans Petter Selasky wrote: >>> # cu -l /dev/cuaU0 >>> Connected >>> >>> >>> >> >> Did you try "-s" option to set another baudrate? > > Yes, the result is the same. > > # cu -s 115200 -l /dev/cuaU0 > Connected > > If I understand correctly from > https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt > > The > > Leftover Capture Data: 80250000000008 > > and > > frame[1] WRITE 7 bytes > 0000 80 25 00 00 00 00 08 -- -- -- -- -- -- -- -- -- |.%..... > > is something like configuration data, where 80 25 is 0x2580 == 9600, so > it should work with default speed. When I use 115200, I see this: > All the commands for USB modems should be described here: https://www.usb.org/sites/default/files/CDC_EEM10.pdf I'm sorry, but I don't have time currently to decode the Linux traces and compare with FreeBSD. --HPS From owner-freebsd-usb@freebsd.org Fri Nov 2 13:59:37 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 BACAE10F7BA1 for ; Fri, 2 Nov 2018 13:59:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA5A6BDFA for ; Fri, 2 Nov 2018 13:59:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd2d.google.com with SMTP id d80-v6so1441029iof.1 for ; Fri, 02 Nov 2018 06:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R5mC+t/VnnHJHEGLk7ZIXCOopUVhHTv4uF8KjPuwRlw=; b=twh5YakyrKVEQoe9ZDWopFz+8MCLEZbVryupCTR0xB2pEMeH0oCAA9WeNoH4lxXmkh WR4K84t9XVEwE9bXDXxRCLleZnuH6fnhHkHv5OJlw5QcDwmsIW4Hq6mxhwypJ4V5Ee2t 9GmgDif7hGuNNziX61vaGrTF1GWkxmUiC+LZt13Sw7gWitNz3bp23/UV6gOgmlW8kdx+ haALv7kHCkBc4qwOyEvHOBbSSeSfETqDIiXF7D9oxjdms3AIbZ5hdHdpwllN3BTBS2gQ P6QnVbybbbn3ogfEMoLAi/bddoKhjRuwaBlExmRbfNqVh/gxg2O8T4HWnki1rTXfSVn8 DDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R5mC+t/VnnHJHEGLk7ZIXCOopUVhHTv4uF8KjPuwRlw=; b=AOZPwZulHLMg/tOcV9ZArzKWF97k2azYjnrObp51npNi5Ny8pG9BdBIxP3MLN8d8MP iP243kO4vVwskEjVGTG1yjMQmGiQXkpkQ70McmdkFcR235ttIciaySvkTb2NLwZZM/uy au9qV+m39SOl3hZim6aUuaj+hiFixOjgv/b/kEIu1gOFJ8feQlxM2boU/Ui24yN9G0da HotUJKwqksQktX/NwFV2nBLVjSUjagVUxgfPzDtZKHIz8gq0RIN3OfFV+a0eti//rwoJ j1qrHn3h6ft6OwEjn/GxG3oo8fYjFSIuzEl3xp0PdZiJKPCN8gy0fqpdHfsNuBk6nHG3 F0HQ== X-Gm-Message-State: AGRZ1gICnnPscJSJOrPwsRWMpEz04IhOZyOY6AXkvswIFZ2AbdC+hNq5 /+H6DVSZ+7505CX0Wj8hOVqJTIpg4XsnABPWeiAmiQ== X-Google-Smtp-Source: AJdET5f7r7mbBO9AUWEKdJsIa4a8pL8JOC6Top75wTSzvEUedZ0Ha0DBrNOHMdiYIfS0ViOCh4O1tKl0PmLIrgSn9Ko= X-Received: by 2002:a6b:ca87:: with SMTP id a129-v6mr9074330iog.168.1541167175248; Fri, 02 Nov 2018 06:59:35 -0700 (PDT) MIME-Version: 1.0 References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> In-Reply-To: From: Warner Losh Date: Fri, 2 Nov 2018 07:59:24 -0600 Message-ID: Subject: Re: umodem0, Cisco USB serial console, and quirks To: Hans Petter Selasky Cc: "Andrey V. Elsukov" , mandrews@bit0.com, "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 02 Nov 2018 13:59:37 -0000 On Fri, Nov 2, 2018 at 3:57 AM Hans Petter Selasky wrote: > On 11/2/18 10:24 AM, Andrey V. Elsukov wrote: > > On 02.11.2018 12:12, Hans Petter Selasky wrote: > >>> # cu -l /dev/cuaU0 > >>> Connected > >>> > >>> > >>> > >> > >> Did you try "-s" option to set another baudrate? > > > > Yes, the result is the same. > > > > # cu -s 115200 -l /dev/cuaU0 > > Connected > > > > If I understand correctly from > > https://www.bit0.com/tmp/usbmon-ciscoasa-verbose.txt > > > > The > > > > Leftover Capture Data: 80250000000008 > > > > and > > > > frame[1] WRITE 7 bytes > > 0000 80 25 00 00 00 00 08 -- -- -- -- -- -- -- -- -- |.%..... > > > > is something like configuration data, where 80 25 is 0x2580 == 9600, so > > it should work with default speed. When I use 115200, I see this: > > > > All the commands for USB modems should be described here: > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > I'm sorry, but I don't have time currently to decode the Linux traces > and compare with FreeBSD. > One thing to also note about the Linux driver. "it just works" is only because people have inserted a crap-ton of special cases and dealt with weird quirks of different devices, and devices that are only kinda sorta standards conforming, but easy enough to hack the driver to make work. Chances are quite good you'll have to, as hps points out, puzzle through the traces to find where it's non-conformant and/or our driver is non-compliant. Warner From owner-freebsd-usb@freebsd.org Fri Nov 2 14:04:37 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 000E310F7E8A for ; Fri, 2 Nov 2018 14:04:36 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::107]) (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 5FF366C20F for ; Fri, 2 Nov 2018 14:04:35 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 90806582015; Fri, 2 Nov 2018 17:04:25 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 74fdMPVBnm-4PA4DKvK; Fri, 02 Nov 2018 17:04:25 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1541167465; bh=V27wQLBT9c/yCCItPphCenDHLEQUFw9C4xz5YQU4gg4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=QPAQmMP84wvv/GK4/1KseUKug8/r6igpxODNgifq0Pd82OksrtUw0ShuvlBsR1CPS 7k8AAsciAfkOL59LTsM9drkRgZ2kLD7lQMtnduE1VjAJvmSzgaUS9fKiguUt+dna0d Uo19IJgQS+QOZ8CVVGg7uKpmBx8AjKk2qWQ1XeT4= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id q82Ii9WKNF-4Osm6FvU; Fri, 02 Nov 2018 17:04:24 +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=1541167464; bh=V27wQLBT9c/yCCItPphCenDHLEQUFw9C4xz5YQU4gg4=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=az01gpbrfmhPr32nSKWUqBzFDwA6ZFcZCS427/WWJNX8+JwW0jxK1DlYw+U+gC02u /9lqwZLb6Hd6FgJzuo8FAOJU0WF8YV23Q65/goJ6JXXTtMkir4TcMCHW3nfj96VWt+ JXlsq0lvk8XLRwOso4TqtatILDWrfImIifPdVouQ= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: umodem0, Cisco USB serial console, and quirks To: Warner Losh , Hans Petter Selasky Cc: mandrews@bit0.com, "freebsd-usb@FreeBSD.org" References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> 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 BwMCBhUIAgkKCwQWAgMBAh4BAheABQJMB/ruAhkBAAoJEAHF6gQQyKF6MLwH/3Ri/TZl9uo0 SepYWXOnxL6EaDVXDA+dLb1eLKC4PRBBjX29ttQ0KaWapiE6y5/AfzOPmRtHLrHYHjd/aiHX GMLHcYRXD+5GvdkK8iMALrZ28X0JXyuuZa8rAxWIWmCbYHNSBy2unqWgTI04Erodk90IALgM 9JeHN9sFqTM6zalrMnTzlcmel4kcjT3lyYw3vOKgoYLtsLhKZSbJoVVVlvRlGBpHFJI5AoYJ SyfXoN0rcX6k9X7Isp2K50YjqxV4v78xluh1puhwZyC0p8IShPrmrp9Oy9JkMX90o6UAXdGU KfdExJuGJfUZOFBTtNIMNIAKfMTjhpRhxONIr0emxxDOwE0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAcLAXwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> Date: Fri, 2 Nov 2018 17:02:20 +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="6WaCXOg858ziN6ONJq9GbjdhEWURqEQaz" 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: Fri, 02 Nov 2018 14:04:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6WaCXOg858ziN6ONJq9GbjdhEWURqEQaz Content-Type: multipart/mixed; boundary="UKipmAiW4rrZ50vdPwLVQX2qh1oPtMCAw"; protected-headers="v1" From: "Andrey V. Elsukov" To: Warner Losh , Hans Petter Selasky Cc: mandrews@bit0.com, "freebsd-usb@FreeBSD.org" Message-ID: <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> Subject: Re: umodem0, Cisco USB serial console, and quirks References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> In-Reply-To: --UKipmAiW4rrZ50vdPwLVQX2qh1oPtMCAw Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02.11.2018 16:59, Warner Losh wrote: > All the commands for USB modems should be described here: >=20 > https://www.usb.org/sites/default/files/CDC_EEM10.pdf >=20 > I'm sorry, but I don't have time currently to decode the Linux trac= es > and compare with FreeBSD. >=20 >=20 > One thing to also note about the Linux driver. "it just works" is only > because people have inserted a crap-ton of special cases and dealt with= > weird quirks of different devices, and devices that are only kinda sort= a > standards conforming, but easy enough to hack the driver to make work. > Chances are quite good you'll have to, as hps points out, puzzle throug= h > the traces to find where it's non-conformant and/or our driver is > non-compliant. So, when it "just work" under Linux, Windows and Mac OS, but doesn't work under FreeBSD, I suspect we need fix FreeBSD :) --=20 WBR, Andrey V. Elsukov --UKipmAiW4rrZ50vdPwLVQX2qh1oPtMCAw-- --6WaCXOg858ziN6ONJq9GbjdhEWURqEQaz 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/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlvcWOwACgkQAcXqBBDI oXo8MwgAhedCAioBij0Ci/a5tDva1i/RLn85NH/P8Z/8Cp19AEpLCABon3MDfC9Q h26OuTYy5fjmn8le0PnfdPPEEvrdhEWG4grW5UmnbhOLxNV0+MsTgNkvX38L1zcl rqZsRym3eVJ00++75ebp2SbkGOPHDCwagHDGDgEo0Z+3XFOeZG60K9UFU2EU8iwH aVl4ZoTA66CV6cx+6oWUk9xRdyXuJkOgrz5Ah45mkYvMIyOvEnaqfKMNhuaINT8X ZsHbEav01s8B/oo1FsjP7Xn7MgnjgNzKPb5Wmk9/FMWqEj6tPv4M/o9QMgcadtJh fMxaz1utIG8d/P1rZkpLxngoThy3Rg== =5TUo -----END PGP SIGNATURE----- --6WaCXOg858ziN6ONJq9GbjdhEWURqEQaz-- From owner-freebsd-usb@freebsd.org Fri Nov 2 14:10:55 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 18EC810F82FB for ; Fri, 2 Nov 2018 14:10:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12e.google.com (mail-it1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BA186C938 for ; Fri, 2 Nov 2018 14:10:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12e.google.com with SMTP id e74-v6so3326090ita.2 for ; Fri, 02 Nov 2018 07:10:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kr4XGdEz5uyos+jsGF/WR/1qU15PkjA+Fk02FVs+z9s=; b=tLGpL/m07pozFDBir2myDrizlbWikVytSvuBxPObiF2EX3tUptrRb6h0H4tlf1J5KT Ov0PMSZ0dU/FtS6Fe5eWlQ/yeF6Vj8krStBCwXqZlxzb6IL8TpqaPaOSht4ua5v1i7Dw +BEO+RrSCvW33nZxt7LlACn9go/tLUcEUYxrQY+oc1G6D3hSfucPsTB/85c2sYymJX4G a6NmV81Rul4KizMjkT4MK0y9o6A0YQgQxhKWIJlGz4C9XJsejEvAeZNPW/dCd2kAm1yi E55nCoGtUyJ86eL2UWGAIooYwbjnO46//GBqQq2JdQuhRBy8GNoAaXhsCas+Ya+KwP35 FRZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kr4XGdEz5uyos+jsGF/WR/1qU15PkjA+Fk02FVs+z9s=; b=pYbyGLtnXsuWXYrkoJBRn8HH6RU8jczh2XCajzuRlW7Ng4AJvo+CjWN7xnOzYlqjyb 7dKEMSlyQLaBjvXOQ3ESj8weeXey1eithGP98M5m+Jw/CD/RXVlSnZ6J4yggLPZwkNca F0b2KPvgIg6oh7hGkGFW0hYmKUD0juTje9+wBlwG0eSmqegcapZDfkZ7PQp58DifK1pQ X39ut4CFi2Oe+4TUsEU/IFmQThpQvjzGXHdal2MnOpPF0fIaozRhnDQbKprEA55LmKdc HgzI6rXMxZE0mQUjBkoe2yU6oxfh90hLaJzX30vnY47c89MXnWCjorVDvGKZLIExnQLa L2Jg== X-Gm-Message-State: AGRZ1gKihSQ4VKbRMdNrhbSpP+6AEKYFPVBIGaZDaLq+VfYge3hu1Tza 613y4JBkT+qvgDeGvfCbYvatvWDNc2aXYjOS+KQdxA== X-Google-Smtp-Source: AJdET5d5INVsPaIsKtENHcaUZWLRkFKlQ1B9gnK1vyOmSG2QyS0sfWveWg38iEO58Wt5bIHJG/wSeUJE2p94/bIQOJA= X-Received: by 2002:a02:31d:: with SMTP id y29-v6mr10481373jad.98.1541167853790; Fri, 02 Nov 2018 07:10:53 -0700 (PDT) MIME-Version: 1.0 References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> In-Reply-To: <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> From: Warner Losh Date: Fri, 2 Nov 2018 08:10:42 -0600 Message-ID: Subject: Re: umodem0, Cisco USB serial console, and quirks To: "Andrey V. Elsukov" Cc: Hans Petter Selasky , mandrews@bit0.com, "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 02 Nov 2018 14:10:55 -0000 On Fri, Nov 2, 2018 at 8:04 AM Andrey V. Elsukov wrote: > On 02.11.2018 16:59, Warner Losh wrote: > > All the commands for USB modems should be described here: > > > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > > > I'm sorry, but I don't have time currently to decode the Linux traces > > and compare with FreeBSD. > > > > > > One thing to also note about the Linux driver. "it just works" is only > > because people have inserted a crap-ton of special cases and dealt with > > weird quirks of different devices, and devices that are only kinda sorta > > standards conforming, but easy enough to hack the driver to make work. > > Chances are quite good you'll have to, as hps points out, puzzle through > > the traces to find where it's non-conformant and/or our driver is > > non-compliant. > > So, when it "just work" under Linux, Windows and Mac OS, but doesn't > work under FreeBSD, I suspect we need fix FreeBSD :) > We need to add support for this device yes. However, my point is that the other systems may have quirks and kinks in their drivers to cope with the non-conformity of a device that doesn't quite conform to the standards. This was to answer an earlier assertion that the device was standard, which I don't believe to be supported by the facts. There's some quirk or special driver needed for this odd-ball device. Since it can be almost impossible to do this work from pure traces alone, the person with the device needs to puzzle it out, or pay someone to puzzle it out... Warner From owner-freebsd-usb@freebsd.org Fri Nov 2 14:31:11 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 9DAC010F8EC2 for ; Fri, 2 Nov 2018 14:31:11 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EBB06DBCF for ; Fri, 2 Nov 2018 14:31:11 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id 79-v6so1510898iou.2 for ; Fri, 02 Nov 2018 07:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BJMsr0evGZASI9o0EriUk3gmANv/l8kmh1D9n9QsUXA=; b=nclgSmEGH+UCd768duXIpw8rVNgEbgQzhRdhBTJYv5j9LAMQty8qEIQQAr9e/9Kp4N j/kxsHqezW3jVu9KE3SdA7eJv2G2HnFmmV7AWwin8QKqMoveGQxD6taAFdQriPGZYenj MprzvGbFdtvlfOwv6QMPIhIYG13TGc3SSi7S9u1q/9KPYfEVdOnneeTig7FP7kqTAj+b KM766kHI6cAVXreSNSjrPPsB/gswQWk6+ZEi729I/8+MMIKLNYFB+nm6JVVL4yGqpTOX bAsesUrin1yWzkmT38C7c/Tu0528QjloTm7zB017KZTbDVFES7NP0kB0ehPv1c2upM05 QDVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BJMsr0evGZASI9o0EriUk3gmANv/l8kmh1D9n9QsUXA=; b=jQGGxX0EekhB329aZHOhZGTK2Ur7fcDf2aRV0uyrR67/vL1N3NCh0lPnaqYZrktkH1 F7wNzlbYa0XtLErZ3gMnWd5ioH7qgPY1L1HBqJXlIy6CIvGITOQBQhtSAVnEL+a3RzU8 G42NdFZVBdMZdR2A2Jb4/Xu6kx8SSRTBwoF8qn+UrRFbsjF4dAS0a30Uv43KsJI2Cu4p YuYnsUyCljcFmQ4LDiSstQosZUcZBQ6w472SAwZ8N2+nrB/BbwY53XhLiZmlapy/ARXB bGaGelH8INdogmKHeqrl98XbD3qX074hEeDcJQnYh2mXo7xagavXbjdau1Z+FOU2gcO3 QlhQ== X-Gm-Message-State: AGRZ1gKU5eZAKDZja+jaLQl/vPTTWUq2C1wWxmU2x/lApUdYCCtxyXzC oESP4wr2wkDQW5cacKg15Ycr3MqpelBgL4VqFVA= X-Google-Smtp-Source: AJdET5dwIxeUvYmk2mqrgnG+Y/zEcpUJfo6Rc7T4F5Oal3Fc7Z6fePOglR6WcO01qcg51uXtlzKGwz4dI4/3irlHG0c= X-Received: by 2002:a6b:c917:: with SMTP id z23-v6mr9014871iof.179.1541169070465; Fri, 02 Nov 2018 07:31:10 -0700 (PDT) MIME-Version: 1.0 References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> In-Reply-To: From: blubee blubeeme Date: Fri, 2 Nov 2018 22:32:07 +0800 Message-ID: Subject: Re: umodem0, Cisco USB serial console, and quirks To: Warner Losh Cc: "Andrey V. Elsukov" , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 02 Nov 2018 14:31:11 -0000 On Fri, Nov 2, 2018, 22:11 Warner Losh wrote: > On Fri, Nov 2, 2018 at 8:04 AM Andrey V. Elsukov > wrote: > > > On 02.11.2018 16:59, Warner Losh wrote: > > > All the commands for USB modems should be described here: > > > > > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > > > > > I'm sorry, but I don't have time currently to decode the Linux > traces > > > and compare with FreeBSD. > > > > > > > > > One thing to also note about the Linux driver. "it just works" is only > > > because people have inserted a crap-ton of special cases and dealt with > > > weird quirks of different devices, and devices that are only kinda > sorta > > > standards conforming, but easy enough to hack the driver to make work. > > > Chances are quite good you'll have to, as hps points out, puzzle > through > > > the traces to find where it's non-conformant and/or our driver is > > > non-compliant. > > > > So, when it "just work" under Linux, Windows and Mac OS, but doesn't > > work under FreeBSD, I suspect we need fix FreeBSD :) > > > > We need to add support for this device yes. However, my point is that the > other systems may have quirks and kinks in their drivers to cope with the > non-conformity of a device that doesn't quite conform to the standards. > This was to answer an earlier assertion that the device was standard, which > I don't believe to be supported by the facts. There's some quirk or special > driver needed for this odd-ball device. Since it can be almost impossible > to do this work from pure traces alone, the person with the device needs to > puzzle it out, or pay someone to puzzle it out... > > Warner > Lol > _______________________________________________ > freebsd-usb@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > From owner-freebsd-usb@freebsd.org Fri Nov 2 15:18:08 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 B009310FAC13 for ; Fri, 2 Nov 2018 15:18:08 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491097062B for ; Fri, 2 Nov 2018 15:18:08 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-vs1-f66.google.com with SMTP id w194so1252619vsc.11 for ; Fri, 02 Nov 2018 08:18:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SgJy+NPgqit2BDaReR3fN+Z6zKqqxx2mw969ccNW1fY=; b=CjAjh4rCEhsJrig4zGoe8qXyyzvMfiEK6ptiAvo+VaK0rGalpdvLm+ZizZu8CeK5dC LUBdMCHf99cLbTPotSHPF461EJPCdhje3wkN7U7MI9RwQWYnqSn34uB3jozGzCmQchw9 GYUiL0J9EtW5c+//8UIlkjXAqh21p8XoMbsFi4X58MBllFGu2w5QxS3SdgoyLHytZOn5 w3ChPebSD8Ptk74d5xg8H5KE9x6OTp1Sg0sLnhfYYq5TaNZeIfW58FgRqxDeUMEWq84I +/tWBDiW8JUTjHI5FBZIyOF0MUgDnpw+pqerj98l4Eh/iAveZUTAUE/9DfBLeP/VMQXp j2Eg== X-Gm-Message-State: AGRZ1gIwYTRiqF+VyNlzzBDNdbWVqSrI41CothmmzyRvpJbaWfg1m4Ai StwV2uvSvpLRGM9mQ4PO0eMrBPAg2VUErgJSyOcGGQ== X-Google-Smtp-Source: AJdET5cUJwZZ8A/Pztug/bjN2QnbUvORnfBr1jsR75l696aTO7XMyF/wfAaUiRmHyivnoXbdNlDsMgdq6IvMca/uMDU= X-Received: by 2002:a67:ac0c:: with SMTP id v12mr2808955vse.121.1541170486042; Fri, 02 Nov 2018 07:54:46 -0700 (PDT) MIME-Version: 1.0 References: <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <33f3a1f8-69d1-9240-6381-8a851beb97d0@yandex.ru> <18d57cbe-1235-aedf-45e6-e36b495ca1eb@bit0.com> <15cff2a5-021f-49e5-b287-37a14a9321b3@selasky.org> <5d0a544d-517c-2fb9-84e8-d87704474cce@yandex.ru> <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org> <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru> <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> In-Reply-To: <0dd7b89f-6a82-1d6e-0d0a-4f2b9515bd5d@yandex.ru> From: CeDeROM Date: Fri, 2 Nov 2018 16:54:43 +0100 Message-ID: Subject: Re: umodem0, Cisco USB serial console, and quirks To: bu7cher@yandex.ru Cc: imp@bsdimp.com, Hans Petter Selasky , "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" 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: Fri, 02 Nov 2018 15:18:08 -0000 Try to add VID/PID of your device into a usbmodem driver. Use configurations to see which one works with your device. Rebuild the module/kernel, reboot, try it out untill success. After your device is recognised by usbmodem and creates several cuaU* devices.. still Your device may require uploading a specific firmware in order for gsm modem to work. You can find those in Windows driver package. Use MINICOM for cuaU communications that would save you a debug time. That works for me - added 3 devices like that with no problem. In fact they work better on FreeBSD than Windows ;-) Alternartively, replace your modem with something that is known to work - for instance QUECTEL EC25 LTE module works far better than my previous stock 3G module here.. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info