umodem0, Cisco USB serial console, and quirks
Andrey V. Elsukov
bu7cher at yandex.ru
Fri Nov 2 09:26:50 UTC 2018
On 02.11.2018 12:12, Hans Petter Selasky wrote:
>> # cu -l /dev/cuaU0
>> Connected
>>
>> <nothing here>
>>
>
> 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:
09:27:52.657367 usbus0.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=2,SLEN=16,IVAL=0
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=00000000,SPD=FULL,NFR=2,SLEN=0,IVAL=0,ERR=0
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_IMMED|DOING_CALLBACK|0>
09:27:52.760528 usbus0.2 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=2,SLEN=16,IVAL=0
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 == 115200.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20181102/97ca87a3/attachment.sig>
More information about the freebsd-usb
mailing list