Re: v4l trouble with xfree 4.0.2

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



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;





[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