xubuntu15.04 goes into sleep after power-up

Bug #1448616 reported by Bernard Decock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The machine powers up and then goes automatically into sleep. Pressing the power-button again gives the common log-in screen. This appears to be timed, as if you don't succeed to enter your password within a short time, it goes back into sleep again. During booting the screen is blank. Once logged in, everything runs fine, except that the power-down-button doesn't work prperly, the machine goes into sleep. You can only power the machine down by means of sudo shutdown -h now.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: systemd 219-7ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic i686
ApportVersion: 2.17.2-0ubuntu1
Architecture: i386
CurrentDesktop: XFCE
Date: Sun Apr 26 10:03:11 2015
InstallationDate: Installed on 2014-04-20 (370 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Inc. Inspiron 6000
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic root=UUID=863ca210-f8a1-4d13-9e3a-e173e31bc22d ro quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to vivid on 2015-04-24 (1 days ago)
dmi.bios.date: 07/22/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0X9238
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA08:bd07/22/2005:svnDellInc.:pnInspiron6000:pvr:rvnDellInc.:rn0X9238:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 6000
dmi.sys.vendor: Dell Inc.

Revision history for this message
Bernard Decock (decockbernard) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Without having more data this sounds like a broken lid switch. Can you please boot, let it suspend, wake it up again, and attach the output of journalctl? Thanks!

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernard Decock (decockbernard) wrote :

Hereby the ouput of journalctl attached in info.txt. Hope It gives you some clues.

Revision history for this message
Martin Pitt (pitti) wrote :

It doesn't say that a button was pressed, so it could still be that it considers the lid closed. The Inspiron 6000 is a laptop, so it should have a lid switch; just to ensure, is the lid actually open while you do this, or do you boot with closed lid an an external monitor?

Can you please try two things:

  * sudo mv /lib/udev/rules.d/70-power-switch.rules{,.disabled}
    Then reboot -- is the immediate suspend still happening?
    After that, please restore with
    sudo mv /lib/udev/rules.d/70-power-switch.rules{.disabled,}

 * Press shift during boot to get the grub boot menu, "e"dit the default entry, and append "debug" to the "linux" line. Then get the journal again as previously, and attach it here.

Thanks!

Revision history for this message
Bernard Decock (decockbernard) wrote :

Hi Martin,

The lid is always open (as you can't power up when the lid is closed, the lid covers the power-button). No extra monitor is attached.

First of all, when the power-switch-rules are disabled, the machine starts up normally (no hibernate) as well as the power-down sequence is normal again (it just powers off => no longer to power off by means of the terminal-command sudo shutdown - h now.

Here are the power-rules underneath:

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.

ACTION=="remove", GOTO="power_switch_end"

SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="twl4030_pwrbutton", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but", TAG+="power-switch"

LABEL="power_switch_end"

When powering down you can shortly the Xubuntu-screen as before, while when the power-rules are active, the screen
immediately goes black.

For the second test, I enabled the rules again and set the debug-flag. The output of the journal is attached.

Revision history for this message
Bernard Decock (decockbernard) wrote :

The latest updates installed a new version of systemd which installed a fresh copy of the power-switch-rules. After that I got the same initial problems. So I applied the proven solution again : remove the power-switch-rules. If every time a fresh copy of the power-switch-rules will be installed, that will be rather annoying. I'll try to set up an empty power-switch-rules-file in order to prevent the installation of a new one.

systemd --version
systemd 219
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN

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

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

Changed in systemd (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.