Bug 215585 - SYNA 3602, touchpad, not work after suspension
Summary: SYNA 3602, touchpad, not work after suspension
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: I2C (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Drivers/I2C virtual user
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-10 12:33 UTC by Davi Vasconcelos
Modified: 2022-04-11 21:06 UTC (History)
0 users

See Also:
Kernel Version: 5.16.5
Tree: Mainline
Regression: No


Attachments

Description Davi Vasconcelos 2022-02-10 12:33:09 UTC
Hello there, I have a Vaio FE14 notebook that comes with the SYNA 3602 touchpad. This particular device is known for having some issues with the linux kernel, independently of distros. However, it's getting better after every update of kernel! This is pretty good. I'm grateful for your work, guys!

Anyway, the touchpad don't work after suspension or restart, even if I restart the modules with "sudo modprobe -r i2c_hid_acpi && sudo modprobe i2c_hid_acpi" or, I'm using wayland but I've tried on xorg session,  with "xinput disable 15 (the respective event when listed on xinput) && xinput enable 15".

Futhermore, after suspension or reboot of the system and by restarting the module, the touchpad is detected by the system on "grep SYNA3602 /proc/bus/input/devices", "xinput" and "sudo libinput list-devices | grep -i syna". But still don't work, even detected. 


The touchpad works after a complete shut down of the machine, and when it does not function properly at the initialization a simple restart of the module makes it works fine. 

When it's active, the device don't freezes or stop working right of nothing. It works very good!

Some observations: 1. the touchpad area is not entirely recognize, especifaly the borders, by the first tap or drag. It's like the borders isn't functional, but it is! If I drag trough the center - or any area that is previously recognized - to the borders, it works properly. I guess that is more a problem with libinput than the kernel. 2. The combinations of keys fn+f1 that would be for desabling the touchpad don't work too, in any situation. Perhaps, a remap of keys helps the situation. I think either that this problem is more a issue with libinput than the kernel. But I don't really know.

Any help will be good, thanks in advance.
_____________
inxi -Fxz
System:
  Kernel: 5.16.5-200.fc35.x86_64 x86_64 bits: 64 compiler: gcc
    v: 2.37-10.fc35 Desktop: GNOME 41.3 Distro: Fedora release 35 (Thirty Five)
Machine:
  Type: Laptop System: Positivo Bahia - VAIO product: VJFE41F11X-XXXXXX
    v: N/A serial: <superuser required>
  Mobo: Positivo Tecnologia SA model: VJFE-KL v: 11158959
    serial: <superuser required> UEFI: Positivo Tecnologia SA v: 1.025.X
    date: 09/16/2020
Battery:
  ID-1: BAT0 charge: 12.8 Wh (34.0%) condition: 37.6/37.6 Wh (100.0%)
    volts: 12.1 min: 11.4 model: KBL-R MRD SR Real Battery status: Charging
CPU:
  Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 953 high: 1200 min/max: 400/3400 cores: 1: 1200 2: 1018
    3: 1150 4: 800 5: 901 6: 800 7: 960 8: 800 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: nCipher Security driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: Microdia USB 2.0 Camera type: USB driver: uvcvideo
    bus-ID: 1-5:4
  Display: x11 server: X.Org 1.20.14 driver: loaded: modesetting
    unloaded: fbdev,vesa resolution: 1: 1920x1080~60Hz 2: 1600x900~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
    v: 4.6 Mesa 21.3.5 direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Realtek
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.16.5-200.fc35.x86_64 running: yes
  Sound Server-2: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel port: e000 bus-ID: 01:00.0
  IF: enp1s0 state: down mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak]
    driver: iwlwifi v: kernel bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-3:3
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 71.56 GiB (7.7%)
  ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
Partition:
  ID-1: / size: 114.79 GiB used: 11.88 GiB (10.3%) fs: ext4 dev: /dev/sda6
  ID-2: /boot/efi size: 499 MiB used: 14 MiB (2.8%) fs: vfat dev: /dev/sda5
  ID-3: /home size: 550.57 GiB used: 59.67 GiB (10.8%) fs: ext4
    dev: /dev/sda7
