From nobody Fri Sep 20 21:48:09 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 4X9QxL4hFhz5XJQV for ; Fri, 20 Sep 2024 21:48:22 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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-256) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9QxJ6x14z4vGR for ; Fri, 20 Sep 2024 21:48:20 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=iWkCgqX8; dmarc=pass (policy=none) header.from=zabbadoz.net; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 70B0AA64806 for ; Fri, 20 Sep 2024 21:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1726868887; bh=cn8NhTMV/TS4rXj8fCPLhE/mC8GmInQJFh7EYFYjocs=; h=Date:From:To:Subject; b=iWkCgqX8i/Gha0Y1YBcEgJU0L3X6nogo54NZWR2sG7Lv3GjJWfGbeQ9cvsOtpg8t0 e92tDlvgKcAGJbNoVD6qzC8j/axXo2sR0OS2l+pAwSjT64nVWysVbxSazk1G5MfKs7 rd6IbubNKMu/Bm9gKpVd27htd+/HlM6Ptj0CFdCQnJI3TBF9rxwhCDjEIAr1oPmIw4 YwDOcKo5BACe5Uvgz0R5kPGq9QOlnkdou+C62pVbePTDN7N5XvJwDECZrb17pyHpad aGcNz8JpIC3eTB05pAc7oc9WQfErGWFQXE0XajVv1G0EBkIvRsFJI25IlCo+kFDVZR UyKpEZ33+sARI+3pBFp+1vaRgVegiDrF+feuPMOwKaapxn7/LGDOfUGkuEqXTlbxdk OMrqAcUd2xiF/Xcwh53rb65iUembmsNhbXVGoZDCaVgaM4GMFYMvR5gmtP2U7YHVGA 8sQ3gKjarZVGVjzHbVwnj++HFsNSEslfRVURaCLi541HjSb3pTnNvcwoZMF7Q+2D7c 8oa51SwHRiqUk6Kas7GcWpeeQwWt+/nxawmOPIMYLOnPtk2mRfOBuuXCK7D/+I/tUb H0gkJb1NQuVRAApUMxreEpFJoz4yaRMLWDdlgqCzuFKDCJ5tErI+yONfIjdW5TOx1w EySN+/g5nL6Ll119j9/QokPE= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id CECFA2D029D8 for ; Fri, 20 Sep 2024 21:48:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id S3-Am2OTWG1a for ; Fri, 20 Sep 2024 21:48:10 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id DEE7B2D029D2 for ; Fri, 20 Sep 2024 21:48:09 +0000 (UTC) Date: Fri, 20 Sep 2024 21:48:09 +0000 (UTC) From: "Bjoern A. Zeeb" To: hackers@freebsd.org Subject: gpio pins -> tty/cua device Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4X9QxJ6x14z4vGR X-Spamd-Bar: --- Hi. I have one/two GPIO pins for RX/TX (possibly on two controllers) which on the other end have a serial console which I would love to read/wwrite to. Do we have any glue which takes two GPIO pins and present them as tty/cua device? /bz -- Bjoern A. Zeeb r15:7