LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   No suspend on lid close (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/no-suspend-on-lid-close-916054/)

AllanP 11-28-2011 02:01 PM

No suspend on lid close
 
Dell Studio 1747 Laptop. Using Mint 12. Using Mint Gnome or Gnome Classic; closing the lid brings on suspend, but if I log into Mint Mate it doesn't suspend when closing lid. I can activate suspend on the shutdown menu fine; so the suspend feature does work.

corp769 11-29-2011 06:54 AM

In that case, have you looked at your power management settings for when you close your lid? In most distros, you can configure what happens when you close the lid, among more of the general power settings.

Cheers,

Josh

AllanP 11-29-2011 09:11 AM

Yes. I should have mentioned that it is set to "Suspend" when lid is closed. I just find it odd that it suspends when lid is closed in Mint Gnome and Gnome Classic.

corp769 11-29-2011 12:37 PM

After further looking into this, you might be better off filing a bug report and talking to the devs about this issue, since Mate is a fork at gnome 2, and is new. I would ask to see some logs, but you said that you can get suspend to work, so this would be a bug within Mate itself. Has anyone else experienced this issue?

AllanP 11-29-2011 12:51 PM

Quote:

Originally Posted by corp769 (Post 4537537)
After further looking into this, you might be better off filing a bug report and talking to the devs about this issue, since Mate is a fork at gnome 2, and is new. I would ask to see some logs, but you said that you can get suspend to work, so this would be a bug within Mate itself. Has anyone else experienced this issue?

Not to my knowledge as I posted the problem on Mint's forum and as yet had no reply. Yes I find it a most strange phenomena. Yesterday I forgot I was in Mate; closed the lid; came back some time later to find the laptop still going. So yes I'll file a bug report.

corp769 11-29-2011 12:55 PM

Well for the heck of it, can you post the contents of your /var/log/pm-suspend.log for me, using code tags?

AllanP 11-29-2011 07:42 PM

1 Attachment(s)
Quote:

Originally Posted by corp769 (Post 4537556)
Well for the heck of it, can you post the contents of your /var/log/pm-suspend.log for me, using code tags?

Looks like I've attached the log twice and can't remove one. Thanks for your help.
Edit: Guess I didn't; preview had me confused; doesn't take much.

Shark82 11-30-2011 10:31 AM

Open terminal and run "acpi_listen". Then close the lid, and post the output here. Post the file /etc/acpi/handler.sh too.

AllanP 11-30-2011 01:56 PM

allan@Laptop ~ $ acpi_listen
button/lid LID0 00000080 0000000f
button/lid LID0 00000080 00000010


Hmmmm there is no such file: handler.sh

Shark82 11-30-2011 02:23 PM

Then show me the output of /etc/acpi folder.What files are there?

Shark82 11-30-2011 02:41 PM

Then show me the output of /etc/acpi folder.What files are there?

Is acpid daemon running?

AllanP 11-30-2011 06:34 PM

Quote:

Originally Posted by Shark82 (Post 4538498)
Then show me the output of /etc/acpi folder.What files are there?

asus-brn-down.sh lockbtn.sh sleepbtn.sh
asus-brn-up.sh mailbtn.sh sleep.sh
asus-touchpad.sh mediabtn.sh stopbtn.sh
asus-wireless.sh nextbtn.sh thinkpad-stretchortouchpad.sh
batterybtn.sh playbtn.sh tosh-wireless.sh
ejectbtn.sh powerbtn.sh undock.sh
events power.sh videobtn.sh
hibernate.sh prevbtn.sh webbtn.sh
ibm-wireless.sh rotatescreen.sh
lid.sh screenblank.sh


acpid doesn't show on System Resources or should i be looking elsewhere

Shark82 12-01-2011 03:29 AM

Show me the content of sleep.sh file.
What distribution do you use?

AllanP 12-01-2011 01:55 PM

1 Attachment(s)
Quote:

Originally Posted by Shark82 (Post 4538915)
Show me the content of sleep.sh file.
What distribution do you use?

Linux Laptop 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linu

AllanP 12-01-2011 09:51 PM

I know I am repeating myself,but lid close suspends in Mint Gnome and Gnome Classic, but not in Mint Mate. I can however initiate suspend by the "Quit / Suspend" menu in Mate.


All times are GMT -5. The time now is 08:40 AM.