A silly thought, but is /dev/video a directory and /dev/video0 the device you want?


Ottavio Campana wrote:


On Thu, Mar 27, 2003 at 02:12:54PM -0700, Steve Miller wrote:


MAP_SHARED requires the file to be writeable, you've opened it as read only.



changing the source to:


fd=open("/dev/video",O_RDWR);

doesn't make it works. I always have got the same problem....

When I run it I get "mmap:  Invalid argument" and then segfault. What is
invalid for mmap?

Thank you.






-- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to