tak więc kupiłem używanego Smart-UPS 600 polaczyłem kablem przez rs232 zainstalowałem pakiet apcupsd ale dalej nie mogę sobie poradzić
wynik apctest
2009-12-24 14:16:04 apctest 3.14.4 (18 May 2008) unknown
Checking configuration ...
Attached to driver: apcsmart
sharenet.type = DISABLE
cable.type = CUSTOM_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 171
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
na pewno mam źle ustawiony parametr DEVICE /dev/ttyS0 ale co tam wpisać i skad to wziąć.
mam w ustawieniach
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyS0
nic więcej nie zmieniałem w configu
Zmieniłem wpis na ttyS01 i otrzymałem wynik2009-12-24 14:51:02 apctest 3.14.4 (18 May 2008) unknown
Checking configuration ...
Attached to driver: apcsmart
sharenet.type = DISABLE
cable.type = CUSTOM_SMART
You are using a SMART cable type, so I'm entering SMART test mode
mode.type = APCSMART_UPS
Setting up the port ...
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.
1) Query the UPS for all known values
2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
7) Quit
Select function number:
Więc chyba działa ale co oznaczają punkty od 1 do 7 1 to chyba cały tes 7 to wyjście z testu a pozostałe?