From nobody Tue Oct 22 19:13:32 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 4XY20C4P1Gz5Vncn for ; Tue, 22 Oct 2024 19:13:47 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XY20C0dvYz4rnP for ; Tue, 22 Oct 2024 19:13:47 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-6e5ef7527deso32971587b3.0 for ; Tue, 22 Oct 2024 12:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1729624426; x=1730229226; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=M1FLJEzqp5AWQicry9i+Sui5MP4qKGUBo5fld5lU9+c=; b=grDlycyNLYx1YyC0Pm25yHSbfdVj59vXs0HO8FOas4048HeXbcKzOMjiklLiykHppe RCIWJj1LrvRLUFLofdegK9jAFxcIlpAJQLfugUTgif5pBKxYxt2sse+4Y4gFGk/Ez+gT NK5zalZ4+7X4EcrbJkDL04I4BCZj8K/Den1NP/leLsBOpBviixQCEvYJNDB+mSLqFBXy 7GOJoj9W9mbUkjo9zuPJ+YqnC4VRzwJqLiWOm3/jsD54PkjlTZI/Xz+yqci+ZQ0haHSC 5g8kJ9CWStaWKhyQwbby3kA3IOOTbjwinJdxysYRg4W+0PFtU/m9Wp8uuUPhu3H9LRAy KIZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729624426; x=1730229226; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M1FLJEzqp5AWQicry9i+Sui5MP4qKGUBo5fld5lU9+c=; b=K0A0dTI7i8kxLhuhLUIWIkI2TOEz52UK0Pz7QpvNy5A5tal+VUUC/TQzqsS4T5XJr9 sPSDC8B8PTSYNNNi+OSzTEaUpq+dteeJrGjwpW2iOVqnv6qVg1ipyl/vs9z9bcanVawG 9+Ed8r0R7t7cw0BXslkWAcnhuxNREyP0zpnOzaDi/a1/7Tu5UQLA076J7DEiGZ3+Rrz8 P5Mh1mXfluLfLYTySj8YZYC1UiVpPSl4cuOevFLwjbWsPQeqhxuwLMIbdx9MuTkjiGHH bPTNtgZ40ek394g8wjHo1FdKH6FKvCkcaKnPoC7Ie+sXkWV/zhcCow7u7jXT8BR/uVdZ AUzw== X-Forwarded-Encrypted: i=1; AJvYcCU2NmPOLcdlOksuStrCldiKsUTUTYqVsqZEteRBDB4wB9l8362L5BtbfhKzeJdQy8lfraZhfxNS@freebsd.org X-Gm-Message-State: AOJu0YzDHOqCsrPJA93lHoolLvlxX6vepX7psC+SnVZh90OntXUo8cmy Iieud5rYGmjQWDHA8H8iU9BLJa85wgcxLZyb3utA03ICHnXVPqMy6NsR+jz8u1ClEfS0tuTtg64 = X-Google-Smtp-Source: AGHT+IFtHTLOy/2CkfVYyohRipsVvUWV0YmbYKeB+K4EPOTuK5bDI64lwVJZm/74nuhC1lAiaB/a8w== X-Received: by 2002:a05:690c:660a:b0:6e5:de2d:39b1 with SMTP id 00721157ae682-6e7f0dbbf37mr674387b3.5.1729624426228; Tue, 22 Oct 2024 12:13:46 -0700 (PDT) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com. [209.85.219.180]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6e5f5ccb77fsm11904867b3.92.2024.10.22.12.13.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Oct 2024 12:13:45 -0700 (PDT) Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-e2e340218daso753387276.0 for ; Tue, 22 Oct 2024 12:13:45 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWG1gVwN7BmwCqRyjrLGAi1sBn1g08rM32oqaWQ9zSxQc/HLGPFx+Ac65ZZeVq08PsziWddhWnD@freebsd.org X-Received: by 2002:a05:690c:3145:b0:6e2:985:f4df with SMTP id 00721157ae682-6e7f0ffc91cmr377517b3.44.1729624425022; Tue, 22 Oct 2024 12:13:45 -0700 (PDT) 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 References: <202410210954.49L9s9sD076618@critter.freebsd.dk> <203ADA8C-A4ED-4849-B89D-6D18664D67D0@webweaving.org> <202410221118.49MBIRSj009090@critter.freebsd.dk> <202410221847.49MIlXEs014246@critter.freebsd.dk> <202410221907.49MJ7BZl014476@critter.freebsd.dk> In-Reply-To: <202410221907.49MJ7BZl014476@critter.freebsd.dk> From: Tomek CEDRO Date: Tue, 22 Oct 2024 21:13:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pyserial.tools.list_port improvement for FreeBSD To: Poul-Henning Kamp Cc: Tomek CEDRO , hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XY20C0dvYz4rnP X-Spamd-Bar: ---- On Tue, Oct 22, 2024 at 9:07=E2=80=AFPM Poul-Henning Kamp wrote: > > -------- > Tomek CEDRO writes: > > > Hmm, I am running usbconfig on non-root user in the operator group > > with some devfs.rules tweak that enables [...] > > This is all very interesting, but really relevant to my pyserial patch :-= ) Just a hint that "desc:" giving a descriptive string could make things easier / faster to read with no reference to usbconfig/dmesg when there are like 20+ devices on the list but its your patch and decision :-P :-) ps/2: My user has access to usbconfig with strings but has no dmesg access = :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info