Hi, I developed a v4l2 driver for my PCI framegrabber and I need to use it in my real-time applications. I think I need to write a new one with real-time constrainments. But I'm not sure of which API would be the best one for this kind of driver.
I know about existence of RTDM, but I'm not sure if it is the best choice... Let me explain how the driver works. It initializes the board with some PCI writes on startup. It's passed to the kernel the parameter "mem=510M" reserving 2Mb for use with the framegrabber through DMA access. I need a continuous physic memory area and I can't get it through kmalloc or similar functions. I map this memory in my programs in user space. So, I basically need to write and read from PCI registers in the drive. But I don't know if it should be better to develop the driver using some existing API or not because I didn't find any API that applies to framegrabbers like v4l does on Linux domain... Please, what do you suggest about the design of my driver? Thanks, Rodrigo. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html