From nobody Mon Nov 11 13:52:32 2024 X-Original-To: freebsd-arch@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 4Xn9wp4c22z5bcGg for ; Mon, 11 Nov 2024 13:52:58 +0000 (UTC) (envelope-from janm@transactionware.com) Received: from mail3.transactionware.com (mail.transactionware.com [203.14.245.7]) by mx1.freebsd.org (Postfix) with SMTP id 4Xn9wn15HPz3xSK for ; Mon, 11 Nov 2024 13:52:56 +0000 (UTC) (envelope-from janm@transactionware.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of janm@transactionware.com designates 203.14.245.7 as permitted sender) smtp.mailfrom=janm@transactionware.com; dmarc=none Received: (qmail 32130 invoked by uid 907); 11 Nov 2024 13:52:49 -0000 Received: from i59F7FC9F.versanet.de (HELO smtpclient.apple) (89.247.252.159) (smtp-auth username janm, mechanism plain) by mail3.transactionware.com (qpsmtpd/0.84) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA; Tue, 12 Nov 2024 00:52:49 +1100 Content-Type: text/plain; charset=utf-8 List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: CAN bus support From: Jan Martin Mikkelsen In-Reply-To: Date: Mon, 11 Nov 2024 14:52:32 +0100 Cc: freebsd-arch@freebsd.org, Ed Maste , Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Kevin Bowling X-Mailer: Apple Mail (2.3826.200.121) X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.79)[-0.787]; R_SPF_ALLOW(-0.20)[+ip4:203.14.245.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:17559, ipnet:203.14.245.0/24, country:AU]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[transactionware.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; APPLE_MAILER_COMMON(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[4] X-Rspamd-Queue-Id: 4Xn9wn15HPz3xSK X-Spamd-Bar: -- Hi, A related company manufactures a few CAN based products, and = communicates with them from Linux (and a long time ago, Windows CE). The = devices perform various on-board functions in metros, including audio = streaming, so our driver requirements are a little different to (say) = SocketCAN. We have an upcoming requirement to implement an appliance for use in = maintenance and repairs, and I=E2=80=99d like to do that based on = FreeBSD. I haven=E2=80=99t started looking at this yet, but I=E2=80=99m certainly = interested how CAN might progress on FreeBSD. Regards, Jan M. > On 9. Nov 2024, at 22:57, Kevin Bowling = wrote: >=20 > Hello, >=20 > A FreeBSD vendor is interested in interacting with CAN bus on FreeBSD. >=20 > A convenient starting point would be NetBSD's can(4) > (https://man.netbsd.org/can.4) which implements something very similar > to Linux' SocketCAN > (https://www.kernel.org/doc/Documentation/networking/can.txt) to > provide the protocol/interface and then writing a driver for their > controller. >=20 > Is there other interest or concern about the topic? >=20 > Regards, > Kevin >=20