the problem of xinput

liming cheng lmcheng3 at gmail.com
Fri Jun 19 07:56:17 PDT 2009


I started mpx with the command "start -- /var/tmp/modular/bin/Xorg",then I
entered Graphical interface.After that I run the program part1 and part2,the
result of program part1 is as follows: XI2 supported. Server provides
version 2.0,and the result of program part2 :
XI2 supported. Server provides version 2.0.
'Virtual core pointer' (2)
 - is a master pointer
 - current pairing/attachment: 3
'Virtual core keyboard' (3)
 - is a master keyboard
 - current pairing/attachment: 2
'Virtual core Xtst pointer' (4)
 - is a slave pointer
 - current pairing/attachment: 2
'Virtual core Xtst keyboard' (5)
 - is a slave keyboard
 - current pairing/attachment: 3
'Keyboard0' (6)
 - is a slave keyboard
 - current pairing/attachment: 3
'Keyboard1' (7)
 - is a slave keyboard
 - current pairing/attachment: 3
'Dell Dell USB Keyboard' (8)
 - is a slave keyboard
 - current pairing/attachment: 3
'Macintosh mouse button emulation' (9)
 - is a slave pointer
 - current pairing/attachment: 2
'USB Optical Mouse' (10)
 - is a slave pointer
 - current pairing/attachment: 2
'Logitech Optical USB Mouse' (11)
 - is a slave pointer
 - current pairing/attachment: 2
'My new master pointer' (12)
 - is a master pointer
 - current pairing/attachment: 13
'My new master keyboard' (13)
 - is a master keyboard
 - current pairing/attachment: 12
'My new master Xtst pointer' (14)
 - is a slave pointer
 - current pairing/attachment: 12
'My new master Xtst keyboard' (15)
 - is a slave keyboard
 - current pairing/attachment: 13
'My new master pointer' (17)
 - is a master pointer
 - current pairing/attachment: 18
'My new master keyboard' (18)
 - is a master keyboard
 - current pairing/attachment: 17
'My new master Xtst pointer' (19)
 - is a slave pointer
 - current pairing/attachment: 17
'My new master Xtst keyboard' (20)
 - is a slave keyboard
 - current pairing/attachment: 18
Waiting for a hierarchy event now.
I got bored with waiting. Moving on.

By accident I found two cursor on the screen,I didn'n know when the second
cursor come out.But I cann't control it.I was told to use the xinput commod
xinput --list --short
xinput --create-master "foobar"
xinput --reattach "MyMouse" "foobar pointer"
xinput --reattach "MyKeyboard" "foobar keyboard"
I have update my xinput from  git://
anongit.freedesktop.org/git/xorg/app/xinput,but I couldn't use
"--create-master" and "--reattach" options,either,why??
Any help will be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090619/48e75993/attachment.html>


More information about the xorg mailing list