Andreas,

   Would this be for using X shared memory segments with the uvcdriver ? 

Adrian


----- Original Message ----
From: Andreas Auer <a.a...@zydacron.com>
To: linux-uvc-de...@lists.berlios.dea
Sent: Fri, 28 May, 2010 12:08:19
Subject: [Linux-uvc-devel] UVC userpointer  streaming (memory mapping)

Hi,

I'm trying to get user pointer streaming with UVC webcams working. I already 
got a patch from Laurent Pinchart (thanks) which enables user pointer 
streaming. This patch works if I pass malloc()'d memory to the driver.
My problem is that I want to use mmap()'d memory (via /dev/mem) and this type 
of memory (flags VM_IO and VM_PFNMAP are set) is not supported to be used with 
get_user_pages to map the memory to the kernel space.

So, is there another way to map the pages into the kernel space to be used for 
user pointer streaming?? I had a look at kmap (kmap_atomic)... would this be 
possible??

Thanks,
Andreas

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel



      
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to