Bilko AS, Oguz Dilmac odilmac at bilko-automation.com
Mon Oct 26 02:55:07 PDT 2009


I need xf86-input-dmc driver to use a DMC 15" touch screen.

I tried to get the driver from "xorg/driver/xf86-input-dmc" via git. But I
couldn't compile it.

This is what I get when I run ./autogen.sh

root at Microknoppix:/home/knoppix/Desktop/dmcdnm/xf86-input-dmc# ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
configure: error:
              This driver is unmaintained and will not receive further
              patches. If you have a need for this driver, please file a bug
              on http://bugs.freedesktop.org.

There is no Makefile generated.

Then I tried to make my own Makefile and compiled it. But I get this error
message in Xorg.0.log
(II) LoadModule: "dmc"
(II) Loading /usr/lib/xorg/modules/input//dmc_drv.so
(EE) LoadModule: Module dmc does not have a dmcModuleData data object.
(II) UnloadModule: "dmc"
(II) Unloading /usr/lib/xorg/modules/input//dmc_drv.so
(EE) Failed to load module "dmc" (invalid module, 0)

This is my Makefile:
RM      = @rm -rf
JUNK	= *~ *.bak DEADJOE

INCLUDE +=-I/usr/include/X11/
INCLUDE +=-I/usr/include/xorg/
INCLUDE +=-I/usr/include/pixman-1/

PWD	:= $(shell pwd)

	$(CC) -c -fPIC -Wall xf86DMC.c $(INCLUDE) -o dmc_obj.o
	$(CC) -shared -Wl,-soname,libdmc_drv.so.1 -o dmc_drv.so dmc_obj.o

	rm -f *.o *.ko

distclean: clean
	$(RM) $(JUNK) $(OBJS)

	$(MAKE) -C $(KDIR) M=$(PWD) help

#include $(RTL_DIR)/Rules.make

What do you suggest?
What am I doing wrong?

Best regards,
Oguz Dilmac

Oguz Dilmac
ARGE Bolumu

Bilko AS, R&D Department
Perpa Ticaret Merkezi B Blok Kat 13 Nr. 2568
TR-34384 Okmeydani Istanbul Turkey
Tel : +90 212 220 07 40  Fax :   +90 212 210 47 01
e-mail : odilmac at bilko-automation.com
web site : http://www.bilko-automation.com

More information about the xorg-devel mailing list