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.