Hi Hirofumi,

On Thursday 27 September 2007, Hirofumi Momose wrote:
> Hello Laurent,
>
> Here, I traced driver with webcam application.
> I think uvc_vm_open/close does not correspond with mmap/unmap sys-calls.
>
> webcam(app): mmap()
>  -> uvc_v4l2_mmap()
>   -> uvc_vm_open() ... vma_use_count = 0->1
>
> webcam: munmap()
>  -> uvc_vm_open() ...  vma_use_count = 1->2
>  -> uvc_vm_close() ... vma_use_count = 2->1

Check that the start and length parameters given to munmap() are the same as 
the mmap() return value and length parameter. What are their values ?
>
> webcam: exit
>  -> uvc_vm_close() ... vma_use_count = 1->0
>
> My system is:
>  CPU ARM9
>  Kernel 2.6.22

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to