From: Ian Abbott Date: Tue, 28 Aug 2012 10:54:39 +0000 (+0100) Subject: doc/install.xml: Describe comedi_num_legacy_minors. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c810c12e31794402455dfb985ce1e2c9e60e5eb;p=comedilib.git doc/install.xml: Describe comedi_num_legacy_minors. Add some info to the Install section about reserving devices for manual configuration using the comedi_num_legacy_minors module parameter. --- diff --git a/doc/install.xml b/doc/install.xml index 4c63d79..2ceb498 100644 --- a/doc/install.xml +++ b/doc/install.xml @@ -39,6 +39,42 @@ Usually these devices belong to the group iocard + + There are a few PCI drivers that for one reason or another + do not support auto-configuration, either because there is + more than one variant of a board sharing the same PCI device + ID (e.g. Advantech PCI-1710 and PCI-1710HG), or because + some configuration options are needed (e.g. Amplicon PCI224 + and PCI234) or for some other reason. It is also possible + to disable auto-configuration when loading the + comedi kernel module. In these + cases devices need to be configured manually as for ISA + cards. Conversely, most &comedi; drivers supplied with the + kernel sources that support auto-configuration may no longer + support manual configuration. + + + + By default, the comedi kernel module + does not reserve any devices for manual configuration so + manual configuration will fail. To allow devices to be + configured manually, set the + comedi_num_legacy_minors module + parameter to the number of devices to reserve for manual + configuration when loading the comedi + kernel module. If using modprobe, this + can be set automatically by editing + /etc/modprobe.conf or + /etc/modprobe.d/comedi.conf (depending + on the system) to include the line: + + options comedi comedi_num_legacy_minors=4 + + The number 4 in the above line may be + adjusted to increase or decrease the number of devices to be + reserved for manual configuration. + + Old ISA based cards need to be manually configured which is explained here. You only need to read on here