ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@tdr.pibhe.com>
To: community@altlinux.ru
Subject: [Comm] APC BackUPS USB
Date: Tue, 19 Oct 2004 18:23:02 +0300
Message-ID: <m3hdoqu3zd.fsf@mrkooll.tdr.pibhe.com> (raw)

Hi!
Кому-то удалось заставить работать nut с APC BackUPS по USB кабелю? 
У меня оно вообще-то запустилось
в ups.conf 
[APCBackUPS650]
        driver = hidups
        port = /dev/usb/hiddev0

запускаю upsdrv, upsd, upsmon

Вроде работает и даже показывает состояние UPS по 
upsc APCBackUPS650@localhost
battery.charge: 97
battery.runtime: 1080
battery.voltage: 13.3
driver.name: hidups
driver.parameter.port: /dev/usb/hiddev0
driver.version: 2.0.0
ups.mfr: American Power Conversion
ups.model: Back-UPS 500 FW: 6.4.I USB FW: c1 
ups.serial: BB0323007816
ups.status: OL

Тольк есть проблема:
Если пропадает свет - падает драйвер 
в логах
Oct 19 18:14:07 testlin kernel: hub.c: already running port 1 disabled by hub (EMI?), re-enabling...
Oct 19 18:14:07 testlin kernel: usb.c: USB disconnect on device 00:1d.1-1 address 2
Oct 19 18:14:08 testlin kernel: hub.c: new USB device 00:1d.1-1, assigned address 3
Oct 19 18:14:08 testlin kernel: usb-uhci.c: interrupt, status 3, frame# 505
Oct 19 18:14:08 testlin hidups[2108]: read: Input/output error
Oct 19 18:14:08 testlin upsd[2038]: UPS [APCBackUPS650] disconnected - check driver
Oct 19 18:14:08 testlin upsd[2038]: Data for UPS [APCBackUPS650] is stale - check driver
Oct 19 18:14:09 testlin kernel: hiddev0: USB HID v1.00 Device [American Power Conversion Back-UPS 500 FW: 6.4.I USB FW: c1 ] on usb3:3.0
Oct 19 18:14:09 testlin upsmon[1292]: Poll UPS [APCBackUPS650@localhost] failed - Driver not connected
Oct 19 18:14:09 testlin upsmon[1292]: Communications with UPS APCBackUPS650@localhost lost

Ну и соответственно комп выключать не собирается.
Система - Master 2.4
Что подкрутить?
-- 

With Best Regards, Maxim Tyurin aka Bungarus
JID:	MrKooll@jabber.pibhe.com



             reply	other threads:[~2004-10-19 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19 15:23 Maxim Tyurin [this message]
2004-10-19 18:04 ` Sergey Vlasov
2004-10-19 18:17   ` Maxim Tyurin
2004-10-20  5:35     ` Fireball

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=m3hdoqu3zd.fsf@mrkooll.tdr.pibhe.com \
    --to=mrkooll@tdr.pibhe.com \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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