ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Roman Lesnichenko <sisyphus@avangard.dn.ua>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] версия NUT, отсутствие майнтейнера и "что делать".
Date: Tue, 25 May 2010 13:51:04 +0300
Message-ID: <4BFBAB98.1040401@avangard.dn.ua> (raw)
In-Reply-To: <AANLkTimEd0mIWUsT9y5FFNMStwhFq6CYpy6gujw5QZeQ@mail.gmail.com>

22.05.2010 01:13, Aleksey Novodvorsky пишет:

>
> 2.4.1:
> https://bugzilla.altlinux.org/show_bug.cgi?id=21433
> Тестируйте.
> Rgrds, Алексей

Спасибо. Увы.

Для начала не кушало порт ttyS0 и /var/lib/upsd из-за нехватки пермишенов.
Пришлось добавить в группу uucp юзера upsmon, а в группу upsmon юзера upsd.
Запустилось.


Расклад тот-же, что и с 2.0.5. Вольтаж батареи показывает неверно. Заряд 
не показывает вааще. Может нужный патч где-то потерялся? :)

car /var/log/messages:
May 25 13:36:01 romka upsdrvctl: Megatec protocol UPS detected.
May 25 13:36:03 romka upsdrvctl: Cannot calculate charge percentage for 
this UPS.
 >---------------------------------------------------------------------------------------------------------
May 25 13:36:04 romka megatec[6198]: Startup successful
May 25 13:36:04 romka upsdrvctl: Network UPS Tools - UPS driver 
controller 2.4.1
May 25 13:36:04 romka upsdrv: Starting UPS drivers: succeeded
May 25 13:36:04 romka upsd: listening on 127.0.0.1 port 3493
May 25 13:36:04 romka upsd[6217]: listening on 127.0.0.1 port 3493
May 25 13:36:04 romka upsd: Connected to UPS [myups]: megatec-myups
May 25 13:36:04 romka upsd[6217]: Connected to UPS [myups]: megatec-myups
May 25 13:36:04 romka upsd[6252]: Startup successful
May 25 13:36:04 romka upsd: upsd startup succeeded
May 25 13:36:04 romka upsmon: UPS: myups@localhost (master) (power value 1)
May 25 13:36:04 romka upsmon: Using power down flag file /etc/killpower
May 25 13:36:04 romka upsmon[6305]: Startup successful
May 25 13:36:04 romka upsmon: upsmon startup succeeded
May 25 13:36:04 romka upsd[6252]: User upsmon@127.0.0.1 logged into UPS 
[myups]


[les@romka nut]$ upsc myups@localhost
battery.voltage: 2.30
driver.name: megatec
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.4.1
driver.version.internal: 1.6
input.frequency: 50.0
input.voltage: 230.7
input.voltage.fault: 354.4
input.voltage.maximum: 234.9
input.voltage.minimum: 227.9
output.voltage: 221.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 12.0
ups.mfr: unknown
ups.model: unknown
ups.serial: unknown
ups.status: OL
ups.temperature: 27.0
ups.type: online


Роман.



  reply	other threads:[~2010-05-25 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 16:58 Roman Lesnichenko
2010-05-21 22:13 ` Aleksey Novodvorsky
2010-05-25 10:51   ` Roman Lesnichenko [this message]
2010-06-12 17:47     ` Roman Lesnichenko
2010-06-17 10:20       ` Michael Shigorin
2010-06-17 12:18         ` Roman Lesnichenko
2010-06-17 12:28           ` Алексей Шенцев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BFBAB98.1040401@avangard.dn.ua \
    --to=sisyphus@avangard.dn.ua \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git