From owner-freebsd-stable@FreeBSD.ORG Fri Dec 27 20:48:01 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EB65EFD; Fri, 27 Dec 2013 20:48:01 +0000 (UTC) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8171EDC; Fri, 27 Dec 2013 20:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=xYj9Vsh0THQDoPYkrIyZ6qTEO9nciAPIuCe94tQoAbY=; b=Uke1FWqjUmElAH6ts/C3HWK1FGiyEyen/icB3Znq+PCr2Q5iYxPI6/yl5h5HWkq/a1IyWCHKREz4jTrKcVNW9i3PTTpUGVpUnVOC5tFp+NxONU1xb+QrK9Vsj60l7CEssBiBj/THrWDDvPu3Pfdi1rgk70jiuP9qd2EpOBUEpOg=; Received: from iglou1.iglou.com ([192.107.41.3]:33550 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1VweK8-0004FG-FT by authid with igloumta_auth; Fri, 27 Dec 2013 15:48:00 -0500 Received: from shell1.iglou.com ([192.107.41.17]:60115 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1VweK8-0006JB-4e; Fri, 27 Dec 2013 15:48:00 -0500 Date: Fri, 27 Dec 2013 15:47:59 -0500 (EST) From: Darrel X-X-Sender: levitch@shell1 To: Milan Obuch Subject: Re: serial card on RC2 , RC3 In-Reply-To: <20131227201342.08842077@zeta.dino.sk> Message-ID: References: <20131227181326.GA88638@in-addr.com> <20131227201342.08842077@zeta.dino.sk> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 20:48:01 -0000 >> >>>> Anyone know how to get serial cable working with StarTech "2 Port >>>> Native Express RS232 Serial Adapter Card with 16550 UART"? It is >>>> part number PEX2S553. >>>> >>>> In my kernel I tried this: >>>> >>>> device puc >>>> device sio >>>> options COM_MULTIPORT >>>> >>>> in different variations. >>>> >>>> Also I tried in /boot/device.hints: >>>> >>>> hint.sio.2.flags="0x201" >>>> hint.sio.3.flags="0x201" >>>> >>>> It is obviously a cheap card, but I do have one working in a msft >>>> 7 machine. >>>> >>> >>> Please post some more information about your system. pciconf -lv >>> and dmesg would both help developers see why the card isn't >>> detected. If your system has been up for a while you may be better >>> off sending /var/run/dmesg.boot than the output of the dmesg >>> program. >>> >> > > Hi, > > could you apply following patch to /usr/src/sys/dev/puc/pucdata.c and > rebuild your kernel and/or modules? This is the first thing I would > test, and it could even work, but no guarantee yet, naturally :) > > --- pucdata.c 2013-10-23 22:51:08.000000000 +0200 > +++ pucdata.c.mod 2013-12-27 20:09:36.000000000 +0100 > @@ -1094,6 +1094,12 @@ > PUC_PORT_2P, 0x10, 4, 0, > }, > > + { 0x9710, 0x9922, 0xffff, 0, > + "NetMos NM9922 Dual UART", > + DEFAULT_RCLK, > + PUC_PORT_2S, 0x10, 4, 0, > + }, > + > { 0xb00c, 0x021c, 0xffff, 0, > "IC Book Labs Gunboat x4 Lite", > DEFAULT_RCLK, > > [ dmesg and pciconf output snipped ] > Hi, Milan. Recompiled kernel with 'device ' and boot became frozen aft puc0: port 0xdc00-0xdc07 mem 0xfeaff000-0xfeafffff,0xfeafe000--xfeafefff irq 17 at device 0.0 on pci2 uart2: at port 1 on puc0 Ctrl + c and Ctrl + d no response. - boot to single user and still freezes - guess that i should locate the old kernel Darrel