Hi,
I've connected a IR camera (the regular rpi camera board sold without the ir filter) to a model b (the one with 512MB ram and ethernet). I've installed the latest kernel (3.10.27+) with the video4linux2 driver.
When I run "koudevoeten" (http://www.vanheusden.com/koudevoeten/), things work fine but then after a couple of minutes of being idle (see below), the image becomes almost(!) black (almost: I vaguely see the leds of the RPI itself). Closing and reopening the device solves this (e.g. restarting the application).
A logical first reaction would be: koudevoeten is broken. I don't think that is the case as it all works fine on other Linux systems. I have for example a webcam at my frontdoor running for months (it could've been longer without power drops) without any hickups (asus eee laptop with external usb webcam).
What the program does is:
- open the video device
- configure it (e.g. resolution (1920x1080), pixel encoding (YUYV), streaming capture, frame retrieval via mmap)
- loop forever executing VIDIOC_DQBUF, copying the data (if there are any clients connected) and then invoking VIDIOC_QBUF
So even if it is idle, it will execute VIDIOC_(D)QBUF, it will just not memcpy the mmap contents elsewhere.
Any ideas?