From owner-freebsd-questions@FreeBSD.ORG Sat Mar 24 04:49:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82D8216A400 for ; Sat, 24 Mar 2007 04:49:03 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5427813C448 for ; Sat, 24 Mar 2007 04:49:03 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l2O4n2NP080470; Sat, 24 Mar 2007 00:49:02 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id l2O4n159087350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Mar 2007 00:49:02 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200703240449.l2O4n159087350@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 24 Mar 2007 00:49:07 -0400 To: freebsd-questions@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: fixing a PUC / uart speed issue 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: Sat, 24 Mar 2007 04:49:03 -0000 Hi, I have a mini-pci UART that has a problem with its speed. When I connect to it at 300bps the other side sees this as 1200. e.g. Other PC PUC device 4800 1200 9600 2400 19200 4800 Its a mini-pci card on a soekris 4511 and dmesg on a RELENG_6 box shows puc0: port 0xe000-0xe01f,0xe020-0xe03f mem 0xa0000000-0xa0000fff,0xa0001000-0xa0001fff irq 10 at device 16.0 on pci0 uart4: <16950 or compatible> on puc0 uart5: <16950 or compatible> on puc0 uart6: <16950 or compatible> on puc0 uart7: <16950 or compatible> on puc0 puc0@pci0:16:0: class=0x070006 card=0x00000000 chip=0x95011415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd' device = 'OX16PCI954 Quad UART' class = simple comms subclass = UART cap 01[40] = powerspec 1 supports D0 D2 D3 current D0 none0@pci0:16:1: class=0x068000 card=0x00000000 chip=0x95101415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd' device = 'OX16PCI954 PCI Interface (disabled)' class = bridge cap 01[40] = powerspec 1 supports D0 D2 D3 current D0 product specs at http://www.commell.com.tw/Product/Peripheral/MiniPCI/MP-954.HTM I am guessing something needs to be changed in the puc driver for it ? /* Oxford Semiconductor OX16PCI954 PCI UARTs */ { "Oxford Semiconductor OX16PCI954 UARTs", { 0x1415, 0x9501, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ }, }, }, but what ? Other than this odd speed issue, the card seems to work fine. Any pointers appreciated. Thanks, ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike