From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 07:05:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7FC5106564A for ; Thu, 21 Jul 2011 07:05:54 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from imta-38.everyone.net (imta-38.everyone.net [216.200.145.38]) by mx1.freebsd.org (Postfix) with ESMTP id 89E6F8FC0A for ; Thu, 21 Jul 2011 07:05:54 +0000 (UTC) Received: from pps.filterd (omta003 [127.0.0.1]) by imta-38.everyone.net (8.14.4/8.14.4) with SMTP id p6L73ZeF017283; Thu, 21 Jul 2011 00:05:54 -0700 X-Eon-Dm: dm0224 Received: by dm0224.mta.everyone.net (EON-AUTHRELAY2 - cde8da5c) id dm0224.4e279f5b.f448; Thu, 21 Jul 2011 00:05:50 -0700 X-Eon-Sig: AQNtR3BOJ8/OjE5XxQIAAAAC,22c5ef0941704aba6aee03d5b3ac7415 Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Thu, 21 Jul 2011 02:03:26 -0500 (CDT) Date: Thu, 21 Jul 2011 02:03:24 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.basicisp.net To: perryh@pluto.rain.com In-Reply-To: <4e282389.Xp4wlKlnQhE/B3qm%perryh@pluto.rain.com> Message-ID: References: <4e282389.Xp4wlKlnQhE/B3qm%perryh@pluto.rain.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813, 1.0.211, 0.0.0000 definitions=2011-07-21_03:2011-07-21, 2011-07-21, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1107200320 Cc: freebsd-questions@freebsd.org Subject: Re: How to add sio to 8.2 ? 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: Thu, 21 Jul 2011 07:05:54 -0000 On Thu, 21 Jul 2011, perryh@pluto.rain.com wrote: > Lars Eighner wrote: > >> I've come to the conclusion that I need sio to be able to use 8.x. >> >> Can it be as simple as just dropping the code from 7.x into the >> source for 8.x and adding a line to the kernel configuration? >> >> Or would this be fraught with all kinds of deep traps? > > sio(4) was replaced by uart(4) as part of the Giant retirement. > Depending on what you need that uart(4) does not currently have, > it might be easier to improve uart(4) than to resurrect sio(4). In the meantime I actually answered my own question. sio is in the source code for 8.2 (or at least it was not deleted by cvsup). It certainly appears that it is only necessary to add device sio to the kernel configuration. I have not actually compiled it yet. I think I might have to remove uart to keep it from grabbing the COMM devices. uart cannot properly identify the only internal hardware dial-up modem still obtainable (and incorrectly identifies its chip) --- the one we all had to buy to run FreeBSD. Whether its inability to handle dial-up PPP on demand is the fault of the new TTY set up (as some have suggested) can only really be determined by seeing if sio can function in the same environment, but that uart authors overlooked a piece of hardware required for years in FreeBSD sort of suggests that perhaps they overlooked other things. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266