Web lists-archives.org

Re: Question about saa7115




On Fri, 8 Feb 2008 18:27:19 -0800
"Guillaume Quintard" <guillaume.quintard@xxxxxxxxx> wrote:

> thank you for your answers, I think I have a better understanding of
> what's happenning.
> still, Imade a little test to be sure, and it didn't return what I expected
> 
> I added a print_test function (printk something then return 0) to
> vivi.c, and pointed .ioctl (in the file_operations structure) to that
> function, and started this :
> int main(int argc, char *argv[])
> {
>         int err;
>         struct v4l2_capability cap;
>         int fd = open("/dev/video0", O_RDWR );
>         err = ioctl(fd, VIDIOC_QUERYCAP, &cap);
>         return 0;
> }
> (consider required includes done)
> 
> vivi tells me the device is opened, closed (yeah, I know, I should
> have coded the close instruction) but nothing between those two, did I
> missed something, such as the fact that vivi doesn't respond to ioctl
> ?

Vivi will show all ioctls called, if you use debug=3.
> 
> regards
> 




Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list