Unable to initialize camera (via mmap interface)

2007-12-12 Thread Peter Krenesky
Hi all, I'm trying to initialize the camera device and running into some errors. I'm attempting to use the mmap interface initialized by VIDIOCGMBUF ioctl. the ioctl is returning -1 and errno is 22. Is VIDIOCGMBUF/mmap even supported by the driver/device? If so, any ideas on what can be g

Re: Unable to initialize camera (via mmap interface)

2007-12-13 Thread Dan Williams
On Wed, 2007-12-12 at 16:03 -0800, Peter Krenesky wrote: > Hi all, > > I'm trying to initialize the camera device and running into some > errors. I'm attempting to use the mmap interface initialized by > VIDIOCGMBUF ioctl. the ioctl is returning -1 and errno is 22. > > Is VIDIOCGMBUF/mmap ev

Re: Unable to initialize camera (via mmap interface)

2007-12-13 Thread Jonathan Corbet
> I'm trying to initialize the camera device and running into some > errors. I'm attempting to use the mmap interface initialized by > VIDIOCGMBUF ioctl. the ioctl is returning -1 and errno is 22. The problem, almost certainly, is that VIDIOCGMBUF is a V4L1 command, while the camera driver im