- From: Tim Lee <timothy1ee_at_yahoo.com>
- Date: Tue, 6 Jul 2004 16:30:22 -0700 (PDT)
> > > What are the contents of the status1 and status2 > > > registers when they are=3D20 > > > read in labpc_interrupt()? > > > > status1 =3D 33 and status2 =3D 5. > The status values you gave are in decimal? Yes, these are decimal values. > > > Does the comedilib cmd demo work? > > The cmd demo works fine. > > See if you can make it fail. My guess would be it > will fail when you ask for just a single channel > (demo/cmd -n1). If it still works then, you might > try setting the TRIG_WAKE_EOS flag at the appropriate > place in cmd.c and see if that breaks it. I tried reading from just one channel and setting the TRIG_WAKE_EOS flag and both these things worked. I verified that the data was really being received at the end of each scan. I then set the flag to TRIG_WAKE_EOS | TRIG_RT, and in this case, the data was only read once. I don't know if this is expected behaviour though, since this is running from user space instead of kernel space. I took out the TRIG_RT flag in the kernel module based off of it.c and got the same behaviour as before (callback is only called once). Anything else I can try with cmd.c? Thanks, Tim Lee __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
Received on 2004-07-06Z22:30:22