NetBSD Problem Report #9509

Received: (qmail 7649 invoked from network); 29 Feb 2000 18:16:55 -0000
Message-Id: <200002291816.KAA24347@digital.clock.org>
Date: Tue, 29 Feb 2000 10:16:52 -0800 (PST)
From: "Erik E. Fair" <fair@digital.clock.org>
Reply-To: fair@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: serial port naming to avoid confusion
X-Send-Pr-Version: 3.95

>Number:         9509
>Category:       port-macppc
>Synopsis:       serial port naming to avoid confusion
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 29 10:18:00 +0000 2000
>Closed-Date:    
>Last-Modified:  Thu Apr 03 20:50:15 +0000 2003
>Originator:     Erik E. Fair
>Release:        1.4.2
>Organization:
International Organization of Internet Clock Watchers
>Environment:

System: NetBSD digital.clock.org 1.4.2_ALPHA NetBSD 1.4.2_ALPHA (DIGITAL) #10: Mon Jan 10 22:38:56 PST 2000 fair@doomsday.clock.org:/usr/obj/sys/arch/alpha/compile/DIGITAL alpha


>Description:
	The Macintosh has long documented its two standard serial
	ports as the "modem" port and the "printer" port. There
	are icons on the system case indicating which is which.

	Openboot Firmware names these ports "ttya" and "ttyb",
	consistent with OF's origins with Sun Microsystems.

	In order to avoid a class of user support issues around
	port naming confusion, I suggest that:

	1. We change MAKEDEV to name the macppc serial ports "ttya"
	and "ttyb"

	2. We also change MAKEDEV to create symlinks, thus:

		modem -> ttya
		printer -> ttyb

	There is one case where this still might not completely
	solve the problem: the powerbooks have a combined
	"modem/printer" port, and an internal serial port which
	connects to an internal modem, and there is a software
	mechanism to determine which is which in MacOS.

	I have no idea how the PB serial port hardware actually
	works, so there might have to be something clever done to
	deal with this.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Tsubai Masanari <tsubai@iri.co.jp>
To: fair@digital.clock.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-macppc/9509: serial port naming to avoid confusion
Date: Wed, 1 Mar 2000 17:00:40 +0900 (JST)

 >	1. We change MAKEDEV to name the macppc serial ports "ttya"
 >	and "ttyb"

 OF-3.x uses "scca" and "sccb".  Do you still think "tty[ab]" are better?

 >	2. We also change MAKEDEV to create symlinks, thus:
 >
 >		modem -> ttya
 >		printer -> ttyb

 No objection from me, if they are "modem -> tty00" and "printer -> tty01".

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.