SKFREE

Hardware - APC SmartUPS + debian

sef - 03.03.2017 - 21:43
Post subject: APC SmartUPS + debian
Nazdar. Snazim sa rozbehat novu UPS aby komunikovalo s debianom.

Model UPS: APC SMart UPS 2200
Debian v 6.
lsusb -v -d 051d:0003

Bus 001 Device 003: ID 051d:0003 American Power Conversion UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x051d American Power Conversion
idProduct 0x0003 UPS
bcdDevice 1.06
iManufacturer 1 American Power Conversion
iProduct 2 Smart-UPS 2200 FW:UPS 09.3 / ID=18
iSerial 3 AS1620253277

Potom som upravil:

vi /etc/apcupsd/apcupsd.conf

UPSCABLE : USB
UPSTYPE : USB
DEVICE :

apctest


2017-03-03 21:40:27 apctest 3.14.8 (16 January 2010) debian
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 609
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
apctest error termination completed

Neviete niekto co sa mu nepaci tu: apctest FATAL ERROR in linux-usb.c at line 609

Docital som sa ze pokial je to SMART UPS tak mam dat nie USB Type USB ale SMART aj to som skusal ale takisto to nejde.

Dakujem za radu.
deadbiker - 05.03.2017 - 17:18
Post subject:
Ahoj, moc ti neporadim az taky guru niesom.
Trocha stare distro mas Wink
1. Aky tam mas kernel? (verzia, custom kernel?)
2. Ako si instaloval toho deamona cez repo (apt-get-way?) alebo si kompiloval?
3. Co hovori dmesg, lsmod, logy..(pastni to sem)

Posli co mas v konfiguraku /etc/apcupsd/apcupsd.conf
Code: › cat /etc/apcupsd/apcupsd.conf


Podla mna ti chyba modul- nejaky:D

Pises:
Quote: › Potom som upravil:

vi /etc/apcupsd/apcupsd.conf

UPSCABLE : USB
UPSTYPE : USB
DEVICE :

Co si dal za DEVICE : ???
//edit aha uz citam ak je pripojeny cez USB tak sa to nechava prazdne.

a co mas este v /etc/default/apcupsd posli tiez

a deamon ti bezi? service apcupsd status

aj config jadra by bolo fajn vidiet. gzip -d < /proc/config.gz | grep HIDDEV
All times are GMT
Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits