[SOLVED] Installing an APC UPS on mageia 2

I have just installed an APC CS 650 UPS on mageia 2. The apcupsd 3.14.10 64bit rpm is installed and I get the following results --
So the UPS is being seen on its usb i/f but turning mains power off fails to cause a shutdown, so obviously I need to do some configuration, any assistance will be gratefully received.
Update After another reboot I now get a message "Power Failure Running on Battery" but it still will not shut down.
- Code: Select all
cat /proc/bus/usb/devices
T: Bus=07 Lev=02 Prnt=06 Port=02 Cnt=02 Dev#= 10 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=051d ProdID=0002 Rev= 0.06
S: Manufacturer=American Power Conversion
S: Product=Back-UPS CS 650 FW:817.v9.I USB FW:v9
S: SerialNumber=4B1215P08180
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=100ms
- Code: Select all
ls -l /sys/bus/usb/drivers/usbhid
drwxr-xr-x 2 root root 0 Nov 25 15:06 hub/
drwxr-xr-x 2 root root 0 Nov 25 15:06 usb/
drwxr-xr-x 2 root root 0 Nov 25 15:06 usbfs/
drwxr-xr-x 2 root root 0 Nov 25 15:06 usbhid/
drwxr-xr-x 2 root root 0 Nov 25 15:06 usb-storage/
- Code: Select all
ls -al /dev/usb/
drwxr-xr-x 2 root root 80 Nov 25 15:09 ./
drwxr-xr-x 20 root root 4160 Nov 25 15:09 ../
crw------- 1 root root 180, 0 Nov 25 15:08 hiddev0
crw------- 1 root root 180, 1 Nov 25 15:09 hiddev1
So the UPS is being seen on its usb i/f but turning mains power off fails to cause a shutdown, so obviously I need to do some configuration, any assistance will be gratefully received.
Update After another reboot I now get a message "Power Failure Running on Battery" but it still will not shut down.