SUMMARY (and another Q): serial port control

From: Mike Galuza <mgaluza_at_dejarnette.com>
Date: Tue, 25 Jun 96 12:05:54 EDT

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_at_dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------
Received on Tue Jun 25 1996 - 18:38:13 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT