You are not logged in.

#1 2016-05-18 12:53:52

xzork
New Member
Registered: 2016-05-18
Posts: 4

[Solved] Laptop doesn't Shutdown

Hey,

I have an Acer laptop which I can't shutdown using the poweroff option in the logout menu, the screen goes blank and that's it, I have to hold the power button for it to go off.

Also (I'm not sure if this is related), when the computer goes to sleep it impossible to wake it, again just blank screen.

If you have any idea on what might be the problem I'll be very happy.

Last edited by xzork (2016-05-20 11:18:27)

Offline

#2 2016-05-18 13:17:07

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [Solved] Laptop doesn't Shutdown

On the shutdown problem: does the laptop shut actually down, i.e. does the init system stop all services cleanly etc and then just fails to "power off", or are you hard-resetting the system by holding down the power button?

Offline

#3 2016-05-18 14:34:05

xzork
New Member
Registered: 2016-05-18
Posts: 4

Re: [Solved] Laptop doesn't Shutdown

twoion wrote:

On the shutdown problem: does the laptop shut actually down, i.e. does the init system stop all services cleanly etc and then just fails to "power off", or are you hard-resetting the system by holding down the power button?

I'm hard-resetting by holding down the power button. And there are some side-effects for example when I open the laptop again touchpad doesn't work.

Offline

#4 2016-05-18 14:54:23

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [Solved] Laptop doesn't Shutdown

Does this work?

#!/usr/bin/env python
#!
#! E.G. ./doAction [Suspend | Hibernate | HybridSleep | PowerOff ...]
import sys

import dbus

def main(argv):

    bus = dbus.SystemBus()
    dbus_object = bus.get_object('org.freedesktop.login1',
                                 '/org/freedesktop/login1')
    dbus_iface = dbus.Interface(dbus_object, 'org.freedesktop.login1.Manager')
    command = "dbus_iface.{}(['True'])".format(argv[1])
    eval(command)

if __name__ == '__main__':
    main(sys.argv)

Put the python script somewhere in your PATH, name it doAction, make it executable and run it as

doAction PowerOff

Offline

#5 2016-05-18 17:24:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Laptop doesn't Shutdown

Try https://askubuntu.com/questions/122933/ … 0-or-12-04

tl;dr -- add acpi=force as a kernel parameter.

Offline

#6 2016-05-18 21:43:57

xzork
New Member
Registered: 2016-05-18
Posts: 4

Re: [Solved] Laptop doesn't Shutdown

Thanks for your answers. I've tried the solutions above, but none worked so far.

The Python script, seemed to close down everything, I even heard the hard-disk noise going off, but oddly the screen was still on with only the underscore (_) character appearing on it and the power light was still on as well.

Changing the grub configuration didn't have any effect.

Offline

#7 2016-05-18 21:58:00

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [Solved] Laptop doesn't Shutdown

Could it be switching to a different TTY?  Something to do with light-locker, perhaps? When the screen goes blank can you hit ctrl+alt+f2  or better yet,  ctrl+alt+f7? Does doing that switch your TTY?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#8 2016-05-19 05:22:52

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [Solved] Laptop doesn't Shutdown

xzork wrote:

Thanks for your answers. I've tried the solutions above, but none worked so far.

The Python script, seemed to close down everything, I even heard the hard-disk noise going off, but oddly the screen was still on with only the underscore (_) character appearing on it and the power light was still on as well.

Changing the grub configuration didn't have any effect.

instead of insuring us that you did what was suggested, it would be better if you showed us.
you might have made a mistake somewhere along the way, and it's always better to have multiple (and more experienced) pairs of eyes troubleshooting.

anyhow, did you try both options together?

it does seem to be an acpi problem.

Offline

#9 2016-05-19 06:23:54

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Laptop doesn't Shutdown

xzork wrote:

Changing the grub configuration didn't have any effect.

Did you check that the parameter was applied?

Please post the output of:

cat /proc/cmdline

Offline

#10 2016-05-19 08:49:32

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [Solved] Laptop doesn't Shutdown

Also tell us:
- about your hardware - type and make of the laptop
- Using bunsenlabs?
  up-to-date?
  did you install anything not included in bunsenlabs?

Offline

#11 2016-05-19 23:14:11

seppalta
Member
Registered: 2015-10-02
Posts: 43
Website

Re: [Solved] Laptop doesn't Shutdown

Unmount external drives before shutting down.

Offline

#12 2016-05-20 10:05:30

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: [Solved] Laptop doesn't Shutdown

^ This seems to be one of the problems with systemd/polkit.  If I have an external drive mounted, I usually end up waiting 90 seconds for shutdown to complete.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#13 2016-05-20 11:17:47

xzork
New Member
Registered: 2016-05-18
Posts: 4

Re: [Solved] Laptop doesn't Shutdown

Thanks for your interest, I think the problem is fixed. I have an Acer e3-112 laptop just in case anyone else has the same problem.

Adding "acpi=force" didn't help, but "reboot=bios" helped:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=bios"

Offline

#14 2016-05-20 11:34:24

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [Solved] Laptop doesn't Shutdown

Thank you for the feedback.

Offline

Board footer

Powered by FluxBB