tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* tty00 special device file
@ 1995-10-24  3:41 Dave Wolinski, University of Michigan
  0 siblings, 0 replies; only message in thread
From: Dave Wolinski, University of Michigan @ 1995-10-24  3:41 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-24  3:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-24  3:41 tty00 special device file Dave Wolinski, University of Michigan

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