From owner-freebsd-current@FreeBSD.ORG Thu Apr 6 20:17:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D54C516A410 for ; Thu, 6 Apr 2006 20:17:28 +0000 (UTC) (envelope-from bln@deprese.net) Received: from hades.deprese.net (hades.deprese.net [81.2.209.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC7D844261 for ; Thu, 6 Apr 2006 16:58:16 +0000 (GMT) (envelope-from bln@deprese.net) Received: from [192.168.1.194] (r2g242.chello.upc.cz [62.245.70.242]) by hades.deprese.net (Postfix) with ESMTP id 1224D33C2C for ; Thu, 6 Apr 2006 18:58:15 +0200 (CEST) Message-ID: <4435489E.9060105@deprese.net> Date: Thu, 06 Apr 2006 18:58:06 +0200 From: Ondra Holecek User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: serial port problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 20:17:28 -0000 hello, i have got PCI card with two RS-232 connectors (made by Sunix) and I managed to add record into pucdata.c to see it in my system. the problem is that i can only read from port but cannot send any - if i connect it with other computer (B), everything what i write on B's terminal I can see on Sunix card (A), but nothing what i write on A can be seen on B. speeds are the same, and tested for 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200. what i added to pucdata.c: { "Sunix XXX", { 0x1409, 0x7168, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 }, }, }, pciconf -lv: puc0@pci0:17:0: class=0x070002 card=0x50791409 chip=0x71681409 rev=0x01 hdr=0x00 class = simple comms subclass = UART thanks for help Ondra