Chris Nuernberger wrote: > Actually Gerd, I just though of something. Could the v4l2 use shared memory > instead of mapped memory (I know that shared memory is mapped, I need the > shmid)? > > I mean, the X system call to map the memory to the server takes (basically) > just a shared memory ID from shmget. Could I get an ID from the driver to > both get access to the memory and pass to X? That would solve all problems; But it doesn't solve mine. The point is that bttv must do the memory allocation to make sure it can reach those pages with DMA. Whenever the application allocates memory with shm*() or malloc() makes no difference for the driver, in both cases it has no control. Gerd -- #include </dev/tty>