* SUMMARY (and another Q): serial port control
@ 1996-06-25 12:05 mgaluza
0 siblings, 0 replies; only message in thread
From: mgaluza @ 1996-06-25 12:05 UTC (permalink / raw)
To: tru64-unix-managers
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
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-25 12:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-25 12:05 SUMMARY (and another Q): serial port control mgaluza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox