Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-10 Thread Alex Smith
Hi,

I am experiencing a similar problem as Gianluigi on my Lenovo X1 Extreme
Gen 2
running Debian Testing with Gnome where touchpad click is non-responsive
while
running kernel 5.10.

There is no response whatsoever to clicking the touchpad, and the pointer
does
not respond when one finger taps and holds or clicks and holds and another
finger drags across the touch pad.


The kernel packages and versions used:

5.9.0-5-amd64 #1 SMP Debian 5.9.15-1 (2020-12-17)
5.10.0-1-amd64 #1 SMP Debian 5.10.4-1 (2020-12-31)


Xorg log (5.9):

[36.185] (II) config/udev: Adding input device SynPS/2 Synaptics
TouchPad (/dev/input/event4)
[36.185] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput
touchpad catchall"
[36.185] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics
TouchPad'
[36.185] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 54
paused 0
[36.185] (**) SynPS/2 Synaptics TouchPad: always reports core events
[36.185] (**) Option "Device" "/dev/input/event4"
[36.185] (**) Option "_source" "server/udev"
[36.186] (II) event4  - SynPS/2 Synaptics TouchPad: is tagged by udev
as: Touchpad
[36.187] (II) event4  - SynPS/2 Synaptics TouchPad: no resolution or
size hints, assuming a size of 69x50mm
[36.187] (II) event4  - SynPS/2 Synaptics TouchPad: device is a touchpad
[36.187] (II) event4  - SynPS/2 Synaptics TouchPad: device removed
[36.188] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio1/input/input5/event4"
[36.188] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics
TouchPad" (type: TOUCHPAD, id 13)
[36.188] (**) Option "AccelerationScheme" "none"
[36.188] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[36.188] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor:
2.000
[36.188] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration
threshold: 4
[36.189] (II) event4  - SynPS/2 Synaptics TouchPad: is tagged by udev
as: Touchpad
[36.189] (II) event4  - SynPS/2 Synaptics TouchPad: no resolution or
size hints, assuming a size of 69x50mm
[36.190] (II) event4  - SynPS/2 Synaptics TouchPad: device is a touchpad
[36.191] (II) config/udev: Adding input device SynPS/2 Synaptics
TouchPad (/dev/input/mouse0)
[36.191] (II) No input driver specified, ignoring this device.
[36.191] (II) This device may have been added with another device file.

Kernel log (5.9):

