Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 17:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
acpid-1.0.8-i486 pet package for Puppy 4.1.x
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Author Message
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: 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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
ahoppin

Joined: 16 May 2011
Posts: 89

PostPosted: 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
View user's profile Send private message 
ahoppin

Joined: 16 May 2011
Posts: 89

PostPosted: 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
View user's profile Send private message 
chiron


Joined: 30 Oct 2006
Posts: 87
Location: Franken, Bavaria, Germany

PostPosted: 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 Wink
Back to top
View user's profile Send private message 
ahoppin

Joined: 16 May 2011
Posts: 89

PostPosted: Sat 16 Jul 2011, 13:55    Post subject:  

That worked perfectly! Many thanks!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [20 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

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
[ Time: 0.0497s ][ Queries: 13 (0.0061s) ][ GZIP on ]