Re: Asynchronous input - callback only called once

-----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 
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?

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA6Inw5vihyNWuA4URAqjZAKDRHEzQOEaAGK5whWCvN0ldLWh78QCg4sOu
QpVmvq+yodWts0DfQV5a7k0=
=ioda
-----END PGP SIGNATURE-----

Received on 2004-07-04Z21:51:25