You are not logged in.
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
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
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
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
Try https://askubuntu.com/questions/122933/ … 0-or-12-04
tl;dr -- add acpi=force as a kernel parameter.
Offline
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
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
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
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
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
Unmount external drives before shutting down.
Offline
^ 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
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
Thank you for the feedback.
Offline