pcm-das08

Hi,

I have successfully compiled comedi for my 2.6.10 brand new kernel (I've
just installed a gentoo on some laptop in order to use a pcm-das08
pcmcia card et my thesis lab).

It looks like working to me (see under). but I cannot do:

comedi_t *it;
lsampl_t data;
it=comedi_open("/dev/comedi0");
comedi_data_read(it,0,0,0,AREF_GROUND, &data);

as shown in the "first program" in the manual. I always receive "-1" as
response.

Need I to configure something more not well documented?

regards,
Jean-Charles
------------------
jch_at_toto jch $ comedi_config /dev/comedi0 das08 01c5
jch_at_toto jch $ comedi_test /dev/comedi0 
I: Comedi version: 0.7.69
I: Comedilib version: unknown =)
I: driver name: das08
I: device name: das08
I:
I: subdevice 0
I: testing info...
rev 1
I: subdevice type: 1 (analog input)
  number of channels: 8
  max data value: 4095
  ranges:
    all chans: [0,1]
I: testing insn_read...
rev 1
E: comedi_do_insn: Timer expired
I: testing insn_read_0...
comedi_do_insn returned 0, good
I: testing insn_read_time...
rev 1
comedi_do_insn: -1
W: comedi_do_insn: errno=62 Timer expired
W: comedi_do_insn: returned -1 (expected 3)
read time: -785395231 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
.............

Received on 2005-02-01Z18:15:53