← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 523890] [NEW] XInput2 not separating Synaptics touchkey events from trackpad & trackpoint

 

Public bug reported:

Binary package hint: xinput

Hello,

I got an HP 6910p with a Synaptics combo trackpoint and trackpad.

Thanks to the XInput2 we can split the trackpad and the trackpoint to
get two cursors. But there is a problem (exact location in the code to
be clarified: xinput or synaptics), the event sent at xinput level for
the mouse keys are send thru the same master pointer (either if it is on
the pad or on the trackpoint area).


Here is the sequence :

xinput create-master Test
xinput list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ "SynPS/2 Synaptics TouchPad"            	id=10	[slave  pointer  (2)]
⎜   ↳ "PS/2 Generic Mouse"                    	id=11	[slave  pointer  (2)]
⎜   ↳ "Macintosh mouse button emulation"      	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ "Power Button"                          	id=6	[slave  keyboard (3)]
    ↳ "Video Bus"                             	id=7	[slave  keyboard (3)]
    ↳ "Sleep Button"                          	id=8	[slave  keyboard (3)]
    ↳ "AT Translated Set 2 keyboard"          	id=9	[slave  keyboard (3)]
⎡ Test pointer                            	id=13	[master pointer  (14)]
⎜   ↳ Test XTEST pointer                      	id=15	[slave  pointer  (13)]
⎣ Test keyboard                           	id=14	[master keyboard (13)]
    ↳ Test XTEST keyboard                     	id=16	[slave  keyboard (14)]

xinput reattach 11 13

At this point you have two pointer :)

But buttons are not matching :

xinput test-xi2
when clicking on left button of the trackpoint :
EVENT type 15
    device: 2
    detail: 1
    valuators:
when clicking on left button of the trackpad :
EVENT type 15
    device: 2
    detail: 1
    valuators:

As a result the trackpoint cursor is unsable as you never get buttons
"click" event ;-)

Here is the grep on dmesg for Synaptics :

[   18.581318] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x2580b1, caps: 0xa04793/0x300000
[   18.581323] serio: Synaptics pass-through port at isa0060/serio4/input0
[   18.623137] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input8

ProblemType: Bug
Architecture: amd64
Date: Thu Feb 18 16:36:10 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: xinput 1.5.0-2
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
SourcePackage: xinput
Uname: Linux 2.6.32-13-generic x86_64

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


** Tags: amd64 apport-bug lucid

-- 
XInput2 not separating Synaptics touchkey events from trackpad & trackpoint
https://bugs.launchpad.net/bugs/523890
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xinput in ubuntu.



Follow ups

References