ups fungujici pod linuxem

Honza Novacek konference na cimboraservis.cz
Středa Květen 30 13:01:52 CEST 2007


Dobrý den,
30. května 2007, 11:35:30, napsal jste:

> co se vam nepodarilo rozchodit? Mam hromadku ruznych Smart-UPS a vsechny
> mi s apcupsd perfektne funguji - vypinani pri vypadku a vybite baterii,
> zapinani po obnoveni, to vse i s nekolika stroji na jedne UPS (tedy
> master-slave nastaveni apcupsd).

> Tosuja

Dotaz na nefungujici ups jsem posilal sem do konfery, ale nikdo
neporadil.
Slo o to ze se přerušovala a znovu obnovovala komunikace mezi serverem
a upskou, kdyz jsem to trapil delsi dobu, tak to dokonce server vypnulo.
Kabely mam jak USB tak serial.

JN



Dotaz znel:

 zdravim konfenreci, potykam se s nasledujicim problemem.
 Mam upesku APC SmartUPS 1500 s USB kabelem.
 Pokud spustim apcupsd, neustale se ztraci a obnovuje spojeni s upeskou
 
v logu to potom vypada takto:
Thu Sep 28 20:45:12 CEST 2006  apcupsd 3.10.18 (21 July 2005) redhat startup succeeded
Thu Sep 28 20:45:29 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:45:47 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:46:04 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:46:21 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:46:37 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:46:54 CEST 2006  Communications with UPS restored.
Thu Sep 28 20:47:10 CEST 2006  Communications with UPS restored.

dale v dmesg vidim pro me podivne veci:
hiddev96: USB HID v1.10 Device [American Power Conversion Smart-UPS 1500 FW:653.12.I USB FW:4.2] on usb-0000:00:1d.1-1
drivers/usb/input/hid-core.c: ctrl urb status -71 received
drivers/usb/input/hid-core.c: ctrl urb status -71 received
drivers/usb/input/hid-core.c: input irq status -84 received
usb 3-1: USB disconnect, address 29
usb 3-1: new low speed USB device using address 30
hiddev96: USB HID v1.10 Device [American Power Conversion Smart-UPS 1500 FW:653.12.I USB FW:4.2] on usb-0000:00:1d.1-1
drivers/usb/input/hid-core.c: input irq status -84 received
usb 3-1: USB disconnect, address 30


cat /proc/bus/usb/devices
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 32 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 0.06
S:  Manufacturer=American Power Conversion
S:  Product=Smart-UPS 1500 FW:653.12.I USB FW:4.2
S:  SerialNumber=AS0532327939
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 30mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   6 Ivl=100ms
 
apcaccess status
informace vypisuje, ale neustale se do konzole pise "Communications with UPS restored"





Další informace o konferenci Linux