External mouse movement wakes computer from hibernate

Bug #1877488 reported by Lisa Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When the computer is suspended, moving the mouse (External logitech) causes the computer to come out of hibernation. I can tell because the Legion logo lights up. After a little while (minute?) it evidently suspends again because the logo turns off again.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.19
ProcVersionSignature: Ubuntu 5.4.0-30.34-generic 5.4.34
Uname: Linux 5.4.0-30-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu May 7 19:07:34 2020
InstallationDate: Installed on 2020-03-12 (56 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200306)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: lisa 1854 F.... pulseaudio
 /dev/snd/controlC0: lisa 1854 F.... pulseaudio
 /dev/snd/pcmC0D0p: lisa 1854 F...m pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-03-12 (57 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200306)
MachineType: LENOVO 81T2
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-30-generic root=UUID=51068ea2-6b38-4cfc-a75f-4f404cd04685 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-30.34-generic 5.4.34
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-30-generic N/A
 linux-backports-modules-5.4.0-30-generic N/A
 linux-firmware 1.187
Tags: focal
Uname: Linux 5.4.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 11/23/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: BHCN35WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Legion Y545 PG0
dmi.modalias: dmi:bvnLENOVO:bvrBHCN35WW:bd11/23/2019:svnLENOVO:pn81T2:pvrLegionY545PG0:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrLegionY545PG0:
dmi.product.family: Legion Y545 PG0
dmi.product.name: 81T2
dmi.product.sku: LENOVO_MT_81T2_BU_idea_FM_Legion Y545 PG0
dmi.product.version: Legion Y545 PG0
dmi.sys.vendor: LENOVO

Revision history for this message
Lisa Nelson (lisa50469) wrote :
affects: ubuntu-release-upgrader (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1877488

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Lisa Nelson (lisa50469) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Lisa Nelson (lisa50469) wrote : CRDA.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : IwConfig.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : Lspci.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : Lspci-vt.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : Lsusb.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : Lsusb-t.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : Lsusb-v.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : ProcModules.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : PulseList.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : RfKill.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : UdevDb.txt

apport information

Revision history for this message
Lisa Nelson (lisa50469) wrote : WifiSyslog.txt

apport information

Revision history for this message
Alex Hung (alexhung) wrote :

You can disable wakeup by modifying "/proc/acpi/wakeup" in Linux

1. get all wakeup sources - "cat /proc/acpi/wakeup"

The results are something like

Device S-state Status Sysfs node
PEG0 S4 *enabled pci:0000:00:01.0
PEGP S4 *disabled pci:0000:01:00.0
PEG1 S4 *disabled
PEGP S4 *disabled
...
XHC S3 *enabled pci:0000:00:14.0
...

2. find out which USB maps to your logitech mouse. You probably need trial and error couple times. The above example is XHC which is USB3 controller which is capable of waking up from S3, S2 and S1. Your will differ.

3. disable it by "echo XHC | sudo tee /proc/acpi/wakeup" (assuming XHC is the one).

finally, you can disable it automatically by rc.local (like https://vpsfix.com/community/server-administration/no-etc-rc-local-file-on-ubuntu-18-04-heres-what-to-do/)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.