From owner-freebsd-arm@freebsd.org Mon Sep 4 14:34:38 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 6D74BE0A84C for ; Mon, 4 Sep 2017 14:34:38 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E33F675ED5 for ; Mon, 4 Sep 2017 14:34:37 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x242.google.com with SMTP id m199so294810lfe.5 for ; Mon, 04 Sep 2017 07:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=P180DWwThFY/jtqN70h6vc9AGLghkIYGmnx2b9ZvoZM=; b=psYsUIxYSix50sbHk8Mjfvr3nHygHlmmtjryGeY9fGR069/cax5IB2plQ6UtN5fuHZ zChwAABlPAeXMLSZb83aOFQINEJiv6ba2ITkKLRlaxnK521bPCcoM9W53pegBujxTIj4 kgFh20ip8cL2dDN6YlED5gk+JC131gzPEKOE/hpKZnStl1Hv2Q0ORQH2RqHGNcShDm6M LSKl8fdvNatGcl7XH4chaOR2hAHgrBDGpqsaWBCnQXJ//MKjV9404W5+eadB7hwQbyT/ c1ns3A9HUugmXsQs2nc2Mc8sB4Px7nxoREfLLCaDLr4zuOXy6VpmLtaZsbUA/+6X0Zbt XDyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=P180DWwThFY/jtqN70h6vc9AGLghkIYGmnx2b9ZvoZM=; b=VaaZnqd8Af68zsLme+Pgpni4bF631CKithPvYyLXGslOolh6oVW1r3Is/xPqlLBpz+ AvbWCVORgYCQtDq8CHghKOcNEpH9cZ5I7ONXa8gza5wxIuTW0uo6OMCZYEyBsQ7EBbVl sKlu6jMeROI6SdbjHpJkjbNi3aMfm+ldB5BmFGb/xIAXyIhzm7DdOUC0h5P8KAX8afkC y61PBTbs0M/QRLLu5mlymqhTfsfZgfb622z9PHn6HyDdHA4D4b8fcpEr7ET0gPd64Q06 S9Czobn42XNa27lCTQdQqsD/ze94lu0BvrtfrNt0nTNnXoptbpcDSZYRr33dao4t1qMQ Ezcg== X-Gm-Message-State: AHPjjUiXZ0lXNApT0Uvu5vpshvAPP6jku9G19iuiYXVNHsAlVesKkC73 9GYbSqZ7X948dmmB X-Google-Smtp-Source: ADKCNb4VZLpB4DNZkT//u0m7LSruj45valU5prU+BvY+SBr7mz1XlKOeQcICU4YvnWnWdewJN1faUA== X-Received: by 10.25.202.17 with SMTP id a17mr238010lfg.176.1504535675557; Mon, 04 Sep 2017 07:34:35 -0700 (PDT) Received: from [192.168.1.131] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.googlemail.com with ESMTPSA id t13sm1279529lfe.32.2017.09.04.07.34.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 07:34:35 -0700 (PDT) Subject: Re: Strato Server PI FreeBSD 11.1 Release serial port comunication To: freebsd-arm@freebsd.org References: <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org> From: "Jukka A. Ukkonen" Message-ID: <9bf992d9-9a22-c7a0-5a78-54c779880a6d@gmail.com> Date: Mon, 4 Sep 2017 17:34:34 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <6989FBCA-5866-4E71-814B-2D850A353824@kronometrix.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit 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:34:38 -0000 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