Multi-Tech Systems MT5634ZPX-PCI-U Introduction, Standard Linux Serial Port Definitions, Setup

Models: MT5634ZPX-PCI-U

1 37
Download 37 pages 5.72 Kb
Page 33
Image 33
D Installing Under Linux

MultiModemZPX User Guide

D Installing Under Linux

Appendix D - Installing Under Linux

Introduction

This appendix explains how to install a modem on a computer operating under the Red Hat Linux 6.2 operating system. Other versions of Red Hat and other Linux operating systems should be similar. Briefly, in Linux, you do not need drivers for most modems. Programs in Linux commonly call upon the port, rather than the modem.

Standard Linux Serial Port Definitions

PC portLinux port

Com1 ttyS0

Com2 ttyS1

Com3 ttyS2

Com4 ttyS3

Installation

Install the MultiModemZPX in the computer as described in Chapter 2.

Setup

1.Turn on the computer and allow the computer to boot to the command prompt.

2.Log on as root.

3.Determine the resources the modem is using by typing the command cat /proc/pci or the command less /proc/pci. Look for the entry listing vendor id=11c1 and device id=480. Note the IRQ the device uses as well as the first I/O address listed.

Output example:

Non-prefetchable 32 bit memory at 0x00000000

Bus 0, device 17, function 0:

Communication controller:Unknown vendor Unknown device (rev 0)

Vendor id=11c1 Device id=480

Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. No bursts. Min GNT=252. Max lat=14

Non-prefetchable 32 bit memory at 0xe4000000

I/O at 0x6400

I/O at 0x6800

I/O at 0x6c00

4.Using the IRQ and first I/O address from the output obtained in step 3, type the command setserial /dev/ttySx uart 16550A port y irq z, where x is the serial device you want to use, y is the I/O address, and z is the IRQ. Example: setserial /dev/ttyS2 uart 16550A port 0x6400 irq 11.

33

Page 33
Image 33
Multi-Tech Systems MT5634ZPX-PCI-U manual Introduction, Standard Linux Serial Port Definitions, Installation, Setup, I/O at