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_at_umich.edu
Received on Tue Oct 24 1995 - 09:00:36 NZDT