-----Original Message-----
From: Mahieu Brice [mailto:brice.mahieu@xxxxxxxxxxx]
Sent: Thursday, October 09, 2003 7:11 PM
To: video4linux-list@xxxxxxxxxx
Subject: bttv driver : ioctl VIDIOC_DQBUF doesn't return
hi,
We are using several bttv based capture cards in a single PC.
After several hours of recording, (we don't know exactly how many but
approximatly 10 to 20h ),
the call to
ioctl (fd, VIDIOC_DQBUF, &buf)
on one or several cards doesn't return.
Nothing appears in the logs.
Once a SIGUSR1 signal is sent to the thread, the VIDIOC_DQBUF
ioctl returns EINTR and the capture loop goes on normally (for another 10
to 20h).
Our *temporary-quick-and-dirty* solution is the following :
a "kill -USR1 threadpid" task is launched regularly to "unlock" the ioctl.
We are currently analysing the bttv driver.
If someone has already an idea about this bug ...
Thanks a lot
Laurent Pinchart &
Brice Mahieu.