[mythtv] Re:[PATCH] Re: ivtv settings patch (revisited)

Geoffrey Hausheer ou401cru02 at sneakemail.com
Wed Sep 24 00:20:56 EDT 2003


On Tue, 23 Sep 2003 23:44:49 -0400, "Vinton Coffman
vintonc-at-redzone.com |mythtv/1.0-Allow|" <661whj4npx0t at sneakemail.com>
said:
> I get this error all the time too.  My system uses 2 pvr-250's, one rev 
> 1 and one rev 2.
here is a crude test...
put the following code in a file, compile and run it, making sure to use
the same videodev2.h that was used to compile ivtv (either from your
kernel or from ivtv/drivers/videodev2.h).  There is probably a way to
determine the value of the IOCTL via inspection, but I got lost trying,
and this was eaiser.

That should return 4008561c

.Geoff

------------
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include "videodev2.h"

int main()
{
    printf("0x%08x\n",VIDIOC_S_CTRL);
    return 0;
}


More information about the mythtv-dev mailing list