- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Tue, 1 Feb 2005 20:49:59 -0500
On Tuesday 01 February 2005 01:15 pm, Jean-Charles de Longueville wrote:
> 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
You're using the wrong driver. You should use das08_cs.
--
Frank
Attachments
- application/pgp-signature attachment: stored
Received on 2005-02-02Z01:49:59