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