FAXLOAD(8) — NEWS-OS Programmer’s Manual
NAME
faxload − Initializes FAX board.
SYNOPSIS
/usr/sony/etc/faxload [ −1 ] [ −i ]
DESCRIPTION
faxload initializes FAX board (NWB-239).
Specifies that it is the operation to the FAX board of line 1 (2nd), using option −1 (figure 1). If option −1 is not specified, operation to the FAX board of line 0 (1st) is executed.
In the following description, 0 or 1 correspond to the board line 0 or line 1.
When option −i is specified, faxload initializes the FAX board in the following order.
Open the device file /dev/g3faxctl0 or /dev/g3faxctl1 using flag O_RDWR. If it cannot open, (either board is not connected or permission is not given to device file or other process has been opened already) nothing is executed but ended. Resets FAX board. In this instance, telephone line is disconnected even other process is using the telephone line. Down-loads the program /usr/sony/etc/fax.prog that operate in FAX board. If telephone number setting file /var/sony/etc/fax.conf0 or /var/sony/etc/fax.conf1 exists, this file is read and set the telephone number to FAX board. If file does not exist, telephone number is not set. If hardware setting file /var/sony/etc/fax.hwconf0 or /var/sony/etc/fax.hwconf1 exists, this file is read and several parameters regarding hardware are set in the board. If file does not exist, default setting is used. (This file does not exist usually. In accordance with the characteristics of telephone line, maintenance engineer may select optimum parameters and made this file. Specifications on this file will not be opened to public.) After above all operations are completed, faxload displays the version of fax.prog to standard output. When NWB-236 (ISDN / X.25 interface board) is connected, FAX board of line 1 cannot be used. (faxload will fail.)
If option −i is not specified, faxload displays the setting of FAX board shown below:
•Type of telephone line that is set by the on-board DIP switch (identifying push line or dial line)
•Telephone number that is set by faxload −i
•Version of the program that operates on board
FILES
/usr/sony/etc/faxload Command
/usr/sony/etc/fax.prog Program that operates on FAX board
/var/sony/etc/fax.conf[01] Telephone number setting file
/var/sony/etc/fax.hwconf[01] Hardware setting file
/dev/g3faxctl[01] Device file
/dev/g3faxstat[01] Device file
SEE ALSO
"NEWS-OS Release 4.2 Administrators’ Guide / FAX management"
DIAGNOSIS
Exit status is 0 when succeeded, and 1 when failed with error.
NEWS-OSRelease 4.2.1R