From owner-freebsd-embedded@FreeBSD.ORG Mon Jun 30 19:45:41 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E0461065676 for ; Mon, 30 Jun 2008 19:45:41 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 8FDD18FC1C for ; Mon, 30 Jun 2008 19:45:40 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7ce4.q.ppp-pool.de [89.53.124.228]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id CF72612883F; Mon, 30 Jun 2008 21:27:02 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 88C372E823; Mon, 30 Jun 2008 21:26:28 +0200 (CEST) Message-ID: <4869337C.6050105@vwsoft.com> Date: Mon, 30 Jun 2008 21:26:52 +0200 From: Volker User-Agent: Thunderbird 2.0.0.14 (X11/20080615) MIME-Version: 1.0 To: Rohit Grover References: <426bed110806300025j5a92080bx59cdb2248c77b8c0@mail.gmail.com> In-Reply-To: <426bed110806300025j5a92080bx59cdb2248c77b8c0@mail.gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1215458792.4556@LLJoIZPeGef6F+HuUWArBw X-MailScanner-ID: 88C372E823.59A46 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-embedded@freebsd.org Subject: Re: having trouble receiving serial data using my USB->serial adaptor X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 19:45:41 -0000 On 12/23/-58 20:59, Rohit Grover wrote: > Hi, > > I am having trouble getting my BAFO 810 USB->serial adaptor to > work. I have built the uplcom and ucom drivers into the kernel, > and my USB->serial adaptor is recognized at boot, as can be > inferred from the following lines from /var/run/dmesg.boot: > > ucom0: 0/0, rev 1.10/3.\ 00, addr 2> on uhub3 > > I am using minicom to drive /dev/cuaU0 at 115200 8N1. > > If I connect the Tx and Rx lines (pins 2 and 3) of the DB9 > connector, I can get echoes of my keystrokes on the minicom > terminal. > > Unfortunately, I am unable to connect to an embedded device which > supports serial connections at 115200 8N1. When I plug the serial > output connector of my adaptor to a NULL modem and then to the > target embedded system, I don't see any serial output from the > device on my minicom terminal. This same device communicates > correctly with the serial port of my linux desktop with minicom > and 115200 8N1. > > As a further experiment, I manually connected pins 2,3, and 5 of > the serial end of my adaptor to pins 3,2, and 5 respectively of > the embedded device, but still no luck. > > What am I missing? > > regards, > Rohit, hard to tell on the distance but if you're able to receive (using a loopback adapter), it sounds like either side is most likely requiring hardware handshake (DSR/DTR, RTS/CTS). Sometimes it helps to short cut the DCD line (to RTS/DSR), as some device refuse to send if DCD is not set. If you're owning a break out box, it should be snap to figure that out. At least you should check using a serial line tester (those little tools signaling line status using LEDs or use a Voltmeter to check for correct line status). Volker