From nobody Mon Oct 21 19:00:01 2024 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XXPqv3RhPz5Zf9y for ; Mon, 21 Oct 2024 19:04:27 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from weser.webweaving.org (weser.webweaving.org [148.251.234.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "weser.webweaving.org", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXPqt3b00z4RZ1 for ; Mon, 21 Oct 2024 19:04:26 +0000 (UTC) (envelope-from dirkx@webweaving.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (83-85-39-103.cable.dynamic.v4.ziggo.nl [83.85.39.103]) (authenticated bits=0) by weser.webweaving.org (8.18.1/8.18.1) with ESMTPSA id 49LJ2s20068388 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 21 Oct 2024 21:02:59 +0200 (CEST) (envelope-from dirkx@webweaving.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=webweaving.org; s=shared; t=1729537379; bh=y4rtjh0AZbOtXAi2T1JzKms9NKS1sjchBnNzsmqTEM8=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=nO78HDVB2G6NFfWrCPds3g7RXHBsZlCFMOorrX+U79SAPIzuArAZNXXsIquswNT8o yXCigjtlPpGvnjHRWXAybTqEei71cXr1b72uTXA8JLEPg/BP/h9coucqhu1JBhMz+n EHyxBONxyLqeNFHCjAgXXjE6BaoW1tZMdHd5jLL4= X-Authentication-Warning: weser.webweaving.org: Host 83-85-39-103.cable.dynamic.v4.ziggo.nl [83.85.39.103] claimed to be smtpclient.apple Content-Type: text/plain; charset=us-ascii List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: pyserial.tools.list_port improvement for FreeBSD From: Dirk-Willem van Gulik In-Reply-To: <202410210954.49L9s9sD076618@critter.freebsd.dk> Date: Mon, 21 Oct 2024 21:00:01 +0200 Cc: hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <203ADA8C-A4ED-4849-B89D-6D18664D67D0@webweaving.org> References: <202410210954.49L9s9sD076618@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (weser.webweaving.org [148.251.234.232]); Mon, 21 Oct 2024 21:02:59 +0200 (CEST) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE] X-Rspamd-Queue-Id: 4XXPqt3b00z4RZ1 X-Spamd-Bar: ---- On 21 Oct 2024, at 11:54, Poul-Henning Kamp wrote: > I have had reason to muck about with pyserial. One result is much = better pyserial.tools.list_port implementation for FreeBSD. >=20 > I would appreciate it, if somebody else could give it a spin, before I = upstream: >=20 > https://github.com/bsdphk/pyserial Works for me (provided /usr/sbin is in the path); and nicely picks up a = ugen0.2 that the ESP32 tooling would always need an explicit path for = prior despite it having a tty name. Dw=