[2.764743] psmouse serio1: synaptics: queried max coordinates: x
[..5678], y [..4690]
[2.790415] psmouse serio1: synaptics: queried min coordinates: x
[1266..], y [1160..]
[2.790427] psmouse serio1: synaptics: Your touchpad (PNP: LEN0402
PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are
not used, you might want to try setting psmouse.synaptics_intertouch to 1
and report this to linux-in...@vger.kernel.org.
[2.839072] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id:
0x1e2a1, caps: 0xf00aa3/0x940300/0x12e800/0x50, board id: 3512, fw id:
2956703
[2.839086] psmouse serio1: synaptics: serio: Synaptics pass-through
port at isa0060/serio1/input0
[2.870399] input: SynPS/2 Synaptics TouchPad as
/devices/platform/i8042/serio1/input/input5


Xorg log (5.10):

[57.510] (II) config/udev: Adding input device Synaptics TM3512-010
(/dev/input/event18)
[57.510] (**) Synaptics TM3512-010: Applying InputClass "libinput
touchpad catchall"
[57.510] (II) Using input driver 'libinput' for 'Synaptics TM3512-010'
[57.510] (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 55
paused 0
[57.510] (**) Synaptics TM3512-010: always reports core events
[57.510] (**) Option "Device" "/dev/input/event18"
[57.510] (**) Option "_source" "server/udev"
[57.511] (II) event18 - Synaptics TM3512-010: is tagged by udev as:
Touchpad
[57.512] (II) event18 - Synaptics TM3512-010: device is a touchpad
[57.512] (II) event18 - Synaptics TM3512-010: device removed
[57.512] (**) Option "config_info"
"udev:/sys/devices/rmi4-00/input/input20/event18"
[57.512] (II) XINPUT: Adding extended input device "Synaptics
TM3512-010" (type: TOUCHPAD, id 14)
[57.513] (**) Option "AccelerationScheme" "none"
[57.513] (**) Synaptics TM3512-010: (accel) selected scheme none/0
[57.513] (**) Synaptics TM3512-010: (accel) acceleration factor: 2.000
[57.513] (**) Synaptics TM3512-010: (accel) acceleration threshold: 4
[57.514] (II) event18 - Synaptics TM3512-010: is tagged by udev as:
Touchpad
[57.514] (II) event18 - Synaptics TM3512-010: device is a touchpad
[57.515] (II) config/udev: Adding input device Synaptics TM3512-010
(/dev/input/mouse0)
[57.515] (II) No input driver specified, ignoring this device.
[57.515] (II) This device may have been added with another device file.

Kernel log (5.10):

[5.863427] psmouse serio1: synaptics: queried max coordinates: x
[..5678], y [..4690]
[5.889691] psmouse serio1: 

Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-10 Thread Gianluigi Tiesi

Hi,

looking at the kernel sources as a workaround I need to pass

psmouse.synaptics_intertouch=0 instead

because =1 now act as non set



--
Gianluigi Tiesi 
Chief Technology Officer
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-10 Thread Gianluigi Tiesi

Bug still present int 5.10.5-1

Unfortunately I cannot find any info on the internet

mainly searching:

rmi4_physical rmi4-00: Failed to read irqs, code=-6


Can this bug be forwarded to upstream?


Regards

--
Gianluigi Tiesi 
Chief Technology Officer
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?



Bug#979013: Broken left click on Lenovo X1 Extreme Gen2 Touchpad (5.10 should improve it instead)

2021-01-01 Thread Gianluigi Tiesi
Package: linux-image-5.10.0-1-amd64
Severity: important
Tags: upstream
X-Debbugs-Cc: sher...@netfarm.it

Hi, I'm using kde on sid, and switched from linux-image-5.9.0-5-amd64 5.9.15-1
to linux-image-5.10.0-1-amd64 5.10.4-1

now the touchpad left click looks broken, it like it need a more pressure and 
it acts after a small delay,
the touchpad works fine on Windows and on kernel 5.9.15

5.10 supposed to improve the x1 extreme touchpad, and indeed Xorg detects it 
differently:

[   702.989] (II) Using input driver 'synaptics' for 'Synaptics TM3512-010'
[   702.989] (**) Synaptics TM3512-010: always reports core events
[   702.989] (**) Option "Device" "/dev/input/event5"
[   703.023] (--) synaptics: Synaptics TM3512-010: x-axis range 0 - 1163 (res 
12)
[   703.023] (--) synaptics: Synaptics TM3512-010: y-axis range 0 - 778 (res 12)
[   703.023] (--) synaptics: Synaptics TM3512-010: pressure range 0 - 255
[   703.023] (II) synaptics: Synaptics TM3512-010: device does not report 
finger width.
[   703.023] (--) synaptics: Synaptics TM3512-010: buttons: double triple
[   703.023] (--) synaptics: Synaptics TM3512-010: Vendor 0x6cb Product 0
[   703.023] (--) synaptics: Synaptics TM3512-010: invalid finger width range.  
defaulting to 0 - 15
[   703.023] (--) synaptics: Synaptics TM3512-010: touchpad found
[   703.023] (**) Synaptics TM3512-010: always reports core events
[   703.055] (**) Option "config_info" 
"udev:/sys/devices/rmi4-00/input/input6/event5"
[   703.055] (II) XINPUT: Adding extended input device "Synaptics TM3512-010" 
(type: TOUCHPAD, id 16)
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) MinSpeed is now 
constant deceleration 2.5
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) MaxSpeed is now 1.75
[   703.055] (**) synaptics: Synaptics TM3512-010: (accel) AccelFactor is now 
0.143
[   703.055] (**) Synaptics TM3512-010: (accel) keeping acceleration scheme 1
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration profile 1
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration factor: 2.000
[   703.055] (**) Synaptics TM3512-010: (accel) acceleration threshold: 4
[   703.056] (--) synaptics: Synaptics TM3512-010: touchpad found
[   703.057] (II) config/udev: Adding input device Synaptics TM3512-010 
(/dev/input/mouse0)
[   703.057] (**) Synaptics TM3512-010: Ignoring device from InputClass 
"touchpad ignore duplicates"


while on kernel 5.9:

[11.238] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics 
TouchPad'
[11.238] (**) SynPS/2 Synaptics TouchPad: always reports core events
[11.238] (**) Option "Device" "/dev/input/event1"
[11.270] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 
5678 (res 0)
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1160 - 
4690 (res 0)
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 
15
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double 
triple
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[11.270] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[11.270] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[11.270] (**) SynPS/2 Synaptics TouchPad: always reports core events
[11.302] (**) Option "config_info" 
"udev:/sys/devices/platform/i8042/serio1/input/input3/event1"
[11.302] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics 
TouchPad" (type: TOUCHPAD, id 15)
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is 
now constant deceleration 2.5
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is 
now 1.75
[11.302] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is 
now 0.035
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration 
scheme 1
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[11.302] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[11.303] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[11.304] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
(/dev/input/mouse0)
[11.304] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass 
"touchpad ignore duplicates"

I've tried to tweak some settings on kde input control panel but without success

kernel logs (5.9):

Jan  1 23:26:21 esperia vmunix: [4.531110] psmouse serio1: synaptics: 
queried max coordinates: x [..5678], y [..4690]
Jan  1 23:26:21 esperia vmunix: [4.560885] psmouse serio1: synaptics: 
queried min coordinates: x [1266..], y [1160..]
Jan  1 23:26:21 esperia vmunix: [4.560889] psmouse serio1: synaptics: Your 
touchpad (PNP: LEN0402