AnsweredAssumed Answered

Waking up user space application on buffer availability

Question asked by simba on Jan 28, 2015
Latest reply on Jan 29, 2015 by simba

Hi,

 

I am currently using AD7606 with buffers & triggers enabled at the driver level. I am able to read the data in command line mode, I want to read the buffer continuously in user space whenever it's available.

 

Anyway where in I can wake up the thread in user space or perform read operation only when the sysfs entries for buffer is full.

I don't want to poll, I want to notify the user space program to perform read operation on the buffer based on availability.

Please give me some ideas on how to go about this.

Thanks

 

Regards

Simba

Outcomes