Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 12:24:39 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Hans Petter Selasky <hps@selasky.org>, Mike Andrews <mandrews@bit0.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: umodem0, Cisco USB serial console, and quirks
Message-ID:  <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru>
In-Reply-To: <5cdb37b5-fca1-99db-cacc-cf72f0cee0df@selasky.org>
References:  <alpine.BSF.2.21.1709191021260.34953@beast.int.bit0.com> <d9dbef0b-c22e-c7ea-34a2-f36e9e768745@selasky.org> <alpine.BSF.2.21.1709191205280.1218@beast.int.bit0.com> <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org> <alpine.BSF.2.21.1709262210180.33243@beast.int.bit0.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <bu7cher@yandex.ru>
To: Hans Petter Selasky <hps@selasky.org>, Mike Andrews <mandrews@bit0.com>
Cc: freebsd-usb@freebsd.org
Message-ID: <51ae0fc4-7e93-30d6-caa3-393afbe278b6@yandex.ru>
Subject: Re: umodem0, Cisco USB serial console, and quirks
References: <alpine.BSF.2.21.1709191021260.34953@beast.int.bit0.com>
 <d9dbef0b-c22e-c7ea-34a2-f36e9e768745@selasky.org>
 <alpine.BSF.2.21.1709191205280.1218@beast.int.bit0.com>
 <0c4022f3-bd21-49b5-cadd-daeb9f1f3081@selasky.org>
 <alpine.BSF.2.21.1709262210180.33243@beast.int.bit0.com>
 <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
>>
>> <nothing here>
>>
>=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 <PROXY_BUFFER|0>
 status 0xca1a3
<OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP=
|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
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 <PROXY_BUFFER|0>
 status 0xca1a1
<OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_I=
MMED|DOING_CALLBACK|0>
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 <PROXY_BUFFER|0>
 status 0xea1a3
<OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP=
|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>

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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51ae0fc4-7e93-30d6-caa3-393afbe278b6>