[Bug 159968] [NEW] ButtonPress and ButtonRelease of button 4 are generated by left click of synaptic touch pad

Launchpad Bug Tracker 159968 at bugs.launchpad.net
Wed Aug 18 20:14:42 UTC 2010


You have been subscribed to a public bug:

I have Xnote C1 which has synaptic touchpad with two buttons - left and
right button.  Left button acts like scroll down button and right button
acts like scroll button of mouse.  screen is scrolled down on pressing
left button and  is scrolled up on pressing right button.

xev prints the following message when click left button:

ButtonPress event, serial 31, synthetic NO, window 0x3800001,
    root 0x1a5, subw 0x0, time 180885017, (53,85), root:(872,643),
    state 0x0, button 4, same_screen YES

ButtonPress event, serial 31, synthetic NO, window 0x3800001,
    root 0x1a5, subw 0x0, time 180885092, (53,85), root:(872,643),
    state 0x800, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x3800001,
    root 0x1a5, subw 0x0, time 180885153, (53,85), root:(872,643),
    state 0x900, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x3800001,
    root 0x1a5, subw 0x0, time 180885153, (53,85), root:(872,643),
    state 0x800, button 4, same_screen YES


the following message comes from /proc/bus/input/devices:

I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=mouse0 event0 
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: EV=120013
B: KEY=402000000 3802078f840d001 feffffdfffefffff fbfffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 event2 
B: EV=b
B: KEY=6420 70003 0 0 0 0
B: ABS=11000003

I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=button_power/button/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=event4 
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button (CM)"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/class/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: EV=3
B: KEY=4000 0 0

synaptic touchpad is configured like the bellow in /etc/X11/xorg.conf:

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"	"auto-dev"
	Option		"HorizEdgeScroll"	"0"
	Option		"SHMConfig"	"on"
EndSection

** Affects: linux (Ubuntu)
     Importance: Low
     Assignee: Pascal De Vuyst (pascal-devuyst)
         Status: Incomplete

-- 
ButtonPress and ButtonRelease of button 4 are generated by left click of synaptic touch pad
https://bugs.edge.launchpad.net/bugs/159968
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list