From owner-freebsd-questions@freebsd.org Mon Feb 13 22:16:14 2017 Return-Path: Delivered-To: freebsd-questions@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 E9EBDCDEC7B for ; Mon, 13 Feb 2017 22:16:14 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B070A1043 for ; Mon, 13 Feb 2017 22:16:13 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:51669] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id BA/26-21189-C2032A85; Mon, 13 Feb 2017 22:16:12 +0000 Received: from [192.168.1.40] (helo=desktop.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1cdOup-0002bD-Uc for freebsd-questions@freebsd.org; Mon, 13 Feb 2017 17:16:11 -0500 Subject: Re: Serial port ttyS0 To: FreeBSD Questions References: <93b5ef11-b365-a428-70bc-8cc4cf7e8b05@columbus.rr.com> <5074e50a-6854-03eb-b879-cf62d8b170e5@columbus.rr.com> <236BA764-A858-4104-8627-0A126A6D4398@sigsegv.be> From: scrat Message-ID: Date: Mon, 13 Feb 2017 17:16:11 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <236BA764-A858-4104-8627-0A126A6D4398@sigsegv.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 22:16:15 -0000 On 02/13/17 16:29, Kristof Provost wrote: > On 13 Feb 2017, at 19:04, scrat wrote: >> root@desktop:~ # sysctl dev.uplcom >> dev.uplcom.0.ttyports: 1 >> dev.uplcom.0.ttyname: U0 > > Based on this I’d expect /dev/ttyU0 to exist, and to be the device you want. > > Regards, > Kristof > Here is /dev $ ls /dev acpi ada4p3 da1 fuse mdctl pass7 ttyv1 ugen6.1 ada0 apm da2 geom.ctl mem pass8 ttyv2 ugen7.1 ada0s1 apmctl da3 gpt midistat pass9 ttyv3 ugen7.2 ada0s2 atkbd0 devctl iic0 mixer0 pci ttyv4 ugen8.1 ada1 audit devctl2 iic1 mixer1 pts ttyv5 ugen8.2 ada1p1 auditpipe devstat iic2 mixer2 random ttyv6 ukbd0 ada1p2 bpf dri iic3 mixer3 reroot ttyv7 ums0 ada1p3 bpf0 dsp0.0 iic4 mixer4 sndstat ttyv8 urandom ada2 cd0 dsp0.1 iic5 netmap stderr ttyv9 usb ada2p1 console dsp1.0 iic6 nfslock stdin ttyva usbctl ada2p2 consolectl dsp1.1 iic7 ntfs stdout ttyvb xpt0 ada2p3 ctty dsp1.2 io null sysmouse ufssuspend zero ada3 cuaU0 dsp2.0 kbd0 pass0 ttyU0 ugen0.1 zfs ada3p1 cuaU0.init dsp3.0 kbd1 pass1 ttyU0.init ugen1.1 ada3p2 cuaU0.lock dsp4.0 kbd2 pass2 ttyU0.lock ugen1.2 ada3p3 cuau0 fb0 kbdmux0 pass3 ttyu0 ugen2.1 ada4 cuau0.init fd klog pass4 ttyu0.init ugen3.1 ada4p1 cuau0.lock fido kmem pass5 ttyu0.lock ugen4.1 ada4p2 da0 full log pass6 ttyv0 ugen5.1 /dev/ttyU0 is there but doesn't work. I found this thru farther research cu -l /dev/cuaU0 -s 115200 That works but screen /dev/cuaU0 115200 doesn't, can't figure that out. At lease I have something now as the cu command works. Thanks for the help