Fwd: iio_trigger doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

I write in this mailing list because I have some problems to
understand the trigger event catch and I ask for your help.

I write a little driver for accelerometer and the core driver works,
but now I want to write trigger code. What I understand is that:

1. register iio_trigger;
2. associate iio_trigger to iio_dev;
3. associate pollfunc with iio_alloc_pollfunc to iio_info;

when trigger occuring (in my example at hrtimers), I call
iio_trigger_poll() function and I expect which handler function
declared inside iio_alloc_pollfunc(...) is called.
This does not happen!

What I'm doing wrong?
There is some documentation about this?

Thanks,

Denis
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux