Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

comedi_config(8) [debian man page]

comedi_config(8)					      System Manager's Manual						  comedi_config(8)

NAME
comedi_config - COMEDI configuration utility SYNOPSIS
comedi_config [-vVq] /dev/comediN <driver> [<option1>[,<option2>...]] DESCRIPTION
comedi_config is used to configure comedi drivers. You must have comedi 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 comedi device file /dev/comediN, where N is 0,1,2,3, etc. Comedi_config allows you to associate a particular driver and device with a comedi device file, and also configure driver parameters for the particular device. Comedi_config can be used with optional parameters which are driver dependent. Parameters are specified by comma-delimited list of inte- gers. 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 comedi documentation, in the file drivers.txt. OPTIONS
comedi_config recognizes the following options: -q, --quiet don't print output while running. -v, --verbose print verbose output while running. -V, --version print version number and exit. -r, --remove remove previously configured driver. --read-buffer num set read buffer size to num kilobytes. The default size is 64k. --write-buffer num set write buffer size to num kilobytes. The default size is 64k. -i, --init-data, --init-data0 file upload initialization data (typically firmware) from file to board. --init-data1 file --init-data2 file --init-data3 file Some drivers require more than one file for initialization data. Use these options to specify additional initialization data files. See the driver-specific documentation for further details. CONFIGURATION FILE
[This section has not been implemented yet.] A list of device configurations can be put into the file /etc/comedi.conf. This file takes the form <device> <driver> <param1>,<param2>,... These configurations will be read and performed when the switch -a is used. This is potentially useful when run from an initialization script. EXAMPLES
A National Instruments PCI-MIO E series board can be configured to use /dev/comedi0 using the command: comedi_config /dev/comedi0 ni_pcimio A National Instruments AT-MIO E series board can be configured to use /dev/comedi3 using the command: comedi_config /dev/comedi3 ni_atmio 0x220,3 This tells the driver that the board is configured for I/O base 0x220 and IRQ 3. ADDITIONAL INFORMATION
Additional text documentation can be found in /usr/share/doc/libcomedi-dev. The current version of Comedi and Comedilib can be obtained from ftp://ftp.comedi.org/pub/comedi. The Comedi web site is located at http://www.comedi.org/comedi. SEE ALSO
comedi(7) VERSION
0.7.x AUTHOR
David Schleef, <ds@schleef.org> 2012-06-04 comedi_config(8)

Check Out this Related Man Page

AN(4)							   BSD Kernel Interfaces Manual 						     AN(4)

NAME
an -- Aironet Communications 4500/4800 wireless network adapter driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device an device wlan Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_an_load="YES" DESCRIPTION
The an driver provides support for Aironet Communications 4500 and 4800 wireless network adapters and variants, including the following: o Aironet Communications 4500 and 4800 series o Cisco Aironet 340 and 350 series o Xircom Wireless Ethernet Adapter Support for these devices include the ISA, PCI and PCMCIA varieties. The Aironet 4500 series adapters operate at 1 and 2Mbps while the Aironet 4800 series and Cisco adapters can operate at 1, 2, 5.5 and 11Mbps. The ISA, PCI and PCMCIA devices are all based on the same core PCMCIA modules and all have the same programming interface, however unlike the Lucent WaveLAN/IEEE cards, the ISA and PCI cards appear to the host as normal ISA and PCI devices and do not require any PCCARD support. The PCMCIA Aironet cards require PC Card support, including the kernel pccard(4) driver. ISA cards can either be configured to use ISA Plug and Play or to use a particular I/O address and IRQ by properly setting the DIP switches on the board. (The default switch setting is for Plug and Play.) The an driver has Plug and Play support and will work in either configuration, however when using a hard-wired I/O address and IRQ, the driver configuration and the NIC's switch settings must agree. PCI cards require no switch settings of any kind and will be automatically probed and attached. All host/device interaction with the Aironet cards is via programmed I/O. The Aironet devices support 802.11 and 802.3 frames, power manage- ment, BSS (infrastructure) and IBSS (ad-hoc) operation modes. The an driver encapsulates all IP and ARP traffic as 802.11 frames, however it can receive either 802.11 or 802.3 frames. Transmit speed is selectable between 1Mbps, 2Mbps, 5.5Mbps, 11Mbps or "auto" (the NIC automati- cally chooses the best speed). By default, the an driver configures the Aironet card for infrastructure operation. For more information on configuring this device, see ifconfig(8). DIAGNOSTICS
an%d: init failed The Aironet card failed to become ready after an initialization command was issued. an%d: failed to allocate %d bytes on NIC The driver was unable to allocate memory for transmit frames in the NIC's on-board RAM. an%d: device timeout The Aironet card failed to generate an interrupt to acknowledge a transmit command. SEE ALSO
altq(4), arp(4), miibus(4), netintro(4), wlan(4), ancontrol(8), ifconfig(8) HISTORY
The an device driver first appeared in FreeBSD 4.0. AUTHORS
The an driver was written by Bill Paul <wpaul@ee.columbia.edu>. BSD
July 16, 2005 BSD
Man Page