ittle probleme, the poll call return
POLLPRI and POLLERR. Only POLLPRI is normal I don't understand why we have both
???
Any idea ?
--- En date de : Mer 7.1.09, Belisko Marek a écrit :
> De: Belisko Marek
> Objet: Re: sysfs_notify & poll
> À: kpa_i...@yahoo.fr
> Date: Merc
So it's not an error it's normal case ! I am happy to hear that.
Thanks for your help.
--- En date de : Mer 7.1.09, Belisko Marek a écrit :
> De: Belisko Marek
> Objet: Re: sysfs_notify & poll
> À: kpa_i...@yahoo.fr
> Cc: kernelnewbies@nl.linux.org
> Date: Mercre
to hear it's working ;).
>
> Any idea ?
>
>
>
> --- En date de : Mer 7.1.09, Belisko Marek a écrit :
>
>> De: Belisko Marek
>> Objet: Re: sysfs_notify & poll
>> À: kpa_i...@yahoo.fr
>> Date: Mercredi 7 Janvier 2009, 15h46
>> Hi,
>>
>> O
from userspace
* to see if it supports poll (Nether 'poll' or 'select' return
* an appropriate error code). When in doubt, set a suitable timeout value.
*/
--- En date de : Mer 7.1.09, Belisko Marek a écrit :
> De: Belisko Marek
> Objet: Re: sysfs_notify &
o Marek a écrit :
> De: Belisko Marek
> Objet: Re: sysfs_notify & poll
> À: "PAtrick Gerber"
> Date: Mercredi 7 Janvier 2009, 13h59
> Hi,
>
> On Wed, Jan 7, 2009 at 1:54 PM, PAtrick Gerber
> wrote:
> > Ok thanks. Usefull example. But I have another
&g
images/pdf/LDD3/ch06.pdf )
>
> Thanks in advance
>
> --- En date de : Mer 7.1.09, Belisko Marek a écrit :
>
>> De: Belisko Marek
>> Objet: Re: sysfs_notify & poll
>> À: "PAtrick Gerber"
>> Date: Mercredi 7 Janvier 2009, 13h59
>> Hi,
>>
Hi,
On Wed, Jan 7, 2009 at 9:40 AM, PAtrick Gerber wrote:
> Hello,
>
> I would like to try to use sysfs_notify() / poll() mechanism from my driver
> to notify some events to my application. I'm looking for a tiny example
> showing the use of this mechanism.
>
> The dri
Hello,I would like to try to use sysfs_notify() / poll() mechanism from my
driver to notify some events to my application. I'm looking for a tiny example
showing the use of this mechanism. The driver side with sysfs_notify seems
quite simple but I have absolutely no idea about the applic