tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dave Wolinski, University of Michigan" () sws1 ! CTD ! ORNL ! GOV
To: tru64-unix-managers
Subject: tty00 special device file
Date: Tue, 24 Oct 1995 03:41:29 +0000	[thread overview]
Message-ID: <96075324106697.tru64-unix-managers.marc@archive.invalid> (raw)

I would like to use the RS-232 port on my Alpha Station 200 (running Digital
Unix v3.2c).  After installing the operating system, the device special file
/dev/tty00 was not present, so I tried to make it:
% MAKEDEV tty00

But MAKEDEV doesn't make /dev/tty00, because, I think, /dev/tty already exists
and it thinks that it's already made all the /dev/tty* files it needs.

So I tried using mknod to explicitly make a character special file:
% mknod /dev/tty00 c 24 2

where c specifies character special file, 24=major device id, and 2=minor device

I used a major and minor device number of 24 and 2, respectively, because that's
what works on our Dec 3000's.

So now I have /dev/tty00, but if I do something like:
% echo "some text" > /dev/tty00

I just get:
tty00: no such device

The same thing happens if I try to "tip" to /dev/tty00.

Help!  Does anyone know what I'm doing wrong?  How do I create a device special
file in order to access to RS-232 port?  Do I have the wrong major/minor
device numbers (reading /sys/io/common/conf.c doesn't really help me!)  ??

Thanks in advance...    Dave Wolinski
			wolinski@umich.edu

                 reply	other threads:[~1995-10-24  3:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox