Re: Fw: [3.18.3] poll() on gpio pins broken

2015-03-09 Thread folkert
(or maybe make that selectable as well). POLLIN then says; we had a trigger, POLLERR the chip was removed (or POLLHUP?). Oh and please as low latency for the select()/poll() as possible :-) Folkert van Heusden -- You've probably gotten really fed up with never winning in the Mega- Millions lottery

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-02-19 Thread folkert
is that 'kernfs_get_active' is returning NULL immediately returning from the poll command and causing described behavior. http://lxr.free-electrons.com/source/fs/kernfs/file.c#L763 I think this looks plausible. Folkert what do you say about this? That looks indeed to be the current situation. It worked

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-01-31 Thread folkert
[0].revents POLLPRI)) { /* notify ntp */ { } Now with 3.18 I added an lseek before that read and all is fine. Folkert van Heusden -- -- To unsubscribe from this list: send the line unsubscribe linux-gpio in the body of a message to majord...@vger.kernel.org More

Re: Fw: [3.18.3] poll() on gpio pins broken

2015-01-31 Thread folkert
it! Great! Thanks! Folkert van Heusden -- MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti kroru, tya kon makandra, nanga wan lo moro. http://www.vanheusden.com/multitail