Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2017 18:50:06 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Stefan Parvu <sparvu@kronometrix.org>
Cc:        "Jukka A. Ukkonen" <jau789@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Strato Server PI FreeBSD 11.1 Release serial port comunication
Message-ID:  <20170904165005.GB18101@cicely7.cicely.de>
In-Reply-To: <1AD403B4-F974-4734-BE0A-40717FA34E9E@kronometrix.org>
References:  <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org> <9bf992d9-9a22-c7a0-5a78-54c779880a6d@gmail.com> <1AD403B4-F974-4734-BE0A-40717FA34E9E@kronometrix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 04, 2017 at 05:41:46PM +0300, Stefan Parvu wrote:
> > 
> > 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.
> 
> Nothing else. I do have just that.
> 
> I have tried as well to play with a FTDI USB connector (plugs in to the USB port)
> and that works fine. So basically I can connect my IAQ sensor on such USB to 
> Serial RS485 connector and yes, I do get some: /dev/cuaU0 device easily that case.
> 
> But my problem is if I want to directly plug the IAQ sensor to the RS485 board 
> provided by SferaLabs without using such FTDI USB connector. The SferaLabs is basically
> another board which connects to the GPIO ports of the RBPI2. 
> 
> I cant make it run nor detect anything. Wonder if there is something else on the kernel
> to make it happen

The schematic (looked at the BASE/UPS) is quite clear.
It uses the one and only onboard UART, so cuau0 is correct, but under FreeBSD
that uart is already in use as the console.
You can use conscontrol to temporarily relocate the console, which should
allow you to use the uart.
The TXenable line seems to be autogenerated by the PIC microcontroller, so
I assume you don't need to care about it.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170904165005.GB18101>