xorg driver hook?

Aivils Stoss aivils at latnet.lv
Mon Apr 24 02:18:53 PDT 2006


On Svētdiena, 23. Aprīlis 2006 23:24, Michael Frey wrote:
> Can someone tell me the best way for a userspace program to
> communicate to an Xorg display driver module?
>
> For example I want to tell the driver when to turn on / off the
> Hardware cursor for a given display.

Why do You think X driver need a hook? Create Your own API and
protocol.

You can check out generic control protocol:
http://www.ltn.lv/~aivils/files/xdevice-0.01.tar.bz2

Important for You are
entity.c
entity.h
xentityext.h
xentityproto.h

Documentation is not ready yet, because of lack of interest, but
this is fully working implementation. This one includes xdevice
and xmodule as sample applications.

Aivils Stoss



More information about the xorg mailing list