[Bug 1039261] Re: Xinput extension is too old

Chris Samuel chris at csamuel.org
Thu Oct 11 02:57:46 UTC 2012


It appears to be an X11 issue, the check itself is being done in libXi
via:

    state = libXi.XIQueryVersion(display, byref(major), byref(minor))

The libXi XIQueryVersion code is here:

http://cgit.freedesktop.org/xorg/lib/libXi/tree/src/XIQueryVersion.c

That code appears to result in either BadRequest in case of an internal
error, BadImplementation if it's the correct version or Success if all
is OK.  However, the Python code only checks for success and assumes
that any failure is a version problem (not that issue seems to be the
cause here).

Running synaptiks from a bash shell under xtrace shows:

[...]
000:<:0100:  8: XInputExtension-Request(131,47): XIQueryVersion major=2 minor=0
000:>:0100:Error 2=Value: major=131, minor=47, bad=2
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    131 (XInputExtension)
  Minor opcode: 47 ()
  Resource id:  0x2
[...]

So the X server is rejecting the version comparison.

Under 12.04 the transaction is different, in that the request is for a
minor version of 1, not 0:

000:<:0096:  8: XInputExtension-Request(141,47): XIQueryVersion major=2 minor=1
000:>:0096:32: Reply to XIQueryVersion: major=2 minor=1

Hope this helps!

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to synaptiks in Ubuntu.
https://bugs.launchpad.net/bugs/1039261

Title:
  Xinput extension is too old

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/synaptiks/+bug/1039261/+subscriptions




More information about the kubuntu-bugs mailing list