-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2008-11-20 at 18:03 -0500, Patrick Shanahan wrote:
Of course, the root problem is why is it so slow. Can you imagine a one minute delay on every boot?
That is *wierd* :^). It must be the ups unit is slow to communicate.
No, not that. Once it gets going it prints a message about every five seconds, if you start the driver on console. response to commands is fast. It must be one of the commands or initial tests that fail. I'll think that out some other day. Do you know of a pipe program that precedes every line with a time stamp? I want to get the output of the program to console with each line timed, so that I know well were the stoppage is and thus I can report it to the developers. Like: /usr/lib/ups/driver/megatec_usb -DDD -a myups | timerprogram 00:00.00 Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec_usb]
One suggestion, the present config walls notification when you go "onbatt", but not when returning. I have changed: NOTIFYFLAG ONLINE SYSLOG to NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
as I cannot find another place to see the status other than grepping /var/log/messages:
grep myups /var/log/messages Nov 20 17:08:01 wahoo upsmon[11184]: UPS myups@localhost on battery Nov 20 17:08:31 wahoo upsmon[11184]: UPS myups@localhost on line power
It's rather alarming to get notice that you are on battery backup and no notice that normalcy has returned :^)
I guess! No, I have disabled all "wall" messages. If I'm using the computer, I know that power is out very well, the lights go out in the room ;-) As I don't use it from remote, I don't need it. And the wall messages in the middle of the console are a real nuisance if I want to take emergency measures before the battery runs out, like umounting external media. What I have to investigate is the procedure to automatically hibernate the machine after three minutes on battery. It is documented, I know, I just was busy on getting it to run first. My need for the software is precisely that: hibernate the machine fast if the power fails and I'm not there to do it manually. I don't want to stress the battery for the 10..20 minutes (7Ah batt) it lasts, because it is really stressful and takes 8 hours to recharge. It would be different with a large battery. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkmATgACgkQtTMYHG2NR9VEeQCgl+mzEoifqVvS9KWQbQoqBrO/ VDIAnjlIpazOVkXyOOYAsDibLP9v3fzQ =4BfY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org