The time now is Wed 19 Jun 2013, 00:41
All times are UTC - 4 |
|
Page 2 of 2 Posts_count |
Goto page: Previous 1, 2 |
| Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Wed 16 Feb 2011, 05:26 Post_subject:
Re: Changed acpid_poweroff Sub_title: 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.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
ahoppin
Joined: 16 May 2011 Posts: 73
|
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: 73
|
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: 74 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: 73
|
Posted: Sat 16 Jul 2011, 13:55 Post_subject:
|
|
That worked perfectly! Many thanks!
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 Posts_count |
Goto page: Previous 1, 2 |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|