As a solution (until the binding of this device is fixed in the linux
kernel), I blacklisted this driver in the kernel command line, as
described in https://unix.stackexchange.com/a/474552/4319 :

First, find function names which look like initialization functions of
this module:

# fgrep elants /boot/System.map-5.8.0-23-generic | fgrep init
ffffffff818f3430 t elants_i2c_initialize
ffffffff818f40bf t elants_i2c_initialize.cold
ffffffff829253f5 t elants_i2c_driver_init
ffffffff82af7a30 t __initcall_elants_i2c_driver_init6
# 

The last one (__initcall*) doesn't look like the one we are looking for.

Then add them to the kernel parameters in /etc/default/grub (on Ubuntu)

GRUB_CMDLINE_LINUX_DEFAULT="... initcall_blacklist=elants_i2c_initialize
initcall_blacklist=elants_i2c_initialize.cold
initcall_blacklist=elants_i2c_driver_init"


and run update-grub.

-- 
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-oem-5.6 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/ubuntu/+source/linux-oem-5.6/+bug/1900254/+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