On 07/12/2020 13:08, Ian Abbott wrote:
> On 07/12/2020 11:02, 'Robert' via Comedi: Linux Control and Measurement
> Device Interface wrote:
>> Dear all,
>> I have the same issue running Ubuntu 18.04 LTS with the MF634 daq
>> card. The card seems to be recognized without problems. However, I
>> cannot read analogue inputs using the demos script "inp.c" of
>> comedilib. It gives the same error as reported above (by
): "Connection timed out".
>> Did you @ kolom...@gmail.com
already figure out what the problem is?
>> Thank you in advance and best wishes,
> I think I see what the problem is, but will try and confirm with the
> original author of the driver, Rostislav Lisovy.
> I think the problem is that check for end of conversion is inverted.
> After initiating a software trigger for the A/D conversion, the code
> currently waits for the EOLC bit to go high to signal the end of the
> conversion, but according to the user manuals for MF624 and MF634, this
> is an active low signal that is high while the conversion is in progress
> and goes low at the end of the conversion.
previous test for end-of-conversion). I tagged the patch to be
backported to the "stable" kernel series. The change has now been
included in recent kernel updates for Ubuntu 18.04 LTS. The Ubuntu
kernel versions 4.15.0-136 and 5.4.0-66 include this change. With a bit