[Eisfair] [eis-2] apcupsd funktioniert nicht mit smartups 1400

Sebastian M. eisfair2user at yahoo.de
Mo Jan 2 18:05:20 CET 2012


Hallo NG!

Ich betreibe hier ein eisfair-2 (base 1.7.6 und Kernel 2.6.38-8), der an 
einer APC Smart UPS 1400 hängt. Diese USV hat zwei serielle 
Monitoringanschlüsse, die zur USV-Notfallsteuerung dienen.

Ich habe das apcupsd-Paket installiert, aber bekomme aber keine 
Verbindung zustande.

-------------------------------------------------------------------------------
root at eisfair:~# apctest


2011-11-06 20:43:29 apctest 3.14.8 (16 January 2010) unknown
Checking configuration ...
Attached to driver: apcsmart
sharenet.type = DISABLE
cable.type = APC_940_1524C (smart)

You are using a SMART cable type, so I'm entering SMART test mode
mode.type = APCSMART_UPS
Setting up the port ...
apctest FATAL ERROR in smartsetup.c at line 184
PANIC! Cannot communicate with UPS via serial port.
Please make sure the port specified on the DEVICE directive is correct,
and that your cable specification on the UPSCABLE directive is correct.
apctest error termination completed
-------------------------------------------------------------------------------

Es wird das originiale Kabel verwendet und der serielle Anschluss vom
Mainboard verwendet. Auf einem Test-PC mit Windows XP und Ubuntu 11.10 
(32bit) bekomme ich ebenfalls keine Verbindung zustande.

Peter Schiefer aus der Newsgroup konnte sein APC Smart UPS 1400 
ansprechen. Siehe [1]!

Meine Konfiguration

--- /etc/config.d/apcupsd (gekürzt) ---
START_APCUPSD='yes'
APCUPSD_UPSCABLE='940-1524C'

APCUPSD_UPSTYPE='apcsmart'

APCUPSD_DEVICE='/dev/ttyS0'

---------------------------------------

Es ändert auch nichts, wenn man bei APCUPSD_UPSCABLE 'smart' einträgt 
oder den eisfair bzw. Test-PC mit angeschlossenen Kabel neustartet.

Gruß
Sebastian

[1] 
https://groups.google.com/group/spline.eisfair.dev/msg/f9dfc51b6d899893?hl=de


Mehr Informationen über die Mailingliste Eisfair