Re: sysfs_notify & poll

2009-01-07 Thread PAtrick Gerber
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

Re: sysfs_notify & poll

2009-01-07 Thread PAtrick Gerber
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

Re: sysfs_notify & poll

2009-01-07 Thread Belisko Marek
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

Re: sysfs_notify & poll

2009-01-07 Thread PAtrick Gerber
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 &

Re: sysfs_notify & poll

2009-01-07 Thread PAtrick Gerber
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

Re: sysfs_notify & poll

2009-01-07 Thread Belisko Marek
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, >>

Re: sysfs_notify & poll

2009-01-07 Thread Belisko Marek
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

sysfs_notify & poll

2009-01-07 Thread PAtrick Gerber
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