ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] [HCL] Powercom KIN-1000AP + nut = OK (sort of)
@ 2007-01-17 22:10 Michael Shigorin
  2007-01-18  5:43 ` Alexey Sidorov
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Shigorin @ 2007-01-17 22:10 UTC (permalink / raw)
  To: hardware

	Здравствуйте.
Отчитываюсь о свежекупленной железяке, которая обозначена
как Powercom KIN-1000AP и подключена по RS232.

С nut-2.0.2-alt3.1 из Sisyphus (более ранние просто не пробовал,
на 2.0.4 отличий не обнаружено, к 2.0.5 как минимум alt-chroot
patch притирать надо) завелось (service upsdrv start) с таким
/etc/nut/ups.conf:

[powercom]
        driver = powercom
        port = /dev/ttyS0
        desc = "Workstation"
        modelname = "KIN1000AP"
        type = KIN1500AP

Без указания типа (default: Trust) получаем в /var/log/messages:

powercom[19788]: data receiving error (-1 instead of 11 bytes)

при KIN525AP -- не взлетело так:

powercom[19313]: data receiving error (validation check)

почесав в затылке насчёт того, как вендоры порой делают
"шаг вперёд и две назад" и немного погуглив (безрезультатно),
поставил type = KIN1500AP и всё поехало; добавив nut-server
и сделав

# service upsd start

в ответ на вопрос получаем документированный ответ:

# upsc powercom@localhost ups.status
OL
# upsc powercom@localhost 
battery.charge: 100.0
driver.name: powercom
driver.parameter.modelname: KIN1000AP
driver.parameter.port: /dev/ttyS0
driver.parameter.type: KIN1500AP
driver.version: 2.0.2
driver.version.internal: $ Revision: 0.5 $
input.frequency: 49.10
input.voltage: 261.2
input.voltage.nominal: 230
output.frequency: 49.61
output.voltage: 261.2
ups.load: 14.2
ups.mfr: PowerCom
ups.model: KIN1000AP
ups.model.type: KIN1500AP
ups.serial: Unknown
ups.status: OL

Хотя похоже, что более-менее правдоподобный input.voltage
бывает, если добавить в ups.conf ещё 

	voltage = {1.6500,0.0000,0.82857,0.0000}

(выключив 220 -- получаем output.voltage: 36.3, по тестеру
-- около 195--197V)

PS: (init 1, umount -a) upsdrvctl shutdown питание нифига
не отключает, но это уже отдельно смотреть надо...

PPS: тут AlexSid бросался патчиком для BNT1200AP.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-18  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-17 22:10 [Hardware] [HCL] Powercom KIN-1000AP + nut = OK (sort of) Michael Shigorin
2007-01-18  5:43 ` Alexey Sidorov

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

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


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