From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 25 18:11:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B27216A4CE for ; Tue, 25 Nov 2003 18:11:50 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C3F343FDF for ; Tue, 25 Nov 2003 18:11:48 -0800 (PST) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (cpe-024-211-176-245.nc.rr.com [24.211.176.245])hAQ2BjPf006341 for ; Tue, 25 Nov 2003 21:11:46 -0500 (EST) Received: from neutrino.bsdhome.com (localhost [127.0.0.1]) hAQ2BjUO001398; Tue, 25 Nov 2003 21:11:45 -0500 (EST) (envelope-from bsd@neutrino.bsdhome.com) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.12.10/8.12.10/Submit) id hAQ2Bjlo001397; Tue, 25 Nov 2003 21:11:45 -0500 (EST) (envelope-from bsd) Date: Tue, 25 Nov 2003 21:11:44 -0500 From: Brian Dean To: freebsd-hackers@freebsd.org Message-ID: <20031126021144.GB617@neutrino.bsdhome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: puc/sio driver - receives but doesn't send X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 02:11:50 -0000 Hi, I just got a Syba 2 port serial I/O card, from dmesg: puc0: port 0x7000-0x700f,0x7400-0x7407,0x7800-0x7807,0x8000-0x8007,0x8400-0x8407,0x8800-0x8807 irq 5 at device 15.0 on pci0 sio2: type 16550A sio3: type 16550A The above dmesg line is not 100% correct - the card does not have a parallel port, just 2 serial ports. Using either of the available 2 ports, I'm able to receive data, but it doesn't want to transmit. I've tried everything I can think of, which includes: * both with and without the PUC_FASTINTR kernel option * ensure flow control lines are correct / ignored * using a loopback handshake cable (just in case) If I hook one of the SIO ports on the PUC to one of the serial ports on the motherboard, and open 'tip' on each one, what I type on the motherboard serial gets displayed on the PUC serial port tip session. However, when I type in the PUC serial port tip window, no data comes though on the motherboard serial tip. But when I run systat, I can see the puc0 device getting interrupts on irq 5 when I'm typing characters, as if it is sending the characters. Also, I have verified with a seperate microcontroller serial device - the PUC port is receiving data fine from the microcontroller, but it is not sending to the microcontroller for some reason. Anybody have any ideas what might be wrong? And yes, the motherboard serial ports both work as expected using the same cables, etc. I'm running 4.9-STABLE from a few days ago. Thanks, -Brian -- Brian Dean bsd@bsdhome.com http://www.bsdhome.com/