=============================================================================
MOXA Smartio/Industio Family Device Driver Installation Guide
for FreeBSD 4.x/5.x
Copyright (C) 2005, Moxa Technologies Co, Ltd.
=============================================================================
Date:
Content
0. Note
1. Introduction
2. System Requirement
3. Installation
3.1 Hardware installation
3.2 Driver files
3.3 Device naming convention
3.4 Module driver configuration
3.7 Custom configuration
3.8 Verify driver installation
4. Utilities
5. Setserial
6. Troubleshooting
-----------------------------------------------------------------------------
0. Note
0.1 Installation step summary.
Hardware installation:
Refer to the "3.1 Hardware installation".
Software/driver installation:
0.2.1 Extract the Moxa driver: Refer to the "3.2 Driver files".
-----------------------------------------------------------------------------
1. Introduction
The Smartio/Industio family FreeBSD driver supports following multiport
boards.
Smatio:
C104H, C104HS, C104H/PCI, C104HS/PCI,
C168H, C168HS, C168H/PCI, C168P,
CI-104J, CI-104JS
CP-104UL, CP-104JU, CP-168U,
CP-118U, CP-102U, CP-102UL,
CP-118EL, CP-168EL, CP-104EL
Industio:
CI-132, CI-132I, CI-123IS,
CI-134, CI-134I, CI-134IS,
CP-132, CP-132I, CP132S, CP-132IS,
CP-114, CP-114I, CP-114S, CP-114IS,
CP-132U-I, CP-132UL,
CP-134U, CP-134U-II
CT-114I,
This driver and installation procedure have been developed upon FreeBSD
4.6/5.3 and compatible to all 4.x/5.x. This driver supports Intel x86
hardware platform. However, if compatibility problem occurs, please contact
Moxa at support@moxa.com.
In addition to device driver, useful utilities are also provided in this
version. They are
- msdiag Diagnostic program for displaying installed Moxa
Smartio/Industio boards.
- io-irq.exe Configuration program to setup ISA boards. Please note that
this program can only be executed under DOS.
All the drivers and utilities are published in form of source code under
BSD License in this version. Please refer to BSD License announcement
in each source code file for more detail.
This version of driver can be installed as Loadable Module (Module driver).
You may refer to following installation procedure. Before you install
the driver, please refer to hardware installation procedure in the
User's Manual.
-----------------------------------------------------------------------------
2. System Requirement
- Hardware platform: Intel x86 machine
- FreeBSD version: 4.x/5.x
- Package Requirement: gcc, kernel source
- Maximum 4 boards can be installed in combination
-----------------------------------------------------------------------------
3. Installation
3.1 Hardware installation
3.2 Driver files
3.3 Device naming convention
3.4 Module driver configuration
3.7 Custom configuration
3.8 Verify driver installation
3.1 Hardware installation
There are two types of buses, ISA and PCI, for Smartio/Industio
family multiport board.
ISA board
---------
You'll have to configure CAP address, I/O address, Interrupt Vector
as well as IRQ before installing this driver. Please refer to hardware
installation procedure in User's Manual before proceed any further.
Please make sure the JP1 is open after the ISA board is set properly.
PCI board
---------
You may need to adjust IRQ usage in BIOS to avoid from IRQ conflict
with other ISA devices. Please refer to hardware installation
procedure in User's Manual in advance.
PCI IRQ Sharing
-----------
Each port within the same multiport board shares the same IRQ. Up to
4 Moxa Smartio/Industio PCI Family multiport boards can be installed
together on one system and they can share the same IRQ.
3.2 Driver files
The driver file may be obtained from CD-ROM or Web site. The
first step, anyway, is to copy driver file "mxbsd_<version>.tgz"
into specified directory. e.g. /moxa. The execute commands as below.
<copy mxbsd_<version>.tgz into /moxa directory>
# cd /moxa
# tar xvfz mxbsd_<version>.tgz
3.3 Device naming convention
You may find all the driver and utilities files in ./moxa
Dialin and callout port
-----------------------
This driver remains traditional serial device properties. There are
two special file name for each serial port. One is dial-in port
which is named "ttyMxx". For callout port, the naming convention
is "cumxx".
Device naming when more than 2 boards installed
-----------------------------------------------
Naming convention for each Smartio/Industio multiport board is
pre-defined as below.
Board Num. Dial-in Port Callout port
1st board ttyM0 - ttyM7 cum0 - cum7
2nd board ttyM8 - ttyM15 cum8 - cum15
3rd board ttyM16 - ttyM23 cum16 - cum23
4th board ttyM24 - ttym31 cum24 - cum31
3.4 Module driver configuration
------------- Prepare to use the MOXA driver--------------------
3.4.1 Create tty device with correct major number
---------------NOTE----------------
This step is only for FreeBSD 4.x.
-----------------------------------
Before using MOXA driver, your system must have the tty devices
which are created with driver's major number. We offer one shell
script "msmknod" to simplify the procedure.
This step is only needed to be executed once. But you still
need to do this procedure when:
a. Your total installed MOXA boards number is changed. Maybe you
add/delete one MOXA board.
b. You want to change the tty name. This needs to modify the
shell script "msmknod"
The procedure is:
# cd /moxa/mxser/driver
# ./msmknod
Msmknod will delete any special files occupying the same device
naming.
3.4.2 If you'd like to drive Smartio/Industio ISA boards in the system,
you'll have to add parameter to specify CAP address of given
board in file config.h.
a. # cd /moxa/mxser/driver
# vi config.h
b. Find the array mxserBoardCAP[] as below.
static int mxserBoardCAP[]
= {0x00, 0x00, 0x00, 0x00};
c. Change the address within this array using vi. For
example, to driver 2 ISA boards with CAP address
0x280 and 0x180 as 1st and 2nd board. Just to change
the source code as follows.
static int mxserBoardCAP[]
= {0x280, 0x180, 0x00, 0x00};
3.4.3 Build the MOXA driver and utilities
Before using the MOXA driver and utilities, you need compile the
all the source code. This step is only need to be executed once.
Find "Makefile" in /moxa, then run
# make clean; make install
The driver files "mx.ko" and utilities will be properly compiled
and copied to system directories respectively.
------------- Load MOXA driver--------------------
3.4.4 Load the MOXA driver
# kldload mx
will activate the module driver. You may run "kldstat" to check
if "mx" is activated.
------------- Load MOXA driver on boot --------------------
3.4.5 For the above description, you may manually execute "kldload mx"
to activate this driver and run "kldunload mx" to remove it.
However, it's better to have a boot time configuration to
eliminate manual operation. Boot time configuration can be
a
没有合适的资源?快使用搜索试试~ 我知道了~
C168H-Series.zip_series继保_sidg2k.dll_继保
共112个文件
dll:19个
txt:15个
inf:13个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 34 浏览量
2022-09-20
22:41:06
上传
评论
收藏 4.91MB ZIP 举报
温馨提示
对于理解提高继保编译软件有很好的提高作用。
资源推荐
资源详情
资源评论
收起资源包目录
C168H-Series.zip_series继保_sidg2k.dll_继保 (112个子文件)
MAKE.BAT 81B
MAKE.BAT 54B
MAKE.BAT 53B
MAKE.BAT 18B
MXSER.CAT 14KB
MXSER.CAT 14KB
MXSER.CAT 14KB
MXSER.CAT 14KB
MXSER.CAT 14KB
MXSPORT.CAT 12KB
MXSPORT.CAT 12KB
MXSPORT.CAT 12KB
MXSPORT.CAT 12KB
MXSPORT.CAT 12KB
MXSICFG.chm 11KB
MXSICFG.chm 11KB
MXSICFG.chm 11KB
MXSICFG.chm 11KB
MXSICFG.chm 11KB
SETUP.CNF 1022B
disk1 5B
disk1 5B
disk1 5B
MXSICFG.DLL 83KB
SIDiag.dll 64KB
SIDIAG.DLL 64KB
MXSICFG.dll 45KB
MXSICFG.dll 45KB
mxsicfg.dll 29KB
mxsicfg.dll 29KB
mxsicfg.dll 29KB
SIDg2k.dll 26KB
SIDg2k.dll 26KB
Mxsport.dll 24KB
Mxsport.dll 24KB
SIDg2k.dll 14KB
SIDg2k.dll 14KB
SIDg2k.dll 14KB
Mxsport.dll 13KB
Mxsport.dll 13KB
Mxsport.dll 13KB
mxsiport.dll 9KB
Mxsiadm.exe 172KB
Mxsicfg.exe 168KB
Setup95.EXE 132KB
IO-IRQ.EXE 97KB
IO-IRQ.EXE 97KB
IO-IRQ.EXE 97KB
DOSINST.EXE 73KB
MXSISHL.EXE 56KB
16X18.FNT 9KB
8X16.FNT 4KB
MXSICFG.HLP 6KB
MXSIADM.HLP 6KB
DOSINST.HLP 833B
OEMSETUP.INF 27KB
MXSER.INF 20KB
MXSER.INF 20KB
MXSER.INF 20KB
MXSER.INF 20KB
MXSER.INF 20KB
MXSIBRD.INF 9KB
DOSINST.INF 4KB
MXSPORT.INF 4KB
MXSPORT.INF 4KB
MXSPORT.INF 4KB
MXSPORT.INF 4KB
MXSPORT.INF 4KB
C168H Series(6 edition).pdf 1.91MB
WinXP Installation.pdf 1.65MB
Win2K Installation.pdf 938KB
C168H Quick Install_v3.pdf 62KB
Win2003 Installation.pdf 555KB
TC-EX2.PRJ 85B
IRQ-EX1.PRJ 23B
TC-EX1.PRJ 22B
Mxsport.sys 120KB
Mxsport.sys 120KB
Mxsport.sys 88KB
Mxsport.sys 88KB
Mxsport.sys 88KB
MXSERP.SYS 77KB
Mxser.sys 35KB
Mxser.sys 35KB
Mxser.sys 20KB
Mxser.sys 20KB
Mxser.sys 20KB
MXPCI.SYS 3KB
mx_sco_1.8.tar 513KB
mx_uw7_1.8.tar 290KB
smart_sco6_1.9.tar 270KB
mxser_1.11.tgz 107KB
mxser_1.11.tgz 107KB
mxser_1.11.tgz 107KB
mxbsd_1.3.tgz 29KB
API-232.TXT 121KB
version.txt 4KB
version.txt 4KB
version.txt 4KB
README.TXT 1KB
共 112 条
- 1
- 2
资源评论
钱亚锋
- 粉丝: 88
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功