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 bCqVhJGcG6iF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xMW+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--