Asynchronous event from kernel to user space (by procfs or/and sysfs)

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

 



Hello all,

I am currently developping a custom driver for a custom hardware. This custom driver "produce" some data completely asynchronous. My driver receive those data by an ISR (called by an irq from the custom hardware).

All those data could be acceded through proc or sys. Now I dont want that my application need to pool the (virtual) file from proc or sys to be aware of a change of the data. Of course I can't use somthing like inotify because the data from the (virtual) file are computed only when we read the (virtual) file. This is the "get" approche of proc or sys. 

Do you have an idea of how the application can receive any kind of event from my driver ? signal ? uevent ? anything else ?

Thanks in advance for every help usefull or not !

Patrick



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux