Hi all,

Just wanted to add my experience with this.  I also have found that my
Synaptics touchpad becomes unresponsive after waking from a suspend.  It
isn't restored by a modprobe -r psmouse / modprobe psmouse.  The only
thing that restores it is a shutdown (without -r option) followed by a
fresh boot.

I noticed also that, when it is showing this unresponsive touchpad
symptom,

sudo cat /dev/input/event8 | hexdump

produces nothing at all when i move my finger around on the touchpad
(event8 is the touchpad in my system, as shown by
/proc/bus/input/devices).  Yet, doing:

sudo cat /dev/input/event16 | hexdump

(which is my usb wireless mouse) does produce output when I move my
mouse around.

I'm not very familiar with kernel, drivers, firmware, etc.  I did think
the bit about /dev/input/event8 was interesting though, but I'm not sure
what to do with that information.

If anyone is interested, please feel free to suggest a set of commands
and their output you might want to see, or procedures to try.  I hope
this new data point is useful.

Thanks in advance!

Henry


Some other things:

henry@henry-gs65:~$ uname -a
Linux henry-gs65 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

henry@henry-gs65:~$ sudo lshw | head -n 25
henry-gs65                  
    description: Notebook
    product: GS65 Stealth Thin 8RF (16Q2.1)
    vendor: Micro-Star International Co., Ltd.
    version: REV:1.0
    serial: 9S716Q211405ZI8000083
    width: 64 bits
    capabilities: smbios-3.1 dmi-3.1 smp vsyscall32
    configuration: boot=normal chassis=notebook family=GS sku=16Q2.1 
uuid=FCEFF7B9-5244-47ED-B96D-2A2CF506C220
  *-core
       description: Motherboard
       product: MS-16Q2
       vendor: Micro-Star International Co., Ltd.
       physical id: 0
       version: REV:1.0
       serial: BSS-0123456789
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 1
          version: E16Q2IMS.110
          date: 10/08/2018
          size: 64KiB
          capacity: 15MiB


henry@henry-gs65:~$ grep -B 1 -A 10 Synaptics /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input34
U: Uniq=
H: Handlers=mouse0 event8 
B: PROP=1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

henry@henry-gs65:~$ journalctl -b 0 | grep -i touchpad | grep kernel
Jan 06 21:02:58 henry-gs65 kernel: psmouse serio1: synaptics: Your touchpad 
(PNP: SYN150d SYN1500 SYN0002 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.
Jan 06 21:02:58 henry-gs65 kernel: psmouse serio1: synaptics: Touchpad model: 
1, fw: 8.16, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x400000, board id: 
3414, fw id: 2667658
Jan 06 21:02:58 henry-gs65 kernel: input: SynPS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input6
Jan 09 19:40:09 henry-gs65 kernel: psmouse serio1: synaptics: Your touchpad 
(PNP: SYN150d SYN1500 SYN0002 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.
Jan 09 19:40:09 henry-gs65 kernel: psmouse serio1: synaptics: Touchpad model: 
1, fw: 8.16, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x400000, board id: 
3414, fw id: 2667658
Jan 09 19:40:09 henry-gs65 kernel: input: SynPS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input24
Jan 09 19:43:16 henry-gs65 kernel: input: PS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input26
Jan 09 19:49:15 henry-gs65 kernel: input: PS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input28
Jan 09 20:15:08 henry-gs65 kernel: input: PS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input30
Jan 09 20:15:21 henry-gs65 kernel: psmouse serio1: synaptics: Your touchpad 
(PNP: SYN150d SYN1500 SYN0002 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.
Jan 09 20:15:21 henry-gs65 kernel: psmouse serio1: synaptics: Touchpad model: 
1, fw: 8.16, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x400000, board id: 
3414, fw id: 2667658
Jan 09 20:15:21 henry-gs65 kernel: input: SynPS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input32
Jan 09 20:30:49 henry-gs65 kernel: input: PS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input34

Jan 06 21:02:58 henry-gs65 kernel: psmouse serio1: synaptics: Your touchpad 
(PNP: SYN150d SYN1500 SYN0002 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.
Jan 06 21:02:58 henry-gs65 kernel: psmouse serio1: synaptics: Touchpad model: 
1, fw: 8.16, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x400000, board id: 
3414, fw id: 2667658
Jan 06 21:02:58 henry-gs65 kernel: input: SynPS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input6
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) config/udev: 
Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (**) SynPS/2 
Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) Using input 
driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (**) SynPS/2 
Synaptics TouchPad: always reports core events
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device is a touchpad
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device removed
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) XINPUT: 
Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 
13)
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (**) SynPS/2 
Synaptics TouchPad: (accel) selected scheme none/0
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (**) SynPS/2 
Synaptics TouchPad: (accel) acceleration factor: 2.000
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (**) SynPS/2 
Synaptics TouchPad: (accel) acceleration threshold: 4
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device is a touchpad
Jan 06 21:03:02 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) config/udev: 
Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
Jan 06 21:03:10 henry-gs65 /usr/lib/gdm3/gdm-x-session[1074]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device removed
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) config/udev: 
Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (**) SynPS/2 
Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) Using input 
driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (**) SynPS/2 
Synaptics TouchPad: always reports core events
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) event8  - 
SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device is a touchpad
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device removed
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) XINPUT: 
Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 
13)
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (**) SynPS/2 
Synaptics TouchPad: (accel) selected scheme none/0
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (**) SynPS/2 
Synaptics TouchPad: (accel) acceleration factor: 2.000
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (**) SynPS/2 
Synaptics TouchPad: (accel) acceleration threshold: 4
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) event8  - 
SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) event8  - 
SynPS/2 Synaptics TouchPad: device is a touchpad
Jan 06 21:03:11 henry-gs65 /usr/lib/gdm3/gdm-x-session[1549]: (II) config/udev: 
Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1791427

Title:
  Touchpad and/or trackpoint stop working after S3 suspend on Lenovo X1
  Carbon 6th

Status in linux package in Ubuntu:
  Triaged

Bug description:
  Ubuntu 18.04.1

  Terminology in case we use different terms:
  touchpad - just the rectangular touch-sensitive surface below the keyboard 
(xinput lists it as Synaptics TM3288-011)
  trackpoint - the red thingy built into the keyboard + 3 physical buttons 
below the keyboard (trackpoint and buttons are integrated together; listed in 
xinput as TPPS/2 Elan TrackPoint)

  On September 7th, 2018, Lenovo has issued a BIOS update (v1.30), which
  enables proper S3 deep sleep state - users no longer have to patch
  DSDT tables to get it. It can be enabled in the BIOS settings. In X1
  carbon 6th generation models that have NFC, when laptop wakes from
  suspend by opening the lid, in most cases both touchpad and trackpoint
  stop working completely. They are also no longer listed when running
  xinput command. Sometimes just one of them stops working, usually the
  trackpoint. In some rare cases it is possible to bring them back by
  using these commands:

      echo -n none > /sys/devices/platform/i8042/serio1/drvctl
      echo -n reconnect > /sys/devices/platform/i8042/serio1/drvctl
      rmmod psmouse
      modprobe psmouse

  These worked properly when waking up from S2Idle sleep state (had
  these in a script that runs after waking the machine from suspend),
  but with S3 deep sleep these rarely work and the only way to bring
  back touchpad and/or trackpoint is turning off the machine and turning
  it on (restart does not help).

  I could not find any pattern that would show when the input devices
  stop working or start working again using the commands mentioned
  above. It's completely random from my perspective.

  This is happening on the standard issue 4.15.0-33-generic kernel that
  shipped with my Ubuntu 18.04 (with updates), as well as with newer
  mainline kernels, such as the newest point versions of 4.17, 4.18 and
  4.19 RC2.

  This happens regardless of whether "blacklist i2c_i801" is commented
  out in /etc/modprobe.d/blacklist.conf or not. It happens regardless of
  whether "psmouse.synaptics_intertouch=1" is passed as grub parameter.
  Presence of TLP does not make it better, nor worse.

  It appears that non-NFC models are not affected. I know at least one
  Arch Linux user who has the exact same model, but without this issue.
  I'm using synaptics driver (no libinput installed), he uses libinput
  and doesn't have synaptics, if that information is of any use.
  Libinput does not seem to help.

  This forum thread also has more details from users who updated their
  BIOS to get S3 suspend: https://forums.lenovo.com/t5/Linux-
  Discussion/X1-Carbon-Gen-6-cannot-enter-deep-sleep-S3-state-aka-
  Suspend-to/td-p/3998182/page/27

  Another related thread:
  https://bbs.archlinux.org/viewtopic.php?id=236367

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   maciej     2651 F...m pulseaudio
   /dev/snd/controlC0:  maciej     2651 F.... pulseaudio
  CurrentDesktop: i3
  Date: Sat Sep  8 13:45:43 2018
  HibernationDevice: RESUME=UUID=3116dcb0-d91e-4b2a-8166-43b7a9a9d36e
  InstallationDate: Installed on 2018-07-21 (49 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 13d3:56b2 IMC Networks 
   Bus 001 Device 002: ID 04b4:0060 Cypress Semiconductor Corp. Wireless 
optical mouse
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: LENOVO 20KH006KPB
  ProcFB:
   0 EFI VGA
   1 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-33-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash psmouse.synaptics_intertouch=1 
vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-33-generic N/A
   linux-backports-modules-4.15.0-33-generic  N/A
   linux-firmware                             1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/31/2018
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N23ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20KH006KPB
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40697 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: 
dmi:bvnLENOVO:bvrN23ET55W(1.30):bd08/31/2018:svnLENOVO:pn20KH006KPB:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KH006KPB:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad X1 Carbon 6th
  dmi.product.name: 20KH006KPB
  dmi.product.version: ThinkPad X1 Carbon 6th
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1791427/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to