- From: Kri Vijay <kri_vijay_at_yahoo.com>
- Date: Fri, 26 Oct 2007 08:37:36 -0700 (PDT)
Hi,
I tried using the cvs version for comedi & hacked
comedi_config in comedilib-0.8.0 & found out that the
problem was in "ioctl" call in line 344 of
comedi_config.c. Not sure why I would have a proble
with ioctl calls
for(i=0;i<COMEDI_NDEVCONFOPTS;i++)printf("%d,",it.options[i]);
printf("\n");
}
fputs("comedi_config C4a: Openfile\n",stdout);
(*)if(ioctl(fd,COMEDI_DEVCONFIG,remove?NULL:&it)<0){
int err=errno;
perror(_("Configure failed!"));
fprintf(stderr,_("Check kernel log for more
information\n"));
thanx
Kris
--nextPart42620608.VyiIMqFFkj
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Sunday 21 October 2007 14:05, Kri Vijay wrote:
> Hi,
>
> I am trying to get S626 card running with Debian
> (2.6.18)
> I compile and installed comedilib-0.8.0 &
> comedi-0.7.74. I also tried using libcomedi-0.7.22
(I
> guess debians comedilib 0.7.22) in the place of
> comedilib-0.8.0.
>
> I did modprobe comedi and modprobe s626.
> Then when I try comedi_config /dev/comedi0 s626,
the
> system freezes. Upon reboot (restart power) the
kernel
> log says
Try applying this patch:
http://www.comedi.org/cgi-bin/viewcvs.cgi/comedi/comedi/drivers.c?r1=3D1.10=
3&r2=3D1.104
or using comedi from cvs. Ian fixed a bug that might
help with the=20
crashing.
=2D-=20
=46rank
--nextPart42620608.VyiIMqFFkj
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHIAHl5vihyNWuA4URArMtAJ41rE6Q5BAXwZbdoOG1unzfC8fQFgCeJIvI
fOjXbzY4NBkombFxNi/l6VQ=
=XId1
-----END PGP SIGNATURE-----
--nextPart42620608.VyiIMqFFkj--
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2007-10-26Z14:37:36