I had problem with the device driver i2c-WACF2200 spamming the logs with any 
touchscreen input (and quite often when not touching it)
I was seemingly also bringing the laptop out of supspeng (Lenovo Ideapad 5)

I was having no luck disabling the device or driver using the device
name, and I couldn't unload the associated module without losing the
touchpad too  (i2c_hid_acpi)

Even when I was able to disable the Wacom Pen and Finger devices, it
didn't stop the driver spamming logs when reacting to the touch screen.

I wasn't getting anywhere until, finally, the posts here led me to
trying the driver name and stumbling on the right device path with some
added inspired guesswork.

I got the driver unbound, and no more logging but the price is no
touchscreen, which I can live with if I have to.

tacking on this long response as it took me far far too many hours to
finally find a targeted workaround for this problem. hoping to others
the same pain.

command to disable i2c-WACF2200:00 driver bound to the i2c_hid_acpi
module

echo "i2c-WACF2200:00" > /sys/bus/i2c/drivers/i2c_hid_acpi/unbind

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

Title:
  fails to suspend unless I unbind a device from elants_i2c driver

Status in Linux:
  Fix Released
Status in linux-oem-5.6 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.8 package in Ubuntu:
  New

Bug description:
  systemctl suspend stopped working successfully.

  The error message from journalctl -r is:

  Oct 17 17:26:27 jeanna-pc kernel: PM: Device i2c-ELAN0001:00 failed to 
suspend: error -16
  Oct 17 17:26:27 jeanna-pc kernel: PM: dpm_run_callback(): 
acpi_subsys_suspend+0x0/0x60 returns -16
  Oct 17 17:26:27 jeanna-pc kernel: printk: Suspending console(s) (use 
no_console_suspend to debug)
  Oct 17 17:26:27 jeanna-pc kernel: Freezing remaining freezable tasks ... 
(elapsed 0.300 seconds) done.

  This can be fixed with:

  echo i2c-ELAN0001:00 >/sys/bus/i2c/drivers/elants_i2c/unbind

  After this, systemctl suspend works again.

  After the next reboot, this situation repeats again.

  (Offtopic: As concerns the touchpad on this new Lenovo laptop, it
  never worked after Ubuntu installation -- with the default kernel or
  this one, no matter which one.)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-unsigned-5.6.0-1021-oem 5.6.0-1021.21
  ProcVersionSignature: Ubuntu 5.6.0-1021.21-oem 5.6.19
  Uname: Linux 5.6.0-1021-oem x86_64
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 17 17:53:01 2020
  InstallationDate: Installed on 2020-08-03 (74 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-oem-5.6
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to