<commit_before>.TH comedi_config 8 ""
.SH NAME
\fBcomedi_config\fR - COMEDI configuration utility
.SH SYNOPSIS
\fB/usr/sbin/comedi_config\fR [-vVq] /dev/comediN <driver>
<option1>[,<option2>...]
.br
.SH DESCRIPTION
\fBcomedi_config\fR is used to configure \fBcomedi\fR drivers.
You must have \fBcomedi\fR support compiled
into your kernel or loaded as a separate module in order
to use this utility.
Each control and measurement device is associated with a
particular \fBcomedi\fR device file \fB/dev/comedi\fRN, where
N is 0,1,2,3, etc.
\fBComedi_config\fR allows you to associate a particular
driver and device with a \fBcomedi\fR device file, and also
configure driver parameters for the particular device.

\fBComedi_config\fR can be used with optional 
parameters which are driver dependent.  Parameters are
specified by comma-delimited list of integers.  The integers
may be expressed as decimal, hexidecimal (starting with 0x)
or octal (stating with 0).  In addition, a parameter may be
left blank, indicating 0.  PCI-based devices typically
require no parameters.  ISA-based devices typically use
the first and second parameters to indicate I/O base
address and interrupt level.

More information about the parameters required by individual
drivers can be found in the \fBcomedi\fR documentation, in
the file \fBdrivers.txt\fR.



.SH OPTIONS

\fBcomedi_config\fR recognizes the following options:

\fB-q, --quiet\fR	don't print output while running.

\fB-v, --verbose\fR	print verbose output while running.

\fB-V, --version\fR	print version number and exit.


.SH CONFIGURATION FILE

[This section has not been implemented yet.]

A list of device configurations can be put into the file
\fB/etc/comedi.conf\fR.  This file takes the form

	<device> <driver> <param1>,<param2>,...
<commit_msg>added buffer resize options to man page<commit_after>.TH comedi_config 8 ""
.SH NAME
\fBcomedi_config\fR - COMEDI configuration utility
.SH SYNOPSIS
\fB/usr/sbin/comedi_config\fR [-vVq] /dev/comediN <driver>
[<option1>[,<option2>...]]
.br
.SH DESCRIPTION
\fBcomedi_config\fR is used to configure \fBcomedi\fR drivers.
You must have \fBcomedi\fR support compiled
into your kernel or loaded as a separate module in order
to use this utility.
Each control and measurement device is associated with a
particular \fBcomedi\fR device file \fB/dev/comedi\fRN, where
N is 0,1,2,3, etc.
\fBComedi_config\fR allows you to associate a particular
driver and device with a \fBcomedi\fR device file, and also
configure driver parameters for the particular device.

\fBComedi_config\fR can be used with optional
parameters which are driver dependent.  Parameters are
specified by comma-delimited list of integers.  The integers
may be expressed as decimal, hexidecimal (starting with 0x)
or octal (stating with 0).  In addition, a parameter may be
left blank, indicating 0.  PCI-based devices typically
require no parameters, although some allow you to specify
the bus and slot of the card to configure
as the first two parameters.
ISA-based devices typically use
the first and second parameters to indicate I/O base
address and interrupt level.

More information about the parameters required by individual
drivers can be found in the \fBcomedi\fR documentation, in
the file \fBdrivers.txt\fR.



.SH OPTIONS

\fBcomedi_config\fR recognizes the following options:

\fB-q, --quiet\fR	don't print output while running.

\fB-v, --verbose\fR	print verbose output while running.

\fB-V, --version\fR	print version number and exit.

.TP
.BI "--read-buffer " "num"
set read buffer size to
.I num
kilobytes.  The default size is 128k.

.TP
.BI "--write-buffer " "num"
set write buffer size to
.I num
kilobytes.  The default size is 128k.


.SH CONFIGURATION FILE

[This section has not been implemented yet.]

A list of device configurations can be put into the file
\fB/etc/comedi.conf\fR.  This file takes the form

	<device> <driver> <param1>,<param2>,...

{'fraction_non_alphanumeric': 0.07592686642965972, 'fraction_numerical': 0.007618080243778568, 'mean_word_length': 4.056482670089859, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6569883', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1194, 'n_words': 532}