The time now is Mon 23 Apr 2018, 02:11
All times are UTC - 4 |
Page 2 of 2 [21 Posts] |
Goto page: Previous 1, 2 |
Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Wed 16 Feb 2011, 05:26 Post subject:
Re: Changed acpid_poweroff Subject description: for me it now supports standby |
|
soliver wrote: | I made some changes to get standby working (and some other little things). |
Great, soliver!
I suggest to place the 'Cancel' button at the left end, so that we can just press 'Enter' key to continue Puppy.
This is for the sake if we press the power button by mistake seeing the screen blacked out with the screen saver.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
Back to top
|
|
 |
ahoppin
Joined: 16 May 2011 Posts: 147
|
Posted: Tue 12 Jul 2011, 23:00 Post subject:
|
|
I just loaded acpid-1.0.10-1.pet on my Thinkpad T23 with Lucid Puppy 5.2.5. The shutdown on power button press doesn't work for me (though that does work in Lighthouse Puppy 5.0.3), but the suspend function seems to work great. Since that's what I'm mainly interested in, I call this script a success. Thanks!
|
Back to top
|
|
 |
ahoppin
Joined: 16 May 2011 Posts: 147
|
Posted: Wed 13 Jul 2011, 01:29 Post subject:
|
|
Guess I spoke too soon. Audio is muted after a suspend/restore cycle. However I found that issuing the following commands restores the audio:
amixer PCM mute
amixer PCM unmute
amixer Master mute
amixer Master unmute
It seems as if all of them are required.
I put these in a shell script so they're easy to run on resuming, but is there any way to make this automatic? (Apologies for my ignorance.)
|
Back to top
|
|
 |
chiron

Joined: 30 Oct 2006 Posts: 87 Location: Franken, Bavaria, Germany
|
Posted: Fri 15 Jul 2011, 05:46 Post subject:
|
|
You can add all actions you want done after wakeup in your suspend script ...
You find the script /etc/acpi/actions/suspend.sh
In the script, find the line
Code: | # process at recovery from suspend |
following that line, you can put in the commands you want executed after wakeup. I suggest you also add
Code: | /etc/rc.d/rc.network restart |
since the network might also be down after the siesta
|
Back to top
|
|
 |
ahoppin
Joined: 16 May 2011 Posts: 147
|
Posted: Sat 16 Jul 2011, 13:55 Post subject:
|
|
That worked perfectly! Many thanks!
|
Back to top
|
|
 |
safbto1st

Joined: 16 Nov 2017 Posts: 7
|
Posted: Thu 16 Nov 2017, 11:27 Post subject:
Re: acpid-1.0.10-1.pet Subject description: suspend support for note books, shutdown dialog |
|
Hi All, I'm safbto1st, running Slacko 6.3.0 and Tahr on many machines for years now, yet my first post here.
Thanks to acpid-1.0.10-1.pet:
shinobar wrote: | Here you can find acpid-1.0.10-1.pet supports suspend with lid closing for notebooks.
it also offers shutdown dialog when the power button is pressed. |
my ThinkPad X31 (Slacko 6.3.0) stopped crashing after closing the lid!
It was horrible! After closing the lid the "moon" diode was lit, and when i opened it the diode was still on, the LCD was lit, but black. Crash!
Now closing the lid only turns off LCD, but it is exactly what i was looking for ;P
Thanks!
ps. Power Button still does ...nothing.
|
Back to top
|
|
 |
|
Page 2 of 2 [21 Posts] |
Goto page: Previous 1, 2 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|