Re: v4l trouble with xfree 4.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hmm. OK, I gave v4l-conf suid root, which gives me overlay support, but 
I still get this error message:

> xawtv
This is xawtv-3.30, running on Linux/i686 (2.4.0)
  image format list for port 58
    0x32595559 (YUY2) packed
    0x32315659 (YV12) planar
    0x30323449 (I420) planar
    0x59565955 (UYVY) packed
Xv: using port 58 for hw scaling
x11: 1600x1200, 16 bit/pixel, 3200 byte/scanline, DGA
/dev/video: ioctl VIDIOCSFBUF: Operation not permitted
v4l-conf had some trouble, trying to continue anyway
/dev/video: ioctl VIDIOCSFBUF: Operation not permitted
v4l-conf had some trouble, trying to continue anyway
v4l: 1600x1200, 16 bit/pixel, 3200 byte/scanline
wmhooks: netwm
Warning: Cannot convert string 
"-*-ledfixed-medium-r-semicondensed--39-*" to type FontStruct 

chmod 777 /dev/video* didn't help.

On Sunday 14 January 2001 12:54 pm, you wrote:
> Brian Hall wrote:
> > I finally got my G400 to give me 3D support, now my next problem is
> > figuring out why I have no overlay support for xawtv:
> >
> > /dev/video: ioctl VIDIOCSFBUF: Operation not permitted
>
> Here is the problem.
>
>   Gerd
>
> ----------------------- cut here -----------------------
> --- v4l-conf.c~	Sat Jan 13 14:02:52 2001
> +++ v4l-conf.c	Sun Jan 14 20:51:04 2001
> @@ -331,6 +331,10 @@
>
>      if (-1 == ioctl(fd,VIDIOCSFBUF,&fbuf)) {
>  	fprintf(stderr,"%s: ioctl VIDIOCSFBUF:
> %s\n",video,strerror(errno)); +	if (EPERM == errno  &&  0 !=
> geteuid())
> +	    fprintf(stderr,
> +		    "v4l-conf: You should install me suid root, I need\n"
> +		    "          root priviliges for the VIDIOCSFBUF ioctl.\n");
>  	exit(1);
>      }
>      return 0;

-- 

http://www.bigfoot.com/~brihall
Linux Consultant

Do NOT look into laser with remaining eyeball!





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux