From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 23:28:18 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0B2516A46D for ; Wed, 30 Jan 2008 23:28:18 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 3032B13C45B for ; Wed, 30 Jan 2008 23:28:17 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 89449 invoked by uid 79); 30 Jan 2008 23:01:35 -0000 Received: from 189.70.71.216 by recife.ipad.com.br (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.92rc2/5600. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:0(189.70.71.216):SA:0(-2.6/2.9):. Processed in 4.081845 secs); 30 Jan 2008 23:01:35 -0000 X-Spam-Status: No, hits=-2.6 required=2.9 X-Antivirus-IPAD-Mail-From: mlobo@digiart.art.br via recife.ipad.com.br X-Antivirus-IPAD: 1.25-st-qms (Clear:RC:0(189.70.71.216):SA:0(-2.6/2.9):. Processed in 4.081845 secs Process 89435) Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.71.216) by ipad.com.br with SMTP; 30 Jan 2008 23:01:31 -0000 From: Mario Lobo Organization: DigiArt Systems To: questions@freebsd.org Date: Wed, 30 Jan 2008 20:06:11 -0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801302006.11153.mlobo@digiart.art.br> Cc: Subject: Serial port question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 23:28:19 -0000 Hi guys; I am doing some experiments with the WL5460AP. I doesn't have a serial connector but the RTL8186 does have a UART and the circuit board has a 4 pin connector (4-3.3V, 3-TXD, 2-RXD, 1-GND) to the UART. The idea here is to rewrite its firmware. For a better debuging (and possibly de-bricking), I need to access its console screen (which it DOES have). The (lots of) info I gathered says that the connection to the WL5460AP console should be at 38400, 8N1, no-flow ctl. I have set up a proper cable and a line in /etc/ttys like: ttyd0 "/usr/libexec/getty 3wire.38400" vt100 on secure Using kermit I type: SET CARRIER-WATCH OFF set duplex full set session-log binary set modem type none set line /dev/ttyd0 set speed 38400 set flow none set serial 8n1 set terminal echo local set terminal newline-mode on set terminal debug on connect but I get nothing back. Before I start digging for hardware errors, I want to check if my connection attempt is being done right and understand better what is going on. 1) how does this work? ttyd0 goes "through" cuad0 or does it simply "grabs it" and sets its speed to 38400. Originally, cuad0 is set to 9600. 2) if it goes "through" cuad0, how do I set it to 38400, 8N1, no-flow ctl? 3) is my ttys line correct? Thanks ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)