Refer to your system hardware documentation for complete instructions
on how to run the ECU program.
If you want the system to automatically create the acex
entry for your PCMCIA fax/modem card, before you start installing the system,
make sure that you have the PCMCIA adapter configured in the console and that
the PCMCIA fax/modem card is inserted into the slot. If you have a fax/modem
card in the slot 0, for example, when the system is installed and the target
kernel is built, the system kernel configuration file built will have the
following entry:
This is because most systems have two embedded serial lines. A system
with a single embedded serial line creates only onetty00
entry in the /dev directory.
To create additional device special files for the PCMCIA modem cards,
use the MAKEDEV utility in the /dev
directory. For example:
For example, add the following line to the /etc/remote
file:
Once the PCMCIA modem card is inserted correctly and the system configures
the card, the card can be used the same as any other modem devices.
When a modem card is inserted, an error message such as the following
may appear on the Console Log window:
You should also review these lines to ensure that the options specified
for the tablet are correct, especially that the tty that
is specified as the serial port where the tablet is connected to your system.
The last line of this file has the following syntax:
Table E-1 can help you determine how to set
up the entries for the tablet in the /usr/var/X11/Xserver.conf
file.
E.2 PCMCIA Support
PCMCIA (PC Card) support is limited to the following capabilities:
E.2.1 Restrictions
The following restrictions apply in this release.
However, other ISA to PCMCIA bridge adapters using the Intel
i82365SL or a compatible device may also work.
The SWAPBOX PREMIUM COMBO Model MMCD-FC2 has the following
features:
E.2.2 Configuring the PCMCIA Adapter Board from the Console
Before inserting the PCMCIA adapter board into your system, make sure
to read the manual that came with the adapter from the adapter vendor and
follow the instructions on how to connect the cables and install the board.
Check your system documentation to find out what kind of bus is available
in your system and use the appropriate ISA or EISA instructions in this section.
E.2.2.1 Configuring on an ISA Bus System
>>> isacfg -slot 1 -etyp 1 -dev 0 -mk -iobase0 3e0 \
-irq0 14 -enadev 1 -handle PCIC-PCMCIA
If the system
is already using slot 1, select and unused slot number.
type >>>init to use these changes
>>>isacfg -slot 1
=============================================================
handle: PCIC-PCMCIA
etyp: 1
slot: 1 dev: 0
enadev: 1
totdev: 1
iobase0: 3e0 membase0: 8000000000000000
iobase1: 8000000000000000 memlen0: 8000000000000000
iobase2: 8000000000000000 membase1: 8000000000000000
iobase3: 8000000000000000 memlen1: 8000000000000000
iobase4: 8000000000000000 membase2: 8000000000000000
iobase5: 8000000000000000 memlen2: 8000000000000000
rombase: 8000000000000000
romlen: 8000000000000000
dmamode0/chan0: 80000000 irq0: 14
dmamode1/chan1: 80000000 irq1: 80000000
dmamode2/chan2: 80000000 irq2: 80000000
dmamode3/chan3: 80000000 irq3: 80000000
=============================================================
>>>
E.2.2.2 Configuring on an EISA Bus System
If you are installing the PCMCIA adapter on an EISA bus system, use
the EISA Configuration Utility (ECU) to configure it. Invoke the EISA Configuration
Utility (ECU), and specify that the PCMCIA adapter is present. Next, provide
a pointer to the aisa3000.cfg configuration file.
E.2.3 Configuring and Using a PCMCIA Modem PC Card
Since a PC Card is a dynamic device (i.e. not a static device that is
present all the time in the system hardware), and the serial-line device driver
is a static device driver, when the system is installed initially, there will
not be a corresponding acex entry created automatically
by the doconfig of the target system. This is due to the
fact that the system does not know when it is being installed that there will
be a fax/modem card for PCMCIA since the card is not in the system yet.
controller ace2 at pcmcia0 slot 0 vector aceintr
The installation will also create the device special file for this
fax/modem card in the directory named /dev.
# ls -gl tty02
crw-rw-rw- 1 root system 35, 2 Oct 16 13:22 tty02
If you
did not have the PCMCIA fax/modem card inserted in the slot when the system
was installed, then you need to add the following line to your system kernel
configuration file, (/sys/conf/HOSTNAME where HOSTNAME is the name of your system):
controller ace2 at * slot ? vector aceintr
If you plan to use two modem cards simultaneously, add the following
lines to your system configuration file:
controller ace2 at * slot ? vector aceintr
controller ace3 at * slot ? vector aceintr
Once
the system configuration file is modified, use the following command to rebuild
the new kernel and reboot the system.
# doconfig -c
E.2.4 Creating a Device Special File for the Modem Card
Normally the system installation creates the following two default tty0x device special files in the directory /dev:
crw-rw-rw- 1 root system 35, 0 Oct 16 13:22 tty00
crw-rw-rw- 1 root system 35, 1 Oct 16 13:22 tty01
# ./MAKEDEV ace2
MAKEDEV: special file(s) for ace2:
tty02
The generated special file should look like this:
crw-rw-rw- 1 root system 35, 2 Oct 27 14:02 tty02
If you
intend to have two PCMCIA modem cards working simultaneously, create device
special files for each card. For example:
# ./MAKEDEV ace2 ace3
MAKEDEV: special file(s) for ace2:
tty02
MAKEDEV: special file(s) for ace3:
tty03
The generated special files should look like this:
crw-rw-rw- 1 root system 35, 2 Oct 27 14:02 tty02
crw-rw-rw- 1 root system 35, 3 Oct 27 14:02 tty03
E.2.5 /etc/remote File
You must edit the /etc/remote file must be modified
to add new access line definitions for the PCMCIA modem cards to be used.
If you have a 28.8kpb modem card and will be using the full speed, the baud
rate (br) in the /etc/remote file should be set to 38400.
line2:dv=/dev/tty02:br#38400:pa=none:
Note
that line2 can be any name you determine to be used with
the tip command to establish a connection.
E.2.6 Inserting a PCMCIA Modem Card
To use a PCMCIA modem card, insert the card to one of the PC Card slots
in the PCMCIA adapter. Depending on the adapter type, there may be two front
access card slots or one front access and one rear access card slot. When
you insert the card into the slot 0, you should see the following message
on the console terminal (or the Console Log window of the graphics head).
# PCMCIA socket 0: card manufacturer: MEGAHERTZ
product name: XJ2288
Configured: serial unit 2, type=16550A
ace2 at pcmcia0
This example used the MEGAHERTZ XJ2288 fax/modem
card.
socket 0: card manufacturer: MEGAHERTZ, unknown modem card inserted
Using generic modem driver for this PC Card.
PCMCIA socket 0: card manufacturer: MEGAHERTZ
product name: XJ1144
socket 0: Couldn't find usable config. for this card.
Please eject this PC Card.
This error occurs if the card requires
I/O resources that are already in use by other components in the system.
If this error message is seen, the card should be ejected, because it is not
configured. A possible solution is to remove some other ISA/EISA devices in
the system and reboot the system, freeing I/O resources that may be required.
E.2.7 Removing a PCMCIA Modem Card
Once you are finished using the modem card, push the button next to
the card slot to eject it. You should see the following message on the console
terminal or console Log window.
# stray interrupt on unit=2, intr_id=0
PCMCIA socket 0: PC Card removed
This message is not always displayed
when you eject the card. It only happens if the serial line driver generates
an interrupt when the card got ejected.
E.3 CalComp Graphics Tablet
This section provides information about how configure a CalComp DrawingBoard
III tablet, an input device supported by the Xinput extension to the Xserver.
Once the software for the tablet is installed on your system, you can configure
it to emulate a system mouse.
E.3.1 Configuring the CalComp DrawingBoard III Tablet
If you intend to use the CalComp DrawingBoard III tablet software, you
must edit the file /usr/var/X11/Xserver.conf to turn on
support for the X Input extension. To do this, remove the comment characters
surrounding the following lines:
input <
<_dec_xi_db3 lib_dec_xi_db3.so XiDb3Init /dev/tty00:1:12:12:16:\
1:8:1000:1:1 >
>
The backslash in this example indicates line continuation and is
not in the actual display.
device:mode:tabletWidth:tabletHeight:numbtns:corePointer:mouseScale:\
resolution:Xincrement:Yincrement
The backslash in this example indicates
line continuation and is not in the actual display.
The device option is required and specifies which tty device should be associated with the tablet. By default, the installation software assigns the CalComp DrawingBoard III tablet to tty00, which you may want to change if that tty is already allocated. For information on how to determine which serial port your tablet is connected to, see the hardware documentation that was shipped with your processor.
Note that when the stylus or puck is moved as far as the minimum Xincrement or Yincrement value, the value of the corresponding axis is updated. For example, if the Xincrement value is set to 10 and the tablet is moved 10 units along the X axis, the value of the Y axis will also be updated simultaneously with the X axis, even if the Yincrement value has not been reached. Keep this in mind when setting the Xincrement and Yincrement options.
After you have configured the /usr/var/X11/Xserver.conf file, you must follow these steps to turn on support for the tablet in the Xserver:
# /usr/sbin/shutdown -r +5 \ "Turning on support for the Calcomp Drawingboard III tablet"(The backslash in this example indicates line continuation and is not in the actual display.) When the system comes back up, the tablet will be configured into the Xserver and ready to use.
When the Xserver first accesses the tablet, it performs some hardware-specific initialization that can be saved in the on-board memory of the tablet. To save these settings, follow these steps:
E.3.2 Notes and Restrictions
The following notes and restrictions apply to the CalComp DrawingBoard
III tablet: