From owner-freebsd-arm@freebsd.org Mon Sep 4 14:16:42 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 356B1E09B17 for ; Mon, 4 Sep 2017 14:16:42 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [95.85.46.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF96B7534A for ; Mon, 4 Sep 2017 14:16:41 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.4] (mail.kronometrix.com [79.134.105.181]) (authenticated bits=0) by mail.kronometrix.org (8.15.2/8.15.2) with ESMTPSA id v84Dov4f060823 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 4 Sep 2017 13:50:57 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host mail.kronometrix.com [79.134.105.181] claimed to be [192.168.1.4] From: Stefan Parvu Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Strato Server PI FreeBSD 11.1 Release serial port comunication Message-Id: <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org> Date: Mon, 4 Sep 2017 16:50:53 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 14:16:42 -0000 Hi guys, I have installed FreeBSD 11.1 [1] under Strato Server PI [2], a = Raspberry PI2 board plus goodies. FreeBSD 11.1 STABLE is booting fine. Now my problem is to = connect to an indoor air quality sensor, plugged in to a RS485 connector and Im stuck = in discovering whats=20 the correct serial port for that. I have tried /dev/cuau0 but with no = success.=20 root@k50dev:~ # ls -lrt /dev/cuau0* crw-rw---- 1 uucp dialer 0x2d Sep 4 12:22 /dev/cuau0.lock crw-rw---- 1 uucp dialer 0x2c Sep 4 12:22 /dev/cuau0.init crw-rw---- 1 uucp dialer 0x2b Sep 4 12:22 /dev/cuau0 I know all parameters set on the device level, baudrate, stopbits, = parity since I have tried it under Raspbian and it is working fine there. Im basically using Kronometrix = data recording rs485rec [3] fo that. Any ideas how can I discover the port, and debug it somehow ? thanks, Stefan [1] = http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.1/FreeBSD-11.1-= STABLE-arm-armv6-RPI2-20170822-r322788.img.xz [2] https://www.sferalabs.cc/strato-pi/=20 [3] https://github.com/kronometrix/recording/blob/master/bin/rs485rec=20