Public bug reported:

Binary package hint: libxi6

The "xinput" command-line tool is used here to access the libXi API. It
fails to switch the X core pointer device, eventually using the
"XChangePointerDevice" function. For that purpose, I have attached two
two mice devices which are correctly detected and reported:

$ xinput --list --short

"Virtual core keyboard" id=0    [XKeyboard]
"Virtual core pointer"  id=1    [XPointer]
"mouse-1"    id=2    [XExtensionPointer]
"mouse-2"  id=3    [XExtensionPointer]
"keyboard"      id=4    [XExtensionKeyboard]

When I try to change the core pointer, first quoting "mouse-1", then
"mouse-2" (one of these must be an extension device!):

$ xinput --set-pointer "mouse-1"
$ xinput --set-pointer "mouse-2"

Both of these calls fail with the following ERROR:

X Error of failed request:  BadDevice, invalid or uninitialized input device
  Major opcode of failed request:  149 (XInputExtension)
  Minor opcode of failed request:  12 (X_ChangePointerDevice)
  Serial number of failed request:  12
  Current serial number in output stream:  12

---

# lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04

# apt-cache policy libxi6
libxi6:
  Installed: 2:1.1.3-1
  Candidate: 2:1.1.3-1
  Version table:
 *** 2:1.1.3-1 0

** Affects: libxi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
XChangePointerDevice fails with Error
https://bugs.launchpad.net/bugs/241024
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to