Koozali.org: home of the SME Server

Still Having problems with USB APC UPS

Offline ntblade

  • *
  • 252
  • +0/-0
Still Having problems with USB APC UPS
« on: November 11, 2008, 12:15:27 PM »
Hi all,
I'm still having problems getting an APC Back-UPS CS 650:
http://www.apc.com/resource/include/techspec_index.cfm?base_sku=BK650EI&total_watts=200

If I do:
Code: [Select]
[root@pluto ~]# config show nut
nut=service
    MasterPass=798384915195988
    Model=usbhid-ups
    SlavePass=449049644998996
    status=enabled
and:
Code: [Select]
[root@pluto ~]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
and:
Code: [Select]
[root@pluto ~]# usbhid-ups -u root -DD -a UPS
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.2.0-)

debug level is '2'
Checking device (0000/0000) (005/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.9-67.0.7.EL uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:10.3
- Bus: 005
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (004/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.9-67.0.7.EL uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:10.2
- Bus: 004
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (003/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.9-67.0.7.EL uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:10.1
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (051D/0002) (002/002)
- VendorID: 051d
- ProductID: 0002
- Manufacturer: American Power Conversion
- Product: Back-UPS CS 650 FW:817.v4.I USB FW:v4
- Serial Number: QB0701130772
- Bus: 002
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 1216)
Report descriptor retrieved (Reportlen = 1216)
Found HID device
Report Descriptor size = 1216
Detected a UPS: American Power Conversion/Back-UPS CS 650 FW:817.v4.I USB FW:v4
Using subdriver: APC/CyberPower HID 0.9
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3.000000
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 3.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 4.000000
Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x06, Offset: 8, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0e, Offset: 8, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x10, Offset: 8, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 50.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 10.000000
Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 13859.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0d, Offset: 0, Size: 16, Value: 1620.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 1620.000000
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.PowerSummary.DelayBeforeReboot, Type: Feature, ReportID: 0x13, Offset: 0, Size: 24, Value: 0.000000
Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x08, Offset: 0, Size: 16, Value: 120.000000
Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 16, Value: 12.000001
Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 16, Value: 13.510001
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x07, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x07, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x07, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x07, Offset: 3, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x07, Offset: 3, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x07, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x07, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x07, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x07, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x07, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x07, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x07, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x07, Offset: 8, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x07, Offset: 8, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x07, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x07, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x07, Offset: 10, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x07, Offset: 10, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x07, Offset: 11, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x07, Offset: 11, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input, ReportID: 0x07, Offset: 12, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Feature, ReportID: 0x07, Offset: 12, Size: 1, Value: 0.000000
Path: UPS.Battery.Test, Type: Input, ReportID: 0x16, Offset: 0, Size: 8, Value: 6.000000
Path: UPS.Battery.Test, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 6.000000
Path: UPS.Battery.APCBattCapBeforeStartup, Type: Feature, ReportID: 0x17, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.Battery.ff86001a, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.Battery.ff86001b, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x45, Offset: 0, Size: 24, Value: 66311.000000
Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 13859.000000
Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 100.000000
Path: UPS.Battery.RemainingTimeLimit, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 120.000000
Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 1620.000000
Path: UPS.Battery.Temperature, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 16, Value: 302.300018
Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 16, Value: 12.000001
Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 13.510001
Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x47, Offset: 0, Size: 8, Value: 239.000000
Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x48, Offset: 0, Size: 32, Value: -720464384.000000
Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 32, Value: 236.000000
Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x46, Offset: 0, Size: 8, Value: 230.000000
Path: UPS.Input.ff860052, Type: Feature, ReportID: 0x21, Offset: 0, Size: 8, Value: 8.000000
Path: UPS.Input.ff860061, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 1.000000
Path: UPS.Input.ff860024, Type: Feature, ReportID: 0x42, Offset: 0, Size: 8, Value: 125.000000
Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 16, Value: 38.000000
Path: UPS.Output.ConfigActivePower, Type: Feature, ReportID: 0x52, Offset: 0, Size: 16, Value: 400.000000
Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 16, Value: 50.000004
Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 16, Value: 230.000000
Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 16, Value: 230.000000
Path: UPS.Output.HighVoltageTransfer, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 266.000000
Path: UPS.Output.LowVoltageTransfer, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 180.000000
Path: UPS.Output.APCDelayBeforeStartup, Type: Feature, ReportID: 0x25, Offset: 0, Size: 16, Value: 0.000000
Path: UPS.Output.APCShutdownAfterDelay, Type: Feature, ReportID: 0x26, Offset: 0, Size: 16, Value: 0.000000
Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x27, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x28, Offset: 0, Size: 16, Value: 0.000000
Path: UPS.Output.DelayBeforeReboot, Type: Feature, ReportID: 0x29, Offset: 0, Size: 24, Value: 0.000000
Path: UPS.Output.APCForceShutdown, Type: Feature, ReportID: 0x40, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.Output.APCDelayBeforeShutdown, Type: Feature, ReportID: 0x41, Offset: 0, Size: 16, Value: -1.000000
Path: UPS.iProduct, Type: Feature, ReportID: 0x2e, Offset: 0, Size: 8, Value: 5.000000
Path: UPS.iSerialNumber, Type: Feature, ReportID: 0x2f, Offset: 0, Size: 8, Value: 2.000000
Path: UPS.iManufacturer, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 3.000000
Path: UPS.iName, Type: Feature, ReportID: 0x31, Offset: 0, Size: 8, Value: 6.000000
Path: UPS.APC_UPS_FirmwareRevision, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 7.000000
Path: UPS.APC_USB_FirmwareRevision, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 8.000000
Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x32, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 13859.000000
Path: UPS.ff860027, Type: Feature, ReportID: 0x3e, Offset: 0, Size: 32, Value: 0.000000
Path: UPS.ff860028, Type: Feature, ReportID: 0x3f, Offset: 0, Size: 32, Value: 0.000000
Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PresentStatus.Charging, Type: Input, ReportID: 0x33, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x33, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.Discharging, Type: Input, ReportID: 0x33, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x33, Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ACPresent, Type: Input, ReportID: 0x33, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x33, Offset: 2, Size: 1, Value: 1.000000
Path: UPS.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x33, Offset: 3, Size: 1, Value: 1.000000
Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x33, Offset: 3, Size: 1, Value: 1.000000
Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x33, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x33, Offset: 4, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x33, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x33, Offset: 5, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x33, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x33, Offset: 6, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x33, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x33, Offset: 7, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x33, Offset: 8, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x33, Offset: 8, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x33, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x33, Offset: 9, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.Overload, Type: Input, ReportID: 0x33, Offset: 10, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x33, Offset: 10, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x33, Offset: 11, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x33, Offset: 11, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ff860080, Type: Input, ReportID: 0x33, Offset: 12, Size: 1, Value: 0.000000
Path: UPS.PresentStatus.ff860080, Type: Feature, ReportID: 0x33, Offset: 12, Size: 1, Value: 0.000000
Path: UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, Offset: 0, Size: 16, Value: 0.000000
Path: UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, Offset: 0, Size: 8, Value: 14.000000
Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62, Offset: 0, Size: 32, Value: 50462976.000000
Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 145.000000
Can't find object UPS.PowerSummary.Charging
Can't find object UPS.PowerSummary.Discharging
Can't find object UPS.PowerSummary.ACPresent
Can't find object UPS.PowerSummary.BelowRemainingCapacityLimit
Can't find object UPS.PowerSummary.ShutdownImminent
Can't find object UPS.PowerSummary.APCStatusFlag
Can't find object UPS.PowerSummary.PresentStatus.FullyCharged
Can't find object UPS.Output.Overload
Can't find object UPS.Output.Boost
Can't find object UPS.Input.LowVoltageTransfer
Can't find object UPS.Input.HighVoltageTransfer
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.PowerSummary.APCPanelTest
Can't find object UPS.PowerSummary.APCPanelTest
Can't find object UPS.APCGeneralCollection.APCDelayBeforeShutdown
Can't find object UPS.PowerSummary.DelayBeforeStartup
Can't find object UPS.APCGeneralCollection.APCForceShutdown
Can't find object UPS.APCGeneralCollection.APCDelayBeforeShutdown
upsdrv_updateinfo...
dstate_init: sock /var/run/nut/usbhid-ups-UPS open on fd 5
upsdrv_updateinfo...
Waiting for notifications...

=>Got 16 HID Objects...
ups.status = !chrg
ups.status = !dischrg
ups.status = online
ups.status = batterypres
ups.status = !lowbatt
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.ShutdownRequested

ups.status = !shutdownimm
ups.status = !timelimitexp
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.CommunicationLost

ups.status = !replacebatt
ups.status = !overload
find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.VoltageNotRegulated

find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.ff860080

find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

find_hid_info: unknown variable: UPS.PowerSummary.PresentStatus.00000000

upsdrv_updateinfo...
Waiting for notifications...

=>Got 1 HID Objects...
battery.runtime = 1620
upsdrv_updateinfo...
Waiting for notifications...

=>Got 1 HID Objects...
battery.charge = 100
upsdrv_updateinfo...
Waiting for notifications...

=>Got 1 HID Objects...
battery.runtime = 1620
upsdrv_updateinfo...
Waiting for notifications...

=>Got 1 HID Objects...
battery.charge = 100
Signal 2: exiting
Closing device
[root@pluto ~]#
but when I do:
Code: [Select]
[root@pluto ~]# /etc/rc7.d/S38nut start
Starting UPS driver controller: Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.2.0-)

Network UPS Tools - UPS driver controller 2.2.0-
No matching HID UPS found
Driver failed to start (exit status=1)
                                                           [FAILED]
Starting upsd:                                             [  OK  ]
Starting UPS monitor (master):                             [  OK  ]
[root@pluto ~]#
Broadcast message from nut (Tue Nov 11 11:12:08 2008):

Communications with UPS UPS@localhost lost

[root@pluto ~]#
Broadcast message from nut (Tue Nov 11 11:12:13 2008):

UPS UPS@localhost is unavailable
/etc/rc7.d/S38nut stop
Stopping UPS monitor:                                      [  OK  ]
Stopping upsd:                                             [  OK  ]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.2.0-
Can't open /var/run/nut/usbhid-ups-hiddev0.pid: No such file or directory

Can anyone see if I'm doing anything wrong?

Thanks
N

Offline ntblade

  • *
  • 252
  • +0/-0
Re: Still Having problems with USB APC UPS
« Reply #1 on: November 11, 2008, 12:27:42 PM »
More info:
Code: [Select]
[root@pluto ~]# cat /etc/ups/ups.conf
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
[UPS]
        driver = usbhid-ups
        port = /var/lib/ups/hiddev0

Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Still Having problems with USB APC UPS
« Reply #2 on: November 11, 2008, 01:05:34 PM »
you could install apcupsd from dag repository.. works fine on SME

BTW, in my experience APC's ups with usb connection are quite a bad beast :)

HTH
Ciao
Stefano

p.s. naturally you should open a bug for nut if you feel something is wrong

Offline ntblade

  • *
  • 252
  • +0/-0
Re: Still Having problems with USB APC UPS
« Reply #3 on: November 18, 2008, 01:04:49 PM »
Thanks for the reply,
I raised a bug:
http://bugs.contribs.org/show_bug.cgi?id=4758
but reply yet.  I might try apcupsd if there's no progress.

N