GPIO poll problem - Raspberry Pi Forums
hi,
2 years ago made program in c count incoming pulses on gpio pin.
used poll function (with sysfs gpio) wait pulse, every thing worked fine more 1000 pules per second.
when try same program on new raspberry pi 2 not work.
still work on original pi b(256/512 mb) kernel 3.14 , lower(or @ least raspbian kernel version). if use newer kernel program uses 100% cpu time , if debug program poll waits first event after first 1 keeps returning(without error).
there change in gpio sysfs driver or so?
thanks
2 years ago made program in c count incoming pulses on gpio pin.
used poll function (with sysfs gpio) wait pulse, every thing worked fine more 1000 pules per second.
when try same program on new raspberry pi 2 not work.
still work on original pi b(256/512 mb) kernel 3.14 , lower(or @ least raspbian kernel version). if use newer kernel program uses 100% cpu time , if debug program poll waits first event after first 1 keeps returning(without error).
there change in gpio sysfs driver or so?
thanks
has no 1 clue?
raspberrypi
Comments
Post a Comment