[Nut-upsdev] Newhidups gets unbound after a while

Patrick Agrain patrick.agrain at alcatel.fr
Tue May 2 15:10:44 UTC 2006


At 16:45 02/05/2006, you wrote:
>Yes, I'd also like to see the log of the initial connection, i.e., the
>beginning of "newhidups -a ups_on_usb -DD". What is your device's
>actual vendor/product ID? Is it 0463/FFFF? -- Peter

Hi Peter,
Thanks to have interest in this.


>Vendor/product ID is indeed 0463/FFFF. This is the identification of all 
>available (here) UPS from MGE ( Ellipse, Ellipse ASR and Extreme C models ).

Here are the logs when newhidups starts:
[root at xa000000 root]# newhidups -a ups_on_usb -DD
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

debug level is '2'
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0463/FFFF) (001/002)
- VendorID: 0463
- ProductID: ffff
- Manufacturer: MGE UPS SYSTEMS
- Product: ELLIPSE
- Serial Number: 1HDF44001
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
trying again to claim USB device...
HID descriptor retrieved (Reportlen = 769)
Report descriptor retrieved (Reportlen = 769)
Found HID device
Report Descriptor size = 769
Detected a UPS: MGE UPS SYSTEMS/ELLIPSE
Using subdriver: MGE HID 0.8
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, 
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, 
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, Value: 3406.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 100.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 3406.000000
Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature, Value: 
30.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 3406.000000
Path: UPS.PowerSummary.PercentLoad, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, Value: 30.000000
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, Value: -1.000000
Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, Value: -10.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 5.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.FlowID, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.iModel, Type: Feature, Value: 3.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Input, Value: 2.000000
Path: UPS.OutletSystem.OutletSystemID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0001.OutletID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0001.FlowID, Type: Feature, Value: 4.000000
Path: UPS.OutletSystem.Outlet.00ff0001.PresentStatus.Switchable, Type: 
Feature, Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.OutletID, Type: Feature, Value: 2.000000
Path: UPS.OutletSystem.Outlet.00ff0002.FlowID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.Switchable, Type: 
Feature, Value: 0.000000
Path: UPS.Flow.00ff0004.FlowID, Type: Feature, Value: 4.000000
Path: UPS.Flow.00ff0004.ConfigFrequency, Type: Feature, Value: 50.000000
Path: UPS.Flow.00ff0004.ConfigApparentPower, Type: Feature, Value: 1500.000000
Path: UPS.Flow.00ff0004.ConfigVoltage, Type: Feature, Value: 230.000000
Path: UPS.PowerConverter.PowerConverterID, Type: Feature, Value: 0.000000
Path: UPS.PowerConverter.Output.0084001d, Type: Feature, Value: 0.000000
Path: UPS.PowerConverter.Output.Voltage, Type: Feature, Value: 230.000000
Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, Value: 
184.000000
Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, Value: 
264.000000
Path: UPS.ffff0018.ffff0019, Type: Feature, Value: 1.000000
Path: UPS.ffff0018.ffff001a.00ff0001.ffff0090, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0001.ffff001b, Type: Feature, Value: 1.000000
Path: UPS.ffff0018.ffff001a.00ff0001.ffff0094, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0001.ffff0092, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0001.ffff0091, Type: Feature, Value: 
-12298864.000000
Path: UPS.ffff0018.ffff001a.00ff0001.PresentStatus.ffff0093, Type: Feature, 
Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0001.PresentStatus.ffff0093, Type: Input, 
Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0002.ffff0090, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0002.ffff001b, Type: Feature, Value: 2.000000
Path: UPS.ffff0018.ffff001a.00ff0002.ffff0094, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0002.ffff0092, Type: Feature, Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0002.ffff0091, Type: Feature, Value: 
-16347728.000000
Path: UPS.ffff0018.ffff001a.00ff0002.PresentStatus.ffff0093, Type: Feature, 
Value: 0.000000
Path: UPS.ffff0018.ffff001a.00ff0002.PresentStatus.ffff0093, Type: Input, 
Value: 0.000000
Path: UPS.BatterySystem.Battery.AudibleAlarmControl, Type: Feature, Value: 
1.000000
entering identify_ups(0x0463, 0xffff)

-> String: 1500 (len = 4/4)
get_model_name(ELLIPSE, 1500)

comparing with: ellipse 300
comparing with: ellipse 500
comparing with: ellipse 650
comparing with: ellipse 800
comparing with: ellipse 1200
comparing with: ellipse premium 500
comparing with: ellipse premium 650
comparing with: ellipse premium 800
comparing with: ellipse premium 1200
comparing with: Ellipse 600
comparing with: Ellipse 750
comparing with: Ellipse 1000
comparing with: Ellipse 1500
Found Ellipse 1500

Can't find object UPS.BatterySystem.Battery.Temperature
Can't find object UPS.PowerSummary.Voltage
Can't find object UPS.BatterySystem.ConfigVoltage
Can't find object UPS.PowerSummary.DelayBeforeReboot
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.TestPeriod
Can't find object UPS.PowerSummary.Temperature
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
process_status_info: !overload
process_status_info: !replacebatt
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Buck
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Boost
process_status_info: !off
Can't find object UPS.PowerConverter.Input.[1].Voltage
Can't find object UPS.PowerConverter.Input.[1].Frequency
Can't find object UPS.PowerConverter.Output.LowVoltageBoostTransfer
Can't find object UPS.PowerConverter.Output.HighVoltageBoostTransfer
Can't find object UPS.PowerConverter.Output.LowVoltageBuckTransfer
Can't find object UPS.PowerConverter.Output.HighVoltageBuckTransfer
Can't find object UPS.PowerConverter.Output.Current
Can't find object UPS.PowerConverter.Output.Frequency
Can't find object UPS.PowerSummary.ConfigVoltage
Can't find object UPS.PowerSummary.ConfigVoltage
Can't find object UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off
Can't find object UPS.OutletSystem.Outlet.[2].RemainingCapacityLimit
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeShutdown
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeStartup
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.Switchable
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off
Can't find object UPS.OutletSystem.Outlet.[3].RemainingCapacityLimit
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeShutdown
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeStartup
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
upsdrv_updateinfo...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
process_status_info: !overload
process_status_info: !replacebatt
process_status_info: !off
dstate_init: sock /var/state/ups/newhidups-auto open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
upsdrv_updateinfo...
Waiting for notifications...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt

<...>

Thank in advance for your help.
Regards,
Patrick Agrain




More information about the Nut-upsdev mailing list