[Nut-upsuser] Problems with APC Smart-UPS 1500 USB and, newhidups
Paolo Pedroni
paolo.pedroni at unimib.it
Mon Aug 28 12:18:37 UTC 2006
Alle 22:06, venerdì 25 agosto 2006, Peter Selinger ha scritto:
> Oops, I guess I also responded too fast to your first message.
First of all I apologize for replying to you and not to the mailing list. I
was in a big hurry and I didn't check my postings properly.
> The output of newhidups -DD -a SmartUps1500 (from this newer NUT
> version) might be useful. Also, when you say "as soon as it starts", I
> am not sure if "it" is the driver or upsd. Normally, you should start
> the driver before upsd. Any error messages that you see from the
> driver or upsd could be helpful too. -- Peter
I meant that the driver crashed as soon as upsd was started, but anyway
today I tried again and the program worked as it should. I have no idea what
happened the time before.
Anyway, I have found something in the debug output that does not seem normal,
and maybe you may want to check it. The relevant output
(/lib/nut/newhidups -DD -a SmartUps1500) is as follows:
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)
debug level is '2'
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (051D/0002) (001/003)
- VendorID: 051d
- ProductID: 0002
- Manufacturer: American Power Conversion
- Product: Smart-UPS 1500 FW:601.3.I USB FW:1.5
- Serial Number: AS0523120710
- Bus: 001
Trying to match device
Device matches
Warning: two different HID descriptors retrieved (Reportlen = 61939 vs. 1040)
HID descriptor retrieved (Reportlen = 1040)
Report descriptor retrieved (Reportlen = 1040)
Found HID device
Report Descriptor size = 1040
Detected a UPS: American Power Conversion/Smart-UPS 1500 FW:601.3.I USB FW:1.5
Using subdriver: APC/CyberPower HID 0.9
Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, Value: 3.000000
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, Value: 3.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.Rechargeable, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, Value: 50.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, Value: 10.000000
Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, Value: 33.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 1260.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, Value: 1260.000000
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, Value: -1.000000
Path: UPS.PowerSummary.DelayBeforeReboot, Type: Feature, Value:
16777215.000000
Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input, Value: 120.000000
Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, Value: 120.000000
Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, Value: 24.000002
Path: UPS.PowerSummary.Voltage, Type: Feature, Value: 222.080017
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Input, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, Value:
1.000000
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, Value:
1.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, Value:
0.000000
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature,
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Feature, Value: 0.000000
Path: UPS.Battery.Test, Type: Input, Value: 6.000000
Path: UPS.Battery.Test, Type: Feature, Value: 6.000000
Path: UPS.Battery.APCBattCapBeforeStartup, Type: Input, Value: 0.000000
Path: UPS.Battery.APCBattCapBeforeStartup, Type: Feature, Value: 0.000000
Path: UPS.Battery.ff86001a, Type: Input, Value: 3.000000
Path: UPS.Battery.ff86001a, Type: Feature, Value: 3.000000
Path: UPS.Battery.ff86001b, Type: Input, Value: 0.000000
Path: UPS.Battery.ff86001b, Type: Feature, Value: 0.000000
Path: UPS.Battery.ManufacturerDate, Type: Input, Value: 33.000000
Path: UPS.Battery.ManufacturerDate, Type: Feature, Value: 33.000000
Path: UPS.Battery.RemainingCapacity, Type: Feature, Value: 100.000000
Path: UPS.Battery.RemainingTimeLimit, Type: Input, Value: 120.000000
Path: UPS.Battery.RemainingTimeLimit, Type: Feature, Value: 120.000000
Path: UPS.Battery.RunTimeToEmpty, Type: Feature, Value: 1260.000000
Path: UPS.Battery.Temperature, Type: Feature, Value: 766.000000
Path: UPS.Battery.ConfigVoltage, Type: Feature, Value: 24.000002
Path: UPS.Battery.Voltage, Type: Feature, Value: 2.860000
Path: UPS.Input.Voltage, Type: Feature, Value: 268.700012
Path: UPS.Input.ff860052, Type: Input, Value: 0.000000
Path: UPS.Input.ff860052, Type: Feature, Value: 0.000000
Path: UPS.Input.ff860061, Type: Input, Value: 2.000000
Path: UPS.Input.ff860061, Type: Feature, Value: 2.000000
Path: UPS.Output.PercentLoad, Type: Feature, Value: 227.500000
Path: UPS.Output.Frequency, Type: Feature, Value: 50.000004
Path: UPS.Output.Voltage, Type: Feature, Value: 227.500000
Path: UPS.Output.ConfigVoltage, Type: Input, Value: 230.000000
Path: UPS.Output.ConfigVoltage, Type: Feature, Value: 230.000000
Path: UPS.Output.HighVoltageTransfer, Type: Input, Value: 253.000000
Path: UPS.Output.HighVoltageTransfer, Type: Feature, Value: 253.000000
Path: UPS.Output.LowVoltageTransfer, Type: Input, Value: 208.000000
Path: UPS.Output.LowVoltageTransfer, Type: Feature, Value: 208.000000
Path: UPS.Output.APCDelayBeforeStartup, Type: Input, Value: 0.000000
Path: UPS.Output.APCDelayBeforeStartup, Type: Feature, Value: 0.000000
Path: UPS.Output.APCShutdownAfterDelay, Type: Input, Value: 90.000000
Path: UPS.Output.APCShutdownAfterDelay, Type: Feature, Value: 90.000000
Path: UPS.Output.DelayBeforeShutdown, Type: Feature, Value: -1.000000
Path: UPS.Output.DelayBeforeStartup, Type: Feature, Value: -1.000000
Path: UPS.Output.DelayBeforeReboot, Type: Feature, Value: 16777215.000000
Path: UPS.iProduct, Type: Feature, Value: 5.000000
Path: UPS.iSerialNumber, Type: Feature, Value: 2.000000
Path: UPS.iManufacturer, Type: Feature, Value: 3.000000
Path: UPS.iName, Type: Feature, Value: 6.000000
Path: UPS.APC_UPS_FirmwareRevision, Type: Feature, Value: 7.000000
Path: UPS.APC_USB_FirmwareRevision, Type: Feature, Value: 8.000000
Path: UPS.APCPanelTest, Type: Feature, Value: 1.000000
Path: UPS.ManufacturerDate, Type: Feature, Value: 12991.000000
Path: UPS.ff860027, Type: Feature, Value: 0.000000
Path: UPS.ff860028, Type: Feature, Value: 0.000000
Path: UPS.AudibleAlarmControl, Type: Input, Value: 2.000000
Path: UPS.AudibleAlarmControl, Type: Feature, Value: 2.000000
Path: UPS.PresentStatus.Charging, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.Charging, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.Discharging, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.Discharging, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.ACPresent, Type: Input, Value: 1.000000
Path: UPS.PresentStatus.ACPresent, Type: Feature, Value: 1.000000
Path: UPS.PresentStatus.BatteryPresent, Type: Input, Value: 1.000000
Path: UPS.PresentStatus.BatteryPresent, Type: Feature, Value: 1.000000
Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Input, Value:
0.000000
Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, Value:
0.000000
Path: UPS.PresentStatus.ShutdownRequested, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.ShutdownRequested, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.ShutdownImminent, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Input, Value:
0.000000
Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, Value:
0.000000
Path: UPS.PresentStatus.CommunicationLost, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.CommunicationLost, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.NeedReplacement, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.NeedReplacement, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.Overload, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.Overload, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.VoltageNotRegulated, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, Value: 0.000000
Path: UPS.PresentStatus.ff860080, Type: Input, Value: 0.000000
Path: UPS.PresentStatus.ff860080, Type: Feature, Value: 0.000000
Can't find object UPS.Battery.APCBattReplaceDate
Can't find object UPS.Output.ConfigActivePower
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.PresentStatus.FullyCharged
Can't find object UPS.Output.Overload
Can't find object UPS.Output.Boost
Can't find object UPS.Input.ConfigVoltage
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/lib/nut/SmartUps1500 open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Can't retrieve Report 12 (-16/16): Device or resource busy
Can't retrieve Report 17 (-16/16): Device or resource busy
Can't retrieve Report 15 (-16/16): Device or resource busy
Can't retrieve Report 13 (-16/16): Device or resource busy
Can't retrieve Report 8 (-16/16): Device or resource busy
Can't retrieve Report 11 (-16/16): Device or resource busy
Can't retrieve Report 31 (-16/16): Device or resource busy
Can't retrieve Report 30 (-16/16): Device or resource busy
Can't retrieve Report 5 (-16/16): Device or resource busy
Can't retrieve Report 21 (-16/16): Device or resource busy
Can't retrieve Report 44 (-16/16): Device or resource busy
Can't retrieve Report 18 (-16/16): Device or resource busy
Can't retrieve Report 22 (-16/16): Device or resource busy
Can't retrieve Report 20 (-16/16): Device or resource busy
Can't retrieve Report 53 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 32 (-16/16): Device or resource busy
Can't retrieve Report 43 (-16/16): Device or resource busy
Can't retrieve Report 45 (-16/16): Device or resource busy
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Can't retrieve Report 12 (-16/16): Device or resource busy
Can't retrieve Report 17 (-16/16): Device or resource busy
Can't retrieve Report 15 (-16/16): Device or resource busy
Can't retrieve Report 13 (-16/16): Device or resource busy
Can't retrieve Report 8 (-16/16): Device or resource busy
Can't retrieve Report 11 (-16/16): Device or resource busy
Can't retrieve Report 31 (-16/16): Device or resource busy
Can't retrieve Report 30 (-16/16): Device or resource busy
Can't retrieve Report 5 (-16/16): Device or resource busy
Can't retrieve Report 21 (-16/16): Device or resource busy
Can't retrieve Report 44 (-16/16): Device or resource busy
Can't retrieve Report 18 (-16/16): Device or resource busy
Can't retrieve Report 22 (-16/16): Device or resource busy
Can't retrieve Report 20 (-16/16): Device or resource busy
Can't retrieve Report 53 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 32 (-16/16): Device or resource busy
Can't retrieve Report 43 (-16/16): Device or resource busy
Can't retrieve Report 45 (-16/16): Device or resource busy
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Can't retrieve Report 12 (-16/16): Device or resource busy
Can't retrieve Report 17 (-16/16): Device or resource busy
Can't retrieve Report 15 (-16/16): Device or resource busy
Can't retrieve Report 13 (-16/16): Device or resource busy
Can't retrieve Report 8 (-16/16): Device or resource busy
Can't retrieve Report 11 (-16/16): Device or resource busy
Can't retrieve Report 31 (-16/16): Device or resource busy
Can't retrieve Report 30 (-16/16): Device or resource busy
Can't retrieve Report 5 (-16/16): Device or resource busy
Can't retrieve Report 21 (-16/16): Device or resource busy
Can't retrieve Report 44 (-16/16): Device or resource busy
Can't retrieve Report 18 (-16/16): Device or resource busy
Can't retrieve Report 22 (-16/16): Device or resource busy
Can't retrieve Report 20 (-16/16): Device or resource busy
Can't retrieve Report 53 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 7 (-16/16): Device or resource busy
Can't retrieve Report 32 (-16/16): Device or resource busy
Can't retrieve Report 43 (-16/16): Device or resource busy
Can't retrieve Report 45 (-16/16): Device or resource busy
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
Signal 15: exiting
Closing device
The part which may be interesting to you is the one regarding "Can't retrieve
Report..."
Thanks again for the patience.
Bye.
--
Ing. Paolo Pedroni - Referente Informatico
Dipartimento di Biotecnologie e Bioscienze
Università degli studi di Milano-Bicocca
Tel. +39-0264483318 - Email: paolo.pedroni at unimib.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060828/6f65a19a/attachment.pgp
More information about the Nut-upsuser
mailing list