From owner-freebsd-usb@freebsd.org Tue Oct 8 14:20:48 2019 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8CD412A316 for ; Tue, 8 Oct 2019 14:20:48 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nfdq6nYkz40qX for ; Tue, 8 Oct 2019 14:20:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f44.google.com with SMTP id v2so36784725iob.10 for ; Tue, 08 Oct 2019 07:20:47 -0700 (PDT) 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=JZ/dHcXmMw0LMcCwuSwI+ymeXz42Jgv6CbP6Ai4gI/g=; b=jx+Gi04P1ZR/gpvTCO+nBWBLtDHCE5OB1CCemKCVe+hLaBZis8cqQRk1oQr88YpmLv rZM5AAEh6SwGoV5F/EtjIhN9bh/7qtcNd50LXVKsKryKwSEtsKGZ4ZjpAgZhP95tT81A L397YfL+s14EqKO/OI7VrMksQ4kIMayYjRbrUxHVKjskmwS8SL8pcuZjYL9CKBQN+Vlc T2g698xq/Rby2G8eyQqgQyGZPjVqF/MiRSnYCq3YSWCNWMyUcHbEpQN5u+Qr/2IMwjap IrbPCO5vn9ixSR5wv9yKPHUL0YwhQHw/fbqlgX4GA7A0frIMEh+pcqQfBPQeAbf3tcfm 5Eaw== X-Gm-Message-State: APjAAAX0QcG234wL1ZekCbcKsZIZQOfviE4vMKeqv8DrSSK2b20ZBozL jaQ3QeR7KAL6yhCs5/5mOaY/nRsF6vYNi50bLJlhFhTjPcU= X-Google-Smtp-Source: APXvYqxA7Pv95pvSCQgfHe+jMWQylVRzuIrXaFpWMiPpojlDPU+0BYzqwC2WmhYnFWV70OemUTt5P+yd6HK3i7a0+Ko= X-Received: by 2002:a6b:3806:: with SMTP id f6mr28739104ioa.120.1570544446861; Tue, 08 Oct 2019 07:20:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Tue, 8 Oct 2019 10:20:33 -0400 Message-ID: Subject: Re: USB serial ports by serial number To: Oleksandr Rybalko Cc: "O'Connor, Daniel" , freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46nfdq6nYkz40qX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.44 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.84 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-usb@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[44.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.84)[ip: (-3.73), ipnet: 209.85.128.0/17(-3.26), asn: 15169(-2.14), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[44.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 08 Oct 2019 14:20:48 -0000 On Thu, 3 Oct 2019 at 02:43, Oleksandr Rybalko wrote: > > Hi, > > Looks like you are lucky guy :) > Most of USB-serial devices have "very stable" serial number :) > more than 50% have S/N "0123456789". cp210x USB-serial devices are ubiquitous and cheap and it's easy to set the serial number. I have a trivial port of the 'cp210x-cfg' tool at https://github.com/emaste/cp210x-cfg.