View Single Post
Old 07-25-2009, 12:05 PM   #102
Gearhead
Enthusiast
Gearhead began at the beginning.
 
Posts: 32
Karma: 45
Join Date: Dec 2007
Device: Kindle DX, PRS505
Quote:
Originally Posted by ebs View Post
I have it on my DX and it does seem to work
Very strange. I wonder if I have a different version? My DX reports Kindle 2.1 (337560062) on the bottom of the settings screen. Is this the update that is just now coming out?

Here is my factory fresh /etc/powerd.conf

Code:
## Name of the configuration.  This name is also used for 
## controlling this daemon through pmond
## No spaces or speal characters in the name
config_name=powerd

## The command used to start the process followed by arguments to pass.
## Make sure the process does not daemonize itself.  
## If a start command is not provided, you must provide a PID file
## to monitor
start_cmd=/usr/bin/powerd -f

## Environment that should be passed to the program. Use the format:
## env=<env name>=<env value> <env name>=<env value> ...
#env=

## Where to find the PID file of the device.  This is not
## necessary if the daemon is started by pmon
pid_file=/var/run/powerd.pid

## This is the maximum memory the process is allowed to use.  
## If the mem limit exceeds, the process is restarted
## The value is in KB
mem_limit=5000

## The initial state of the process.  If the init state is 
## start, the process is started when pmond starts.  If the
## init state is stop, the process is not started until it is
## explicitly started.  If there is no start command specified,
## this param is ignored.
init_state=stop

## How frequently the process should be looked at by pmon.  If a
## process is started by pmond and if the process dies, it is restarted
## immediately.  This interval applies to mem checks and 
## when a process is not a direct child of pmond
process_interval=20

## If sent to 1, any output from the process is directly sent to syslog
#output_to_syslog=1

## Following file's timestamp is checked every given iterations.
## If it is not updated it is noted as a strike.  If the number of
## strikes reach a given max number, the process is determined to be
## hung and restarted
heartbeat_file=/var/run/powerd.stamp

## Check heartbeat file once in this many iterations.
## Default is 5 (amounts to 1 minute if the process interval is 
## left default)
#heartbeat_itr=5

## Give the process this many chances to touch the heartbeat file.
## Default is 3
#heartbeat_strikes=3
-robert
Gearhead is offline