I see.  Someone will need to port keyboard input to Xkb.  Since I don't
use this feature of the driver, I just disabled it in configure.in (see
the attached patch).

Tom

Andy Neitzke wrote:
> On Friday 19 June 2009 5:48:26 pm Andy Neitzke wrote:
>>> This is the patch that I've been using.  Notice that there are still a
>>> few TODO comments where I wasn't sure how the wacom driver's axes
>>> correspond to the axis names defined in xorg/xserver-properties.h.
>> Thanks for posting that!
>>
>> For some reason, it's not working properly for me:  if I start xorg with
>> the linuxwacom driver installed, I get a black screen (except for a cursor
>> _ at the upper left).  The machine doesn't respond to any keyboard or mouse
>> input but it is still running (I can ssh into it just fine).
> 
> Now I understand the problem a bit better:  Xorg is actually failing, with 
> the 
> error
> 
> /usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/input/wacom_drv.so: 
> undefined symbol: InitKeyClassDeviceStruct
> 
> It looks to me as if this function was removed from input.h in xorg-server 
> commit 08363c5830bdea34012dcd954b45ccfdc79a3a7e ("Input: Overhaul keyboard 
> initialisation process").
> 
> -Andy
> 

--- wacom-tools-0.8.3.2.orig/linuxwacom/configure.in
+++ wacom-tools-0.8.3.2/linuxwacom/configure.in
@@ -306,25 +306,6 @@
 	fi
 	if test "$WCM_ENV_XFREE86" = "yes"; then
 		WCM_XDRIVER_QUIRKS="$WCM_XDRIVER_QUIRKS libc-wrapper"
-
-		dnl Xfree86 > 4.2 support sending keyevents
-		AC_MSG_CHECKING([if XFree86 support sending keys])
-		save_CFLAGS="$CFLAGS"
-		CFLAGS="-I$WCM_XFREE86_DIR $CFLAGS"
-		AC_TRY_COMPILE([
-#include <programs/Xserver/hw/xfree86/xf86Version.h>
-#if XF86_VERSION_CURRENT < XF86_VERSION_NUMERIC(4, 3, 0, 0, 0)
-# error "XFree86 < 4.3 doesn't support sending keys"
-#endif
-], , [WCM_SEND_KEYS=yes], [WCM_SEND_KEYS=no])
-		CFLAGS="$save_CFLAGS"
-		AC_MSG_RESULT($WCM_SEND_KEYS)
-		if test "$WCM_SEND_KEYS" = "yes"; then
-			WCM_XDRIVER_QUIRKS="$WCM_XDRIVER_QUIRKS key-events"
-			AC_DEFINE(WCM_KEY_SENDING_SUPPORT, 1,
-				[The X-driver can send key events for a button])
-		fi
-
 		dnl Only Xorg has progressed >= 1.0
 		AC_DEFINE(WCM_XINPUTABI_MAJOR, 0,
 			[Slightly diffent abi in XINPUT >= 1.0])
@@ -484,9 +465,6 @@
 				[IsXExtensionPointer is only defined in later X.org releases])
 		fi
 
-		dnl All X.org versions support sending key-events
-		AC_DEFINE(WCM_KEY_SENDING_SUPPORT, 1,
-			[The X-driver can send key events for a button])
 		WCM_XDRIVER_QUIRKS="$WCM_XDRIVER_QUIRKS key-events"
 
 		AC_MSG_CHECKING([if Xorg SDK defines dixScreenOrigins])
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to