> > For the kernel-buffer case you'd have call VIDIOC_REQBUFS first, > > then mmap() the memory. Then call VIDIOC_QUERYBUF, and the driver > > will fill the pointers in v4l2_buffer. > > The driver only has kernelspace addresses. It can't fill in a userspace > pointer. It doesn't know what mmap() returned. Wrong. You can get it from vma->vm_start in file_operations->mmap(). Gerd -- Get back there in front of the computer NOW. Christmas can wait. -- Linus "the Grinch" Torvalds, 24 Dec 2000 on linux-kernel