Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 28.03.2024 - 13:47


APC SmartUPS + debian

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
sef
Post subject: APC SmartUPS + debian  PostPosted: 03.03.2017 - 21:43 #112475
Basic


Joined: Feb 18, 2007
Posts: 418

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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
deadbiker
12 Post subject: RE: APC SmartUPS + debian  PostPosted: 05.03.2017 - 17:18 #112479
Basic


Joined: Nov 11, 2009
Posts: 195

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)