From owner-freebsd-usb@freebsd.org Mon Nov 5 16:59:08 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 1C4D411061A3 for ; Mon, 5 Nov 2018 16:59:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 7105F8687C for ; Mon, 5 Nov 2018 16:59:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12d.google.com with SMTP id d6so13677228itl.4 for ; Mon, 05 Nov 2018 08:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=am037LnNhmkk4VgGVl/fIRre58n5Vl4Gv3YsxAjZVyI=; b=rB1P2K7M408qD4b9heKRnKzQ2UvibSZqrATZ2osGdZIbXWUx5yoxUBbJidIgcf2+lz mBm8DBKIMDe0sZJqHtqefYmp45JqPPAK5M+dF6kcJ50ZBXPcUHuOKYfM8TiuBoKIIMWH 3O5xVvzWe07HTDTZwMGO1KYtpvekPAgUrcLIbiNCIpo2QeIcjNvdoR+WTAAQtxaTCEDr 7Hi6nLKf9LmCbqzmzmPaJ7hJeelrSZxrLKEEhWjP2e0Txu8+vWF/3a0P2Hq2cPMwx0yq 4DbWlnzrOjB7oTIFHr0Bm5ImubarNovKjUftoTK4U4wcmpf57n3SU7++z1lQBIzWM69m P0hQ== 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=am037LnNhmkk4VgGVl/fIRre58n5Vl4Gv3YsxAjZVyI=; b=BXqeU3OfXKuUMTKfWRhNQTZLTH682W0g0EgcjMB9kTMHn7G7dYJBp/FvadjHQNaHJ/ DD4gfIaYUyVnpS4D8UrBgMEFUcuwW85Jsm+8Oba1ZNyexXviwJhwm4sK65i2w9/QrWOa rMJzSqMPYRoARktDzdwL/bgWMifPuucjwyYcKDCkcOTCdUK1e1I9+k0MtM5qas2lcQ4F yd4+MD19fnEyVSouNfuMW6T7hKmilR4QaHpsFzcQ7GjSUmq7rzquKJMS1PAsev+e6TTJ LlNGvaIT+TDEkjUz43C9ixZY5qafnORXlB7f3M9nD+PSUY1FWvjVBMiWuSXvFwc7b9xZ 65XQ== X-Gm-Message-State: AGRZ1gKYKZs7jR/h6ILQpTU7OyKT1UZLtleX+Apkcxf8UGHzOmyVeHS5 iS9X1oS5NxgsB/63Kl+TLCcA2/KbSnODPupm6LPcbg== X-Google-Smtp-Source: AJdET5d7njb0TuaHE9JnDeTTL+WuFssif2enTA47jLp0VCF7vj7ocf6fjFiPLpyPGGFdhzFSF4aHnFTYCYYPPVfAQLI= X-Received: by 2002:a24:5f94:: with SMTP id r142-v6mr7563096itb.171.1541437146502; Mon, 05 Nov 2018 08:59:06 -0800 (PST) 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> <1541433839.52306.18.camel@freebsd.org> In-Reply-To: <1541433839.52306.18.camel@freebsd.org> From: Warner Losh Date: Mon, 5 Nov 2018 09:58:54 -0700 Message-ID: Subject: Re: umodem0, Cisco USB serial console, and quirks To: Ian Lepore Cc: Mike Andrews , "freebsd-usb@FreeBSD.org" X-Rspamd-Queue-Id: 7105F8687C X-Spamd-Result: default: False [-0.48 / 200.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.83)[0.832,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[d.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.42)[ipnet: 2607:f8b0::/32(-0.56), asn: 15169(-1.48), country: US(-0.06)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.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: Mon, 05 Nov 2018 16:59:08 -0000 On Mon, Nov 5, 2018 at 9:04 AM Ian Lepore wrote: > I've always wanted a way to add VID/PID combos to ugsensa's internal > list on the fly, like via hints or sysctl or something, to make this > kind of quick test easier. But I never find time to add the feature. > I have code to do this generically at the bus layer. that is, treat VID/PID A/B as really being C/D, which is what you want most of the time because so many drivers do special things when they know they have a C/D but not a C/E. Warner