I am trying to developing the HVR900h (happauge) driver on analog
side in linux. For this I have downloaded
latest code & a V3.6 firmware file. To test existing driver code as
how far it could go. Taking help
from V4l2 wiki I have written a small application that should able to
read buffers
Small user space application that I have written
seeme to work up to initialization
Ie all ioctls calls are okay
VIDIOC_STREAMON also runs okay
Now come to point of trying to run
VIDIOC_DQBUF.
Here comes the problem. The IOCTL calls return ENGAIN( in case I open
device in non-blocking mode)
Or it will remain blocked if I open device in blocking mode
The above error suggest buffer not ready or something. Does that means
no data is received dispte putting STREAMON ioctl successful
The Kernel logs show IOCTL call give below said error messages. Below
is snap shot
Dec 8 05:22:35 gagan-laptop kernel: [13486.972440] vbuf: dqbuf:
next_buffer error: -11
Dec 8 05:22:35 gagan-laptop kernel: [13486.972447] vbuf: next_buffer:
no buffers to dequeue
Dec 8 05:22:35 gagan-laptop kernel: [13486.972448] vbuf: dqbuf:
next_buffer error: -11
What linux chaps thinks ,could be the issue. Please share your views
as how to go about from here