ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] APC BackUPS USB
@ 2004-10-19 15:23 Maxim Tyurin
  2004-10-19 18:04 ` Sergey Vlasov
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Tyurin @ 2004-10-19 15:23 UTC (permalink / raw)
  To: community

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



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

end of thread, other threads:[~2004-10-20  5:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-19 15:23 [Comm] APC BackUPS USB Maxim Tyurin
2004-10-19 18:04 ` Sergey Vlasov
2004-10-19 18:17   ` Maxim Tyurin
2004-10-20  5:35     ` Fireball

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