Re: Asynchronous input - callback only

> What are the contents of the status1 and status2
> registers when they are=20
> read in labpc_interrupt()?

status1 = 33 and status2 = 5.

> Does the comedilib cmd demo work?

The cmd demo works fine.

Thanks,

Tim

> Message: 1
> From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
> To: comedi_at_comedi.org
> Subject: Re: Asynchronous input - callback only
> called once
> Date: Sun, 4 Jul 2004 18:51:25 -0400
> 
> =2D----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 03 July 2004 04:24 pm, Tim Lee wrote:
> > I traced through the driver ISR
> (labpc_interrupt())
> > and its subsequent call to comedi_event using
> print
> > statments.  In the ISR, it doesn't enter any if
> > statements except for the TRIG_COUNT one, then it
> > calls comedi_event.  In comedi_event, it goes to
> the
> > async->cb_func(mask,async->cb_arg); line.  All
> this
> > seems to be right.
> 
> What are the contents of the status1 and status2
> registers when they are=20
> read in labpc_interrupt()?
> 
> > There is a comment near the async->cb_func() which
> > says:
> >
> > /* XXX bug here.  If subdevice A is rt, and
> >  * subdevice B tries to callback to a normal
> >  * linux kernel function, it will be at the
> >  * wrong priority.  Since this isn't very
> >  * common, I'm not going to worry about it. */
> >
> > Does this comment apply to my situation?  My
> callback
> 
> No.
> 
> >
> > At this point, I don't know what else to try. 
> Does
> > anyone have any debugging suggestions that might
> > narrow this problem down?
> >
> 
> Does the comedilib cmd demo work?
> 
> =2D --=20
> =46rank
> 
> =2D----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
>
iD8DBQFA6Inw5vihyNWuA4URAqjZAKDRHEzQOEaAGK5whWCvN0ldLWh78QCg4sOu
> QpVmvq+yodWts0DfQV5a7k0=3D
> =3Dioda
> =2D----END PGP SIGNATURE-----
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
>
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> 
> 
> End of comedi Digest
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

Received on 2004-07-06Z20:26:19