nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: custom calls to driver
From: Alex Holden
Date: Fri, 20 Oct 2000 19:01:53 +0100 (GMT)

On Fri, 20 Oct 2000, David Erickson wrote:
> I've just finished porting Microwindows to an r&d cable set-top box. You

Cool. Is this something likely to make it into production?

> Because I'm overlaying microwindows on the tv picture, I have some special
> needs. My apps need to make some custom calls to the video card, and the
> driver has the necessary handles and pointers. I need something like an
> ioctl call where I can define my own control codes and pass some custom
> data. 

Can't you just extend your framebuffer driver to allow multiple open()s?
ie. only one process is allowed to mmap() it at a time, but anything can
do ioctl()s to play with the settings and stuff...

-- 
--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------


nanogui@linuxhacker.org