Re: Using MMAP calls on a video capture device having underlying NOMMU arch

2012-09-12 Thread Scott Jiang
Now, I see that the requested videobuffers are correctly allocated via 'vb2_dma_contig_alloc' call (see [3] for reference). But the MMAP call fails in 'vb2_dma_contig_alloc' function in mm/nommu.c (see [4] for reference) when it tries to make the following check: if (addr !=

RE: Using MMAP calls on a video capture device having underlying NOMMU arch

2012-09-12 Thread Bhupesh SHARMA
...@blackfin.uclinux.org Subject: Re: Using MMAP calls on a video capture device having underlying NOMMU arch Now, I see that the requested videobuffers are correctly allocated via 'vb2_dma_contig_alloc' call (see [3] for reference). But the MMAP call fails in 'vb2_dma_contig_alloc' function

Using MMAP calls on a video capture device having underlying NOMMU arch

2012-09-07 Thread Bhupesh SHARMA
Hi, I have been trying recently to make a usb-based-webcam device to work with Linux. The entire scheme is a bit complex: UVC gadget --User Pointer-- User-Space Daemon -- MMAP -- V4L2 capture device. The UVC gadget is internally a v4l2 based device supporting VB2_VMALLOC operations, whereas