Eu tenho usado o Ubuntu no meu Surface Pro 2 por alguns anos (desde 14.04), e ele está funcionando muito bem agora com o 16.04, (kernel 4.3+). No entanto, uma coisa que realmente me incomoda é o botão do trackpad.
- toque para clicar (em qualquer lugar do bloco) funciona bem
- pressionar o botão de clique físico exibe a sobreposição abaixo. Alguns aplicativos (por exemplo, nautilus, firefox, sublimetext) registram o clique e o clique funciona bem (apesar da sobreposição). Outros aplicativos (por exemplo, gimp) simplesmente não respondem ao clique (mas responda ao toque)
- clicar e arrastar também ativa a mesma sobreposição e funciona em alguns aplicativos (por exemplo, nautilus, firefox, sublimetext), mas novamente completamente ignorado em outros (por exemplo, gimp).
- toque duas vezes (em qualquer lugar do bloco) segure e arraste não funciona (não clique e arraste) em qualquer situação
- scroll de dois dedos funciona bem
- Eu não tenho uma guia do touchpad em Configurações > Mouse & amp; Touchpad
- Estou usando o desktop gnome 3
Eu carreguei um mouse comigo por anos, só para poder fazer simples clique e arrasto no gimp, mas eu tinha o suficiente! o que esta sobreposição significa? como posso clicar e arrastar no gimp com este trackpad?
UPDATE: No xinput --test, vi que o botão do touchpad também envia um evento-chave. Como posso evitar isso?
uname-a
LinuxMSA-SP2-UBUNTU4.10.0-40-generic#44~16.04.1-UbuntuSMPThuNov915:37:44UTC2017x86_64x86_64x86_64GNU/Linux
xinput
⎡Virtualcorepointerid=2[masterpointer(3)]⎜↳VirtualcoreXTESTpointerid=4[slavepointer(2)]⎜↳MICROSOFTSAMid=9[slavepointer(2)]⎜↳MICROSOFTSAMid=10[slavepointer(2)]⎜↳AtmelAtmelmaXTouchDigitizerid=11[slavepointer(2)]⎣Virtualcorekeyboardid=3[masterkeyboard(2)]↳VirtualcoreXTESTkeyboardid=5[slavekeyboard(3)]↳PowerButtonid=6[slavekeyboard(3)]↳VideoBusid=7[slavekeyboard(3)]↳PowerButtonid=8[slavekeyboard(3)]↳FrontLifeCamid=12[slavekeyboard(3)]↳RearLifeCamid=13[slavekeyboard(3)]
xinput-teste10
keyrelease36motiona[0]=483a[1]=646motiona[0]=480a[1]=647motiona[0]=478a[1]=648motiona[0]=475a[1]=649motiona[0]=473a[1]=650motiona[0]=467a[1]=644motiona[0]=468a[1]=643motiona[1]=642motiona[1]=641#tappingbuttonpress1buttonrelease1motiona[0]=467motiona[0]=466motiona[0]=465#clickingtouchpadbuttonkeypress201buttonpress1keyrelease201#releasingtouchpadbuttonbuttonrelease1motiona[0]=463motiona[0]=462
xinput--watch-props10
Device'MICROSOFTSAM':DeviceEnabled(139):1CoordinateTransformationMatrix(141):1.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,1.000000DeviceAccelProfile(267):0DeviceAccelConstantDeceleration(268):1.000000DeviceAccelAdaptiveDeceleration(269):1.000000DeviceAccelVelocityScaling(270):10.000000DeviceProductID(259):1118,1961DeviceNode(260):"/dev/input/event5"
Evdev Axis Inversion (271): 0, 0
Evdev Axes Swap (273): 0
Axis Labels (274): "Rel X" (149), "Rel Y" (150), "Rel Horiz Wheel" (292), "Rel Dial" (293), "Rel Vert Wheel" (294)
Button Labels (275): "Button Left" (142), "Button Middle" (143), "Button Right" (144), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148), "Button Side" (290), "Button Extra" (291), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262)
Evdev Scrolling Distance (276): 1, 1, 1
Evdev Middle Button Emulation (277): 0
Evdev Middle Button Timeout (278): 50
Evdev Middle Button Button (279): 2
Evdev Third Button Emulation (280): 0
Evdev Third Button Emulation Timeout (281): 1000
Evdev Third Button Emulation Button (282): 3
Evdev Third Button Emulation Threshold (283): 20
Evdev Wheel Emulation (284): 0
Evdev Wheel Emulation Axes (285): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (286): 10
Evdev Wheel Emulation Timeout (287): 200
Evdev Wheel Emulation Button (288): 4
Evdev Drag Lock Buttons (289): 0
cat / proc / bus / entrada / dispositivos
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=21
B: SW=1
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0003 Vendor=045e Product=07a9 Version=0111
N: Name="MICROSOFT SAM"
P: Phys=usb-0000:00:14.0-3/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1/0003:045E:07A9.0002/input/input3
U: Uniq=0.1.0000
H: Handlers=sysrq kbd mouse0 event3
B: PROP=0
B: EV=10001f
B: KEY=c03 30001 0 300000000000000 200e800000000000 100000020000000
B: REL=3
B: ABS=1000003
B: MSC=10
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0
I: Bus=0003 Vendor=045e Product=07a9 Version=0111
N: Name="MICROSOFT SAM"
P: Phys=usb-0000:00:14.0-3/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/0003:045E:07A9.0003/input/input5
U: Uniq=0.1.0000
H: Handlers=sysrq kbd mouse1 event5 leds
B: PROP=0
B: EV=12001f
B: KEY=3f0003007f 0 0 483ffff17aff32d bf54444600000000 1f0001 130f938b17c007 ffe77bfad9415fff febeffdff3cfffff fffffffffffffffe
B: REL=1c3
B: ABS=ffffff0100000000
B: MSC=10
B: LED=7
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card1/input6
U: Uniq=
H: Handlers=event6
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card1/input7
U: Uniq=
H: Handlers=event7
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input9
U: Uniq=
H: Handlers=event9
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HDMI HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:03.0/sound/card0/input10
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0003 Vendor=03eb Product=8209 Version=0111
N: Name="Atmel Atmel maXTouch Digitizer"
P: Phys=usb-0000:00:14.0-4/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/0003:03EB:8209.0004/input/input11
U: Uniq=
H: Handlers=mouse2 event11
B: PROP=2
B: EV=b
B: KEY=400 0 0 0 0 0
B: ABS=3273800000000003
I: Bus=0003 Vendor=045e Product=0794 Version=0306
N: Name="Front LifeCam"
P: Phys=usb-0000:00:14.0-5/button
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/input/input12
U: Uniq=
H: Handlers=kbd event12
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0003 Vendor=045e Product=0795 Version=0307
N: Name="Rear LifeCam"
P: Phys=usb-0000:00:14.0-6/button
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input13
U: Uniq=
H: Handlers=kbd event13
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0