3 \fBcomedi_config\fR - COMEDI configuration utility
5 \fBcomedi_config\fR [-vVq] /dev/comediN <driver>
6 [<option1>[,<option2>...]]
9 \fBcomedi_config\fR is used to configure \fBcomedi\fR drivers.
10 You must have \fBcomedi\fR support compiled
11 into your kernel or loaded as a separate module in order
13 Each control and measurement device is associated with a
14 particular \fBcomedi\fR device file \fB/dev/comedi\fRN, where
16 \fBComedi_config\fR allows you to associate a particular
17 driver and device with a \fBcomedi\fR device file, and also
18 configure driver parameters for the particular device.
20 \fBComedi_config\fR can be used with optional
21 parameters which are driver dependent. Parameters are
22 specified by comma-delimited list of integers. The integers
23 may be expressed as decimal, hexidecimal (starting with 0x)
24 or octal (stating with 0). In addition, a parameter may be
25 left blank, indicating 0. PCI-based devices typically
26 require no parameters, although some allow you to specify
27 the bus and slot of the card to configure
28 as the first two parameters.
29 ISA-based devices typically use
30 the first and second parameters to indicate I/O base
31 address and interrupt level.
33 More information about the parameters required by individual
34 drivers can be found in the \fBcomedi\fR documentation, in
35 the file \fBdrivers.txt\fR.
41 \fBcomedi_config\fR recognizes the following options:
43 \fB-q, --quiet\fR don't print output while running.
45 \fB-v, --verbose\fR print verbose output while running.
47 \fB-V, --version\fR print version number and exit.
49 \fB-r, --remove\fR remove previously configured driver.
52 .BI "--read-buffer " "num"
53 set read buffer size to
55 kilobytes. The default size is 16k.
58 .BI "--write-buffer " "num"
59 set write buffer size to
61 kilobytes. The default size is 16k.
64 .SH CONFIGURATION FILE
66 [This section has not been implemented yet.]
68 A list of device configurations can be put into the file
69 \fB/etc/comedi.conf\fR. This file takes the form
71 <device> <driver> <param1>,<param2>,...
73 These configurations will be read and performed when the
74 switch \fB-a\fR is used. This is potentially useful when
75 run from an initialization script.
79 A National Instruments PCI-MIO E series board can be
80 configured to use /dev/comedi0 using the command:
82 comedi_config /dev/comedi0 ni_pcimio
84 A National Instruments AT-MIO E series board can be
85 configured to use /dev/comedi3 using the command:
87 comedi_config /dev/comedi3 ni_atmio 0x220,3
89 This tells the driver that the board is configured
90 for I/O base 0x220 and IRQ 3.
92 .SH ADDITIONAL INFORMATION
94 Additional text documentation can be found in /usr/doc/comedilib-0.7.11.
95 The current version of \fBComedi\fR and \fBComedilib\fR can be
96 obtained from ftp://ftp.comedi.org/pub/comedi. The Comedi web site
97 is located at http://www.comedi.org/comedi.
109 David Schleef, <ds@schleef.org>