From dacef89a7a161b9040762023713915c5e7eb7c2d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 1 Dec 2001 05:29:36 +0000 Subject: [PATCH] Moved to comedilib --- etc/comedi.conf | 15 ------ etc/conf.modules | 11 ----- etc/das1600.conf | 89 ----------------------------------- etc/dt282x.conf | 119 ----------------------------------------------- etc/isapnp.conf | 31 ------------ 5 files changed, 265 deletions(-) delete mode 100755 etc/comedi.conf delete mode 100644 etc/conf.modules delete mode 100755 etc/das1600.conf delete mode 100755 etc/dt282x.conf delete mode 100644 etc/isapnp.conf diff --git a/etc/comedi.conf b/etc/comedi.conf deleted file mode 100755 index 48fbac79..00000000 --- a/etc/comedi.conf +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# -# This script is run right after the comedi module is -# loaded. -# - -# Example for a National Instruments AT-MIO E series board -#/usr/sbin/comedi_config /dev/comedi0 atmio-E 0x260,5 - - -# Example for a Data Translation DT2821 series board -# uses file dt282x.conf -/etc/dt282x.conf - - diff --git a/etc/conf.modules b/etc/conf.modules deleted file mode 100644 index bb91c9a7..00000000 --- a/etc/conf.modules +++ /dev/null @@ -1,11 +0,0 @@ - -# -# add these lines to /etc/conf.modules -# - -alias char-major-98 comedi -post-install comedi /etc/comedi.conf - -#alias char-major-98-0 your_driver -#post-install your_driver /usr/sbin/comedi_config /dev/comedi0 your_driver options - diff --git a/etc/das1600.conf b/etc/das1600.conf deleted file mode 100755 index 7732c7b2..00000000 --- a/etc/das1600.conf +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -# Configuration for das1600 driver -# Thomas Henkel and ds - -### Device file -DEVICE=/dev/comedi0 - - -### Type of board -### Choose one -BOARD=das1601/12 -#BOARD=das1602/12 -#BOARD=das1602/16 - - -### Option 0: Board base address -### Depends on jumper settings -IO_BASE=0x320 - - -### Option 1: IRQ -### Choose one -#IRQ=0 # don't use interrupts -#IRQ=3 -#IRQ=4 -#IRQ=5 -#IRQ=6 -IRQ=7 -#IRQ=9 - - -### Option 2: DMA channel -### Depends on jumper settings -### Choose one -DMA=0 # don't use DMA -#DMA=1 -#DMA=2 -#DMA=3 - - -### Option 3: Crystal selection -### Depends on jumper settings -### Choose one -CRYSTAL=0 # 10 Mhz -#CRYSTAL=1 # 1 Mhz - - -### Option 4: Analog Input reference -### Depends on jumper settings -### Choose one -A_INP_TYPE=0 # differential -#A_INP_TYPE=1 # single ended - - -### Option 5: Analog Input range -### Depends on jumper settings -### Choose one -#A_INP_RANGE=0 # bipolar (-10 V -- +10 V) -#A_INP_RANGE=1 # unipolar (0 V -- +10 V) - - -### Option 6: Analog Output 0 Range -### Depends on jumper settings -### Choose one -#A_OUT_0=0 # bipolar +/- 10 V -#A_OUT_0=1 # bipolar +/- 5 V -#A_OUT_0=2 # bipolar external reference -#A_OUT_0=3 # unipolar 0-10 V -#A_OUT_0=4 # unipolar 0-5 V -#A_OUT_0=5 # unipolar external reference - - -### Option 7: Analog Output 1 Range -### Depends on jumper settings -### Choose one -#A_OUT_1=0 # bipolar +/- 10 V -#A_OUT_1=1 # bipolar +/- 5 V -#A_OUT_1=2 # bipolar external reference -#A_OUT_1=3 # unipolar 0-10 V -#A_OUT_1=4 # unipolar 0-5 V -#A_OUT_1=5 # unipolar external reference - -#----------------------------------------------------------- -# End of Configuration -#----------------------------------------------------------- - - -/usr/sbin/comedi_config $DEVICE $BOARD $IO_BASE,$IRQ,$DMA,$CRYSTAL,$A_INP_TYPE,$A_INP_RANGE,$A_OUT_0,$A_OUT_1 - diff --git a/etc/dt282x.conf b/etc/dt282x.conf deleted file mode 100755 index 03e3556b..00000000 --- a/etc/dt282x.conf +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/sh -# Configuration for dt282x driver -# ds - -### Device file -DEVICE=/dev/comedi0 - - -### Type of board -### Choose one -BOARD=dt2821 # also for -f-16se, -g-16se, etc. -#BOARD=dt2823 -#BOARD=dt2824-pgh -#BOARD=dt2824-pgl -#BOARD=dt2825 -#BOARD=dt2827 -#BOARD=dt2828 -#BOARD=dt21-ez -#BOARD=dt23-ez -#BOARD=dt24-ez -#BOARD=dt24-ez-pgl - - -### Option 0: Board base address -### Depends on jumper settings -IOBASE=0x240 - - -### Option 1: IRQ -### Depends on jumper settings -### Choose one -#IRQ=0 # don't use interrupts -#IRQ=3 -#IRQ=5 -IRQ=7 -#IRQ=10 -#IRQ=15 - - -### Option 2: first DMA channel -### Depends on jumper settings -### Choose one -DMA1=0 # don't use DMA -#DMA1=5 -#DMA1=6 - - -### Option 3: second DMA channel -### Depends on jumper settings -### Choose one -DMA2=0 # don't use secondary DMA -#DMA2=6 -#DMA2=7 - - -### Option 4: Analog Input reference -### Depends on jumper settings or type of board -### Choose one -AI_REF=0 # differential -#AI_REF=1 # single ended - - -### Option 5: Analog Input encoding -### Depends on jumper settings -### Choose one -AI_ENCODE=0 # straight binary -#AI_ENCODE=1 # two's complement - - -### Option 6: Analog Output 0 encoding -### Depends on jumper settings -### Choose one -A00_ENCODE=0 # straight binary -#AO0_ENCODE=1 # two's complement - - -### Option 7: Analog Output 1 encoding -### Depends on jumper settings -### Choose one -AO1_ENCODE=0 # straight binary -#AO1_ENCODE=1 # two's complement - - -### Option 8: Analog Input Range -### Depends on jumper settings -### Choose one -#AI_RANGE=0 # bipolar +/- 10 V -#AI_RANGE=1 # unipolar 0-10 V -#AI_RANGE=2 # bipolar +/- 5 V -#AI_RANGE=3 # unipolar 0-5 V - - -### Option 9: Analog Output 0 Range -### Depends on jumper settings -### Choose one -#AO0_RANGE=0 # bipolar +/- 10 V -#AO0_RANGE=1 # unipolar 0-10 V -#AO0_RANGE=2 # bipolar +/- 5 V -#AO0_RANGE=3 # unipolar 0-5 V -#AO0_RANGE=4 # bipolar +/- 2.5 V - - -### Option 10: Analog Output 1 Range -### Depends on jumper settings -### Choose one -#AO1_RANGE=0 # bipolar +/- 10 V -#AO1_RANGE=1 # unipolar 0-10 V -#AO1_RANGE=2 # bipolar +/- 5 V -#AO1_RANGE=3 # unipolar 0-5 V -#AO1_RANGE=4 # bipolar +/- 2.5 V - - -#----------------------------------------------------------- -# End of Configuration -#----------------------------------------------------------- - - -/usr/sbin/comedi_config $DEVICE $BOARD $IOBASE,$IRQ,$DMA1,$DMA2,$AI_REF,$AI_ENCODE,$AO0_ENCODE,$AO1_ENCODE,$AI_REF,$AO0_REF,$AI1_REF - diff --git a/etc/isapnp.conf b/etc/isapnp.conf deleted file mode 100644 index 18c77200..00000000 --- a/etc/isapnp.conf +++ /dev/null @@ -1,31 +0,0 @@ -# -# This is a sample isapnp.conf file for an NI AT-MIO E series card. -# -# You should generate your own with pnpdump. -# - - -# (DEBUG) -(READPORT 0x0203) -(ISOLATE) -(IDENTIFY *) - -# Card 1: (serial identifier c4 00 00 03 3a 00 19 23 39) -# NIC1900 Serial No 826 [checksum c4] -# Version 1.0, Vendor version 0.0 -# ANSI string -->AT-MIO-16E-2, National Instruments, High Speed 12-bit MIO DAQ Board<-- -# -# Logical device id NIC0000 -# Device support I/O range check register -# -# Edit the entries below to uncomment out the configuration required. -# Note that only the first value of any range is given, this may be changed if required -# Don't forget to uncomment the activate (ACT Y) when happy - -(CONFIGURE NIC1900/826 (LD 0 - (IO 0 (BASE 0x0260)) - (ACT Y) -)) - -(WAITFORKEY) - -- 2.26.2