Hi Rob

Thanks Duncan.  I was looking at a very similar problem last night,
using the set format ioctl.  This was silently killing the driver,
resulting in 0 byte captures on every attempt after the call until the
driver was reloaded.  It drove me nuts tracking it down to the setfmt()
call.  I'll fix getfmt() and see if the two problems are related.

-Rob

You may find that these patches will help with the ivtv driver:

ivtv-0.3.7k-r1.patch fixes a bug with the querymenu ioctl command (not relevant for setfmt) ivtv-0.3.7k-debug.patch adds printk messages showing how the ioctl is being called. ivtv_debug=16 (bitmapped so ivtv_debug=255 prints everything. v4l-test.tar.bz2 contains a small test program hacked from xawtv's v4l-info program.

Cheers,
Duncan

Attachment: ivtv-0.3.7k-debug.patch
Description: Binary data

Attachment: v4l-test.tar.bz2
Description: Binary data

Attachment: ivtv-0.3.7k-r1.patch
Description: Binary data

Reply via email to