This file is indexed.

/usr/share/doc/libcomedi-dev/dt282x.conf is in libcomedi-dev 0.10.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/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