From: mgaluza () dejarnette ! com (Mike Galuza)
To: tru64-unix-managers
Subject: SUMMARY (and another Q): serial port control
Date: Tue, 25 Jun 1996 12:05:54 +0000 [thread overview]
Message-ID: <96076333621556.tru64-unix-managers.marc@archive.invalid> (raw)
managers:
My original post asked for help in controlling a device connected
to the serial port via ioctl calls. I did not get a single response.
So I decided to forge out on my own into the great unknown and I have
a new question based on what has happened. Here's what I did:
I edited my /usr/sys/conf/SYSTEMNAME file and commented out the
following line:
controller ace1 at isa0 slot 3 vector aceintr
and added the following line:
controller iscc0 at isa0 slot 3
Then I did a "/sys/conf/config SYSTEMNAME". Then I did a
"mknod /dev/tty02 c 50 0" (50 is the major number listed in the cdevsw
table for the iscc driver). Then I went to the /usr/sys/SYSTEMNAME
directory and did a "make depend" and a "make". I then moved the new
kernel to the / directory (after saving the "good" one, of course),
and rebooted. The boot messages no longer showed "ace1 at isa0", but
I also didn't see any messages about iscc0. I decided to try using the
new device file anyway. I tried doing a "file /dev/tty02" and the
system crashed and did a crash dump. When I tried to run an application
that just opens the device file it did the same thing.
Any suggestions? Did I not load the iscc driver properly? Should I
bother trying to load the scc or ld drivers? Help!!!
Thanks,
Mike
----------------------------------------------------------------------
Michael Galuza
DeJarnette Research Systems mgaluza@dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------
reply other threads:[~1996-06-25 12:05 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