apcupsd - periodicke odpojovani usb ups

Josef Hrabec hrabec at naxo.net
Mon Dec 13 10:08:50 CET 2010


Hezky den,

mam pripojenou UPS APC Back-UPS 500 k serveru NEC Express5800/120Rf-1
prostrednictvim USB kabelu s instalovanym FreeBSD RELEASE 7.3 a
apcupsd-3.14.8_1. V okamziku, kdy nastartuji apcupsd daemon, tak se zacne
zminena UPS periodicky odpojovat a zase pripojovat. Apcupsd pak hlasi
periodicky ztratu a opetovne obnoveni spojeni s UPS. Pokud se apcupsd
zastavi, tak UPS zustava pripojena a dale se jiz tento jev neopakuje. V
logu to pri spustenem apcupsd vypada takto:

Nov 30 13:50:25 server apcupsd[50767]: apcupsd 3.14.8 (16 January 2010)
freebsd startup succeeded
Nov 30 13:50:28 server kernel: ugen0: at uhub1 port 1 (addr 2) disconnected
Nov 30 13:50:28 server kernel: ugen0: detached
Nov 30 13:50:33 server root: Unknown USB device: vendor 0x051d product
0x0002 bus uhub1
Nov 30 13:50:33 server kernel: ugen0: <American Power Conversion Back-UPS
500 FW: 6.4.I USB FW: c1, class 0/0, rev 1.10/1.00, addr 2> on uhub1
Nov 30 13:50:35 server apcupsd[50767]: Communications with UPS restored.
Nov 30 13:50:36 server kernel: ugen0: at uhub1 port 1 (addr 2) disconnected
Nov 30 13:50:36 server kernel: ugen0: detached
Nov 30 13:50:41 server root: Unknown USB device: vendor 0x051d product
0x0002 bus uhub1
Nov 30 13:50:42 server kernel: ugen0: <American Power Conversion Back-UPS
500 FW: 6.4.I USB FW: c1, class 0/0, rev 1.10/1.00, addr 2> on uhub1
Nov 30 13:50:43 server apcupsd[50767]: Communications with UPS restored.
Nov 30 13:52:48 server kernel: ugen0: at uhub1 port 1 (addr 2) disconnected
Nov 30 13:52:48 server kernel: ugen0: detached
Nov 30 13:52:53 server root: Unknown USB device: vendor 0x051d product
0x0002 bus uhub1
Nov 30 13:52:53 server kernel: ugen0: <American Power Conversion Back-UPS
500 FW: 6.4.I USB FW: c1, class 0/0, rev 1.10/1.00, addr 2> on uhub1
Nov 30 13:52:55 server apcupsd[50767]: Communications with UPS restored.

Zkusil jsem rekompilovat kernel bez podpory uhid a nasledne take bez ukbd,
ums a udbp, problem vsak stale pretrvava. Pokusil jsem se take tuto UPS
pripojit k obdobnemu serveru NEC Express5800/120Rd-1 s instalovanou
shodnou verzi FreBSD a Apcupsd, ale problem vsak pretrvava i tam.

Drive byla tato UPS pripojena k obycejnemu PC s FreeBSD RELEASE 6.4 a
apcupsd-3.14.5_1 a tam to bezelo bez problemu.


Pokud jste se nekdo nahodou setkal s obdobnym problemem s periodickym
odpojovani UPS s USB rozhranim a podarilo se jej nejak vyresit, rad bych
poprosil o pripadne postrehy.

Diky,
Pepa.




More information about the Users-l mailing list