Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 19:48:23 +1000
From:      "Robert" <robert@chalmers.com.au>
To:        "FreeBSD" <freebsd-stable@freebsd.org>
Subject:   Need help please. 4.3-RC and EasIO-4 board. Can't 'mkdevnods' 
Message-ID:  <EJEPLCEELLLLAMPNEJMHOELHCNAA.robert@chalmers.com.au>

next in thread | raw e-mail | index | archive | help

I have the Stallion EasyIO-4 board installed into the kernel, but the rest
of the instructions for it - can't be followed.

The instructions are here.

$ ls -l README.stl
-rw-r--r--  1 root  wheel  24124 Aug  3  2000 README.stl
$ pwd
/usr/src/sys/i386/isa
$


extract from dmesg.
------------------------
stl0 at port 0x2a0 irq 10 on isa0
stl0: EasyIO (driver version 1.0.0) unit=0 nrpanels=1 nrports=4
stl0: driver is using old-style compatability shims

The instructions say to do the mkdevnods thing, but it simply doesn't work.

Is there a "patched" version of mkdevnods for this version of FreeBSD?

The instructions say the following:
========================================
3. USING THE DRIVER

Once the driver is installed you will need to setup some device nodes to
access the serial ports. Use the supplied "mkdevnods" script to
automatically
create all required device entries for your boards. To make device nodes for
more than 1 board then just supply the number of boards you are using as a
command line parameter to mkdevnods and it will create nodes for that number
of boards. By default it will create device nodes for 1 board only.

Note that if the driver is not installed at character major number 72 then
you will need to edit the mkdevnods script and modify the STL_SERIALMAJOR
variable to the major number you are using.

Device nodes created for the normal serial port devices are named /dev/ttyEX
where X is the port number. (The second boards ports will start from ttyE64,
the third boards from ttyE128, etc). It will also create a set of modem call
out devices named cueX where again X is the port number.

For the most part the Stallion driver tries to emulate the standard PC
system
com ports and the standard sio serial driver. The idea is that you should
be able to use Stallion board ports and com ports inter-changeably without
modifying anything but the device name. Anything that doesn't work like that
should be considered a bug in this driver!

Since this driver tries to emulate the standard serial ports as much as
possible then most system utilities should work as they do for the standard
com ports. Most importantly "stty" works as expected and "comcontrol" can be
used just like for the serial ports.

This driver should work with anything that works on standard com serial
ports.
Having said that, I have used it on at least the following types of "things"
under FreeBSD:
    a) standard dumb terminals (using getty)
    b) modems (using cu, etc)
    c) ppp (through pppd, kernel ppp)
========================================================

Thanks for any help,
Regards
Robert


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EJEPLCEELLLLAMPNEJMHOELHCNAA.robert>