Hi,
I have an UPS for my home server. It has an USB and a serial connector.
It is labelled as "Claire 1500VA" but when I connect it with the USB
cable lsusb lists it as "06da:0003 Phoenixtec Power Co., Ltd", in
/proc/bus/usb/devices it sais "Manufacturer=OMRON" and "Product=USB
UPS".
Following the online manual I have set in /etc/apcupsd/apcupsd.conf like that:
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
But when I try to start apcupsd I get the next error in system log:
Wed Jul 23 17:45:44 CEST 2008 apcupsd 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>.
Wed Jul 23 17:21:44 CEST 2008 apcupsd error shutdown completed
This is the full output form apctest:
apctest -d 5
2008-07-23 17:48:35 apctest 3.14.3 (20 January 2008) gentoo
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
Is this UPS supported by apcupsd or I should give up?
---------------------
System info:
Gentoo Linux 2008.0
apcupsd 3.14.3 (20 January 2008) configured with ncurses,nls and usb
enabled and with cgi,doc,gnome and snmp disable
Linux Kernel 2.6.25-r6
Kernel options enabled:
- "Input Core Support" (CONFIG_INPUT)
- "Support for USB" (CONFIG_USB)
- "Preliminary USB File System" (CONFIG_USB_DEVICEFS)
- "USB Human Interface Device (full HID) support" (CONFIG_USB_HID)
- "/dev/hiddev raw HID device support" (CONFIG_USB_HIDDEV)
- "UHCI (Intel PIIX4, VIA, ...) support" (CONFIG_USB_UHCI)
# ls /dev/hiddev0 -l
crw-rw-rw- 1 root root 180, 96 jul 23 2008 /dev/hiddev0