399 lines
8.1 KiB
Text
399 lines
8.1 KiB
Text
[root@dh52ls comedilib]# testing/comedi_test
|
|
I: Comedi version: 0.7.64
|
|
I: Comedilib version: unknown =)
|
|
I: driver name: cb_pcidas64
|
|
I: device name: pci-das6023
|
|
I:
|
|
I: subdevice 0
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 1 (analog input)
|
|
number of channels: 16
|
|
max data value: 4095
|
|
ranges:
|
|
all chans: [-10,10] [-5,5] [-0.5,0.5] [-0.05,0.05]
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn returned 1, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
comedi_do_insn: 3
|
|
read time: 5 us
|
|
I: testing cmd_no_cmd...
|
|
not applicable
|
|
I: testing cmd_probe_src_mask...
|
|
rev 1
|
|
command source mask:
|
|
start: now|ext
|
|
scan_begin: follow|timer
|
|
convert: timer|ext
|
|
scan_end: count
|
|
stop: none|count|ext
|
|
I: testing cmd_probe_fast_1chan...
|
|
command fast 1chan:
|
|
start: now 0
|
|
scan_begin: follow 0
|
|
convert: timer 5000
|
|
scan_end: count 1
|
|
stop: count 2
|
|
I: testing cmd_read_fast_1chan...
|
|
read: Input/output error
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
rev 1
|
|
command_test returned 1, good
|
|
I: testing cmd_fifo_depth_check...
|
|
64, 1
|
|
128, 1
|
|
256, 1
|
|
512, 1
|
|
1024, 1
|
|
2048, 1
|
|
4096, 2
|
|
8192, 4
|
|
16384, 8
|
|
32768, 16
|
|
I: testing cmd_start_inttrig...
|
|
not supported
|
|
I: testing mmap...
|
|
0x40017000 ok
|
|
0x40018000 ok
|
|
0x40019000 ok
|
|
0x4001a000 ok
|
|
0x4001b000 ok
|
|
E: mmap compare failed
|
|
offset 0 (read=ffffffce mmap=00)
|
|
0x40017000 segfaulted (ok)
|
|
0x40018000 segfaulted (ok)
|
|
0x40019000 segfaulted (ok)
|
|
0x4001a000 segfaulted (ok)
|
|
0x4001b000 segfaulted (ok)
|
|
I: testing read_select...
|
|
I: testing bufconfig...
|
|
buffer size 16384
|
|
max buffer size 65536
|
|
setting buffer size to 4096
|
|
buffer size set to 4096
|
|
buffer size now at 4096
|
|
setting buffer size past limit, 69632
|
|
got EPERM, good
|
|
setting buffer size to max, 65536
|
|
buffer size now at 65536
|
|
I:
|
|
I: subdevice 1
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 0 (unused)
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn: EIO, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
not applicable
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 2
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 0 (unused)
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn: EIO, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
not applicable
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 3
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 0 (unused)
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn: EIO, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
not applicable
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 4
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 5 (digital I/O)
|
|
number of channels: 24
|
|
max data value: 1
|
|
ranges:
|
|
all chans: [0,5]
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn returned 1, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
comedi_do_insn: 3
|
|
read time: 4 us
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 5
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 5 (digital I/O)
|
|
number of channels: 8
|
|
max data value: 1
|
|
ranges:
|
|
all chans: [0,5]
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn returned 1, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
comedi_do_insn: 3
|
|
read time: 1 us
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 6
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 9 (calibration)
|
|
number of channels: 8
|
|
max data value: 255
|
|
ranges:
|
|
all chans: [0,1]
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn returned 1, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
comedi_do_insn: 3
|
|
read time: 1 us
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 7
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 0 (unused)
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn: EIO, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
not applicable
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 8
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 8 (memory)
|
|
number of channels: 128
|
|
max data value: 65535
|
|
ranges:
|
|
all chans: [0,1]
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn returned 1, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
comedi_do_insn: 3
|
|
read time: 117 us
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|
|
I:
|
|
I: subdevice 9
|
|
I: testing info...
|
|
rev 1
|
|
I: subdevice type: 0 (unused)
|
|
I: testing insn_read...
|
|
rev 1
|
|
comedi_do_insn: EIO, good
|
|
I: testing insn_read_time...
|
|
rev 1
|
|
not applicable
|
|
I: testing cmd_no_cmd...
|
|
got EIO, good
|
|
I: testing cmd_probe_src_mask...
|
|
not applicable
|
|
I: testing cmd_probe_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_read_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_write_fast_1chan...
|
|
not applicable
|
|
I: testing cmd_logic_bug...
|
|
not applicable
|
|
I: testing cmd_fifo_depth_check...
|
|
not applicable
|
|
I: testing cmd_start_inttrig...
|
|
not applicable
|
|
I: testing mmap...
|
|
not applicable
|
|
I: testing read_select...
|
|
not applicable
|
|
I: testing bufconfig...
|
|
buffer length is 0, good
|