MGA4: Closing the laptop lid interrupts shutdown.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

MGA4: Closing the laptop lid interrupts shutdown.

Postby endat » Aug 5th, '14, 20:17

My Mageia installation takes a long time to shut down for some reason. Sometimes I get impatient and close the laptop lid before it finishes totally shutting down.. This interrupts the shutdown, it will not continue shutting down while the lid is closed. If I leave my laptop plugged in, I can come back to it the next day and when I open the lid, it is still shutting down because it stopped shutting down when I closed the lid yesterday.

I do not want to keep waiting for it to finish shutting down before I put my laptop away. How can I fix this?
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16

Re: MGA4: Closing the laptop lid interrupts shutdown.

Postby doktor5000 » Aug 5th, '14, 21:49

Press Esc key during shutdown or have a look in the last lines of the logs from last boot to see where it hangs, I've posted in your previous thread on the same topic how to do that.

Apart from that you can still use alternate ways to shutdown, like suggested in your previous thread (which you seem to have ignored)
viewtopic.php?p=49790#p49790
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MGA4: Closing the laptop lid interrupts shutdown.

Postby endat » Aug 5th, '14, 22:08

It hangs when I close the laptop lid. The output stops as soon as I close the lid and resumes shutting down when I open the lid again. Not at any certain point..

I have not ignored any suggestions, I just havent seen any that were helpful in this situation.

Are you suggestion that I...
OptionA: Open a terminal, login as root, and run "shutdown -h now"
OptionB: HOLD the power button until it dies
... every time I shutdown?
Machine: Alienware M14x R1
My Donations: http://treasurer.mageia.org/donations_p_140.html
endat
 
Posts: 49
Joined: Jun 24th, '13, 20:16

Re: MGA4: Closing the laptop lid interrupts shutdown.

Postby doktor5000 » Aug 5th, '14, 22:39

endat wrote:OptionA: Open a terminal, login as root, and run "shutdown -h now"

That (actually it was poweroff, which does exactly the same thing) was the suggestion from the other thread, just click the link I've posted.
Just checked, poweroff an be run as normal user and takes 3 seconds for complete shutdown here. You should even be able ro run it via Alt+F2 dialog, so no need to open a terminal.

endat wrote:OptionB: HOLD the power button until it dies
... every time I shutdown?

You can try that to, but I'd not suggest that until the machine is severely frozen.
As it will not unmount filesystems and so on, so you'll risk data loss and/or hardware damage.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: MGA4: Closing the laptop lid interrupts shutdown.

Postby jtwdyp » Aug 9th, '14, 20:01

endat wrote: Sometimes I get impatient and close the laptop lid before it finishes totally shutting down.. This interrupts the shutdown,
--{{snip}}--
I do not want to keep waiting for it to finish shutting down before I put my laptop away. How can I fix this?


Perhaps your asking the wrong question...

Do you have much use for suspend/hibernation functions? I think they are triggered by closing the lid to avoid overheating that can otherwise affect {at least some} laptops. But if you don't close the lid for long while it's running, and you found out how to disable suspend/hibernation functions, they would no longer be able to interrupt the poweroff sequence. Unfortunately I'm not sure how to disable the suspend/hibernation functions... So all I can do is offer this hint.
--
JtWdyP
User avatar
jtwdyp
 
Posts: 88
Joined: Jun 10th, '13, 08:30

Re: MGA4: Closing the laptop lid interrupts shutdown.

Postby doktor5000 » Aug 10th, '14, 01:30

jtwdyp wrote:Unfortunately I'm not sure how to disable the suspend/hibernation functions...

Depends on the desktop environment used. For KDE it would be systemsettings -> powermanagement and check all profiles for action on lid close, and what to do after idling for X mins.

But it can also be disabled systemwide, check e.g. viewtopic.php?f=8&t=6340
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest