Date: Mon, 4 Sep 2017 17:34:34 +0300 From: "Jukka A. Ukkonen" <jau789@gmail.com> To: freebsd-arm@freebsd.org Subject: Re: Strato Server PI FreeBSD 11.1 Release serial port comunication Message-ID: <9bf992d9-9a22-c7a0-5a78-54c779880a6d@gmail.com> In-Reply-To: <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org> References: <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/04/17 16:50, Stefan Parvu wrote: > 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 > the correct serial port for that. I have tried /dev/cuau0 but with no success. > > 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/ > [3] https://github.com/kronometrix/recording/blob/master/bin/rs485rec > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > What are the other /dev/cua* devices on your system? Quite often various USB connected gizmos I have tried end up under names like /dev/cuaU0 or /dev/cuaU1 etc. --jau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bf992d9-9a22-c7a0-5a78-54c779880a6d>