Swap:
  ID-1: swap-1 type: partition size: 1.91 GiB used: 0 KiB (0.0%)
    dev: /dev/sda8
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 49.0 C pch: 43.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 323 Uptime: 15h 4m Memory: 11.44 GiB used: 3.73 GiB (32.6%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.2.1 Packages: 26
  note: see --pkg Shell: Bash v: 5.1.8 inxi: 3.3.12
___________
grep SYNA3602 /proc/bus/input/devices
N: Name="SYNA3602:00 0911:5288 Mouse"
P: Phys=i2c-SYNA3602:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input28
N: Name="SYNA3602:00 0911:5288 Touchpad"
P: Phys=i2c-SYNA3602:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input29
N: Name="SYNA3602:00 0911:5288 UNKNOWN"
P: Phys=i2c-SYNA3602:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input30
__________
xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse              	id=10	[slave  pointer  (2)]
⎜   ↳ SYNA3602:00 0911:5288 Mouse             	id=15	[slave  pointer  (2)]
⎜   ↳ SYNA3602:00 0911:5288 Touchpad          	id=16	[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)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ USB 2.0 Camera: USB Camera              	id=11	[slave  keyboard (3)]
    ↳ LiteOn Lenovo Calliope USB Keyboard     	id=12	[slave  keyboard (3)]
    ↳ LiteOn Lenovo Calliope USB Keyboard System Control	id=13	[slave  keyboard (3)]
    ↳ LiteOn Lenovo Calliope USB Keyboard Consumer Control	id=14	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=17	[slave  keyboard (3)]
    ↳ Intel HID 5 button array                	id=18	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=19	[slave  keyboard (3)]
    ↳ JBL T450BT (AVRCP)                      	id=20	[slave  keyboard (3)]
__________
sudo libinput list-devices | grep -i syna
event11 - SYNA3602:00 0911:5288 Touchpad: kernel bug: clickpad with right button, assuming it is not a clickpad
Device:           SYNA3602:00 0911:5288 Mouse
Device:           SYNA3602:00 0911:5288 Touchpad
_________
journalctl | grep i2c
fev 09 13:27:50 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0013/input/input53
fev 09 13:27:50 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0013/input/input54
fev 09 13:27:50 vaio-de-davi kernel: hid-multitouch 0018:0911:5288.0013: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
fev 09 13:27:50 vaio-de-davi /usr/libexec/gdm-x-session[1610]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0013/input/input52/event6"
fev 09 13:27:50 vaio-de-davi /usr/libexec/gdm-x-session[1610]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0013/input/input53/event7"
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input6
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input7
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input8
fev 09 14:23:46 vaio-de-davi kernel: hid-generic 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input13
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input14
fev 09 14:23:46 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input15
fev 09 14:23:46 vaio-de-davi kernel: hid-multitouch 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
fev 09 17:24:30 vaio-de-davi kernel: i2c i2c-8: 2/4 memory slots populated (from DMI)
fev 09 17:24:30 vaio-de-davi kernel: i2c i2c-8: Successfully instantiated SPD at 0x50
fev 09 17:25:56 vaio-de-davi /usr/libexec/gdm-x-session[1623]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input13/event8"
fev 09 17:25:56 vaio-de-davi /usr/libexec/gdm-x-session[1623]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input14/event11"
fev 10 07:34:23 vaio-de-davi sudo[11928]:     davi : TTY=pts/0 ; PWD=/home/davi ; USER=root ; COMMAND=/usr/sbin/modprobe -r i2c_hid_acpi
fev 10 07:34:27 vaio-de-davi sudo[11952]:     davi : TTY=pts/0 ; PWD=/home/davi ; USER=root ; COMMAND=/usr/sbin/modprobe i2c_hid_acpi
fev 10 07:34:27 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input28
fev 10 07:34:27 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input29
fev 10 07:34:27 vaio-de-davi kernel: input: SYNA3602:00 0911:5288 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input30
fev 10 07:34:27 vaio-de-davi kernel: hid-multitouch 0018:0911:5288.0005: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
fev 10 07:34:27 vaio-de-davi /usr/libexec/gdm-x-session[1623]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input28/event8"
fev 10 07:34:27 vaio-de-davi /usr/libexec/gdm-x-session[1623]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input29/event11"
____________
dmesg | grep i2c
[   10.193966] input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input6
[   10.194046] input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input7
[   10.194116] input: SYNA3602:00 0911:5288 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input8
[   10.194162] hid-generic 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
[   10.364828] input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input13
[   10.365134] input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input14
[   10.365332] input: SYNA3602:00 0911:5288 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0002/input/input15
[   10.365458] hid-multitouch 0018:0911:5288.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
[   25.313264] i2c i2c-8: 2/4 memory slots populated (from DMI)
[   25.313778] i2c i2c-8: Successfully instantiated SPD at 0x50
[11387.624191] input: SYNA3602:00 0911:5288 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input28
[11387.625245] input: SYNA3602:00 0911:5288 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input29
[11387.625776] input: SYNA3602:00 0911:5288 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-SYNA3602:00/0018:0911:5288.0005/input/input30
[11387.626202] hid-multitouch 0018:0911:5288.0005: input,hidraw1: I2C HID v1.00 Mouse [SYNA3602:00 0911:5288] on i2c-SYNA3602:00
__________
ls /sys/bus/i2c/devices/ | grep i2c

i2c-0
i2c-1
i2c-2
i2c-3
i2c-4
i2c-5
i2c-6
i2c-7
i2c-8
i2c-SYNA3602:00
Comment 1 Davi Vasconcelos 2022-02-10 16:07:24 UTC
I forgot to write an observation: 
3. the system doesn't recognize the correct size of the touchpad area (95x50).
___________
sudo libinput debug-events
event11 - SYNA3602:00 0911:5288 Touchpad: kernel bug: clickpad with right button, assuming it is not a clickpad
-event8   DEVICE_ADDED            SYNA3602:00 0911:5288 Mouse       seat0 default group9  cap:p left scroll-nat scroll-button
-event11  DEVICE_ADDED            SYNA3602:00 0911:5288 Touchpad    seat0 default group9  cap:pg  size 105x61mm tap(dl off)
____________
I manage to find just this in libinput folder, that improvement, I guess, was what corrected the issue of left and right buttons. 
cat /usr/share/libinput/50-system-prestigio.quirks 
# Clickpad that announces BTN_RIGHT
# https://gitlab.freedesktop.org/libinput/libinput/-/issues/674
[Prestigio Smartbook 141 C2 Touchpad]
MatchName=SYNA3602:00 0911:5288 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnPrestigio:*pnPSB141C02*
AttrEventCodeDisable=BTN_RIGHT
Comment 2 Davi Vasconcelos 2022-04-11 21:06:47 UTC
Apparently, it seems to be a little better in the kernel version 5.16.18-200.fc35.x86_64. The touchpad still rarely, like 2 of 10, being recognized by the system and working properly after a suspension. In the kernel 5.17.0, the behaviour is the same and nothing is improved on this question.

Note You need to log in before you can comment on or make changes to this bug.