gpib_config — GPIB administration program
gpib_config
[--minor number
]
gpib_config
[--board-type board_type
] [--dma number
] [--file file_path
] [--iobase number
] [--ifc] [--no-ifc] [--irq number
] [--minor number
] [--pad number
] [--pci-bus number
] [--pci-slot number
] [--sad number
] [--sre] [--no-sre] [--system-controller] [--no-system-controller] [--version]
gpib_config must be run after the kernel driver
module for a GPIB interface board is loaded. It performs configuration
of driver settings that cannot be performed by
libgpib
at runtime. This
includes configuration which requires root privilege (for example,
setting the base address or irq of a board), and configuration which
should only be performed once and not automatically redone every time a
program using libgpib
is run (for example, setting the board's GPIB address).
The board to be configured by gpib_config is selected
by the --minor
option. By default, the board settings
are read from the gpib.conf(5)
configuration file. However, individual settings can be overridden by
use of command-line options (see below).
-b, --iobase
number
Set io base address to number
for
boards without plug-and-play capability.
-d, --dma
number
Specify isa dma channel number
for
boards without plug-and-play capability.
-I, --init-data
file_path
Upload binary initialization data (firmware) from
file_path
to board.
-i, --irq
number
Specify irq line number
for boards
without plug-and-play capability.
-f, --file
file_path
Specify file path for configuration file. The values in the
configuration file will be used as defaults for unspecified
options. The default configuration file is
/etc/gpib.conf
.
-h, --help
Print help on options and exit.
-l, --pci-slot
number
Specify pci slot number
to select a
specific pci board. If used, you must also specify the pci bus
with --pci-bus
.
-m, --minor
number
Configure gpib device file with minor number
number
(default is 0
).
-p, --pad
number
Specify primary gpib address. number
should be in the range 0
through 30
.
-s, --sad
number
Specify secondary gpib address. number
should be 0
(disabled) or in the range
96
through 126
(0x60
through 0x7e hexadecimal).
-t, --board-type
board_type
Set board type to board_type
.
-u, --pci-bus
number
Specify pci bus number
to select a
specific pci board. If used, you must also specify the pci slot
with --pci-slot
.
-v, --version
Prints the current linux-gpib version and exits.
--[no-]ifc
Perform (or not) interface clear after bringing board online.
Default is --ifc
.
--[no-]sre
Assert (or not) remote enable line after bringing board online.
Default is --sre
.
--[no-]system-controller
Configure board as system controller (or not).