[Nut-upsuser] Unexpected shutdown begins for WOW-500U
Sergei V. Dubrov
dubrov at inp.nsk.su
Mon Aug 1 03:45:58 UTC 2011
G'day!
On 30 Jul 2011 at 22:54, Arnaud Quette wrote:
>
> And once again want to emphasize - UPS does not go to state 'data stale'
> (loss of communication) after switching to battery since we can
> immediately
> read its status, for example, with the command 'upsc'.
>
> but since upsmon launches the system shutdown, there is something
> triggering it!
Yes, and I'm very interested learn what it is :-)
>
> fake_lowbatt doesn't exist in usbhid-ups.
My mistake again - I found fake_lowbatt in another driver.
> you're probably facing a data mapping mismatch.
Very similar to that...
>
> the best would be to monitor this a bit more closely.
> prefer to remove your PC from the UPS for those tests!
> set SHUTDOWNCMD to empty or something not hurting (gedit)
Changed SHUTDOWNCMD "date >> /var/log/nutlog"
> and restart
> upsmon and the driver in debug mode (ie "usbhid-ups -DDD -a ..."), in
> separate consoles.
>
> then test a power failure, and send us back the results, along with your
> configuration (passwd trimmed!)
Here is debug results (long) for "usbhid-ups -DDD -a xen-home -u ups" while
power failure:
===
[root at xen-home bin]# ./usbhid-ups -a xen-home -u ups -DDD
Network UPS Tools - Generic HID driver 0.35 (2.6.1)
USB communication driver 0.31
0.000000 debug level is '3'
0.000708 upsdrv_initups...
0.001344 Checking device (1D6B/0002) (001/001)
0.001401 - VendorID: 1d6b
0.001411 - ProductID: 0002
0.001421 - Manufacturer: Linux 2.6.32.12-
0.7.1.xs5.6.100.323.170596xen ehci_hcd
0.001431 - Product: EHCI Host Controller
0.001440 - Serial Number: 0000:00:12.2
0.001448 - Bus: 001
0.001457 Trying to match device
0.001482 Device does not match - skipping
0.001497 Checking device (1D6B/0001) (006/001)
0.001534 - VendorID: 1d6b
0.001544 - ProductID: 0001
0.001553 - Manufacturer: Linux 2.6.32.12-
0.7.1.xs5.6.100.323.170596xen ohci_hcd
0.001562 - Product: OHCI Host Controller
0.001571 - Serial Number: 0000:00:16.0
0.001580 - Bus: 006
0.001588 Trying to match device
0.001599 Device does not match - skipping
0.001610 Checking device (1D6B/0002) (002/001)
0.001644 - VendorID: 1d6b
0.001654 - ProductID: 0002
0.001663 - Manufacturer: Linux 2.6.32.12-
0.7.1.xs5.6.100.323.170596xen ehci_hcd
0.001672 - Product: EHCI Host Controller
0.001681 - Serial Number: 0000:00:13.2
0.001689 - Bus: 002
0.001697 Trying to match device
0.001707 Device does not match - skipping
0.001719 Checking device (0D9F/00A4) (005/002)
0.015623 - VendorID: 0d9f
0.015661 - ProductID: 00a4
0.015671 - Manufacturer: POWERCOM Co.,LTD
0.015681 - Product: UPS WOW--500U FW3.A4
0.015691 - Serial Number: 3A4-0000-0001
0.015700 - Bus: 005
0.015709 Trying to match device
0.015726 Device matches
0.019628 HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22
eb 02
0.019667 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22
eb 02
0.019677 HID descriptor length 747
0.044650 Report Descriptor size = 747
0.044704 Report Descriptor: (747 bytes) => 05 84 09 04 a1 01 09 24
a1 02 85 01 09 fe
0.044726 79 01 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 02
b1 22 85 03 09 fd
0.044747 79 03 b1 22 05 85 85 04 09 8f 79 03 b1 22 85 05 09 89 79
04 b1 22 85 07 09
0.044767 8b b1 22 85 08 09 2c 25 03 b1 22 85 09 09 83 25 64 b1 22
09 67 b1 22 85 0a
0.044787 09 66 81 22 09 66 b1 a2 85 0b 09 8c b1 22 85 0c 09 29 b1
a2 85 0d 09 85 75
0.044807 10 27 ff ff 00 00 b1 a2 85 0e 09 68 81 22 09 68 b1 a2 05
ff 85 0f 09 57 75
0.044827 10 16 00 00 27 ff ff 00 00 b1 a2 85 10 09 56 75 10 16 00
00 27 ff ff 00 00
0.044847 b1 a2 05 84 85 11 09 40 75 10 15 64 26 e6 00 b1 22 85 12
09 30 75 10 16 00
0.044867 00 26 2c 01 b1 a2 85 13 09 5a 75 08 15 01 25 03 b1 a2 09
02 a1 02 05 85 85
0.044888 14 09 44 75 01 15 00 25 01 81 a2 09 44 b1 a2 09 45 81 a2
09 45 b1 a2 09 d0
0.044907 81 a2 09 d0 b1 a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09
42 b1 a2 09 43 81
0.044927 a2 09 43 b1 a2 09 4b 81 a2 09 4b b1 a2 09 db 81 a2 09 db
b1 a2 05 84 09 68
0.044947 81 a2 09 68 b1 a2 09 69 81 a2 09 69 b1 a2 09 73 81 a2 09
73 b1 a2 09 65 81
0.044967 a2 09 65 b1 a2 95 03 81 01 b1 01 95 01 06 86 ff 09 80 81
a2 09 80 b1 a2 c0
0.044988 c0 05 84 09 12 a1 00 85 15 09 58 75 08 25 06 b1 a2 85 16
09 70 25 06 b1 a2
0.045008 05 85 85 17 09 85 75 10 27 ff ff 00 00 b1 a2 85 18 09 66
75 08 15 00 25 64
0.045027 b1 a2 05 84 85 19 09 40 75 10 15 64 26 e6 00 b1 22 85 1a
09 30 75 10 16 00
0.045048 00 26 2c 01 b1 a2 05 ff 85 1b 09 56 75 10 16 00 00 27 ff
ff 00 00 b1 a2 c0
0.045067 05 84 09 1a a1 00 85 1c 09 40 75 10 15 64 26 e6 00 b1 22
85 1d 09 30 75 10
0.045087 16 00 00 26 2c 01 b1 a2 85 1e 09 32 75 08 15 00 25 46 b1
a2 c0 05 84 09 1c
0.045107 a1 00 85 1f 09 35 75 08 15 00 25 64 b1 a2 85 20 09 40 75
10 15 64 26 e6 00
0.045127 b1 22 85 21 09 30 75 10 16 00 00 26 2c 01 b1 a2 85 22 09
32 75 08 15 00 25
0.045148 46 b1 a2 05 ff 85 23 09 57 75 10 16 00 00 27 ff ff 00 00
b1 a2 85 24 09 56
0.045168 75 10 16 00 00 27 ff ff 00 00 b1 a2 c0 05 84 09 16 a1 00
85 2a 09 30 75 10
0.045189 16 00 00 26 90 01 b1 a2 c0 05 84 85 06 09 01 79 05 b1 a2
85 25 09 5a 75 08
0.045209 15 01 25 03 b1 a2 09 02 a1 02 05 85 85 26 09 44 75 01 15
00 25 01 b1 a2 09
0.045229 45 b1 a2 09 d0 b1 a2 09 d1 b1 a2 09 42 b1 a2 09 43 b1 a2
09 4b b1 a2 09 db
0.045336 b1 a2 05 84 09 68 b1 a2 09 69 b1 a2 09 73 b1 a2 09 65 b1
a2 09 6e b1 a2 09
0.045392 6f b1 a2 09 71 b1 a2 06 86 ff 09 80 b1 a2 c0 85 27 05 84
09 69 75 08 15 00
0.045415 25 01 b1 a2 85 28 09 2f 75 08 95 07 15 00 26 ff 00 b1 a2
06 86 ff 85 29 09
0.045429 60 81 a2 09 60 b1 a2 c0
0.045621 Using subdriver: PowerCOM HID 0.2
0.046610 Report[get]: (2 bytes) => 01 01
0.046650 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID:
0x01, Offset: 0, Size: 8, Value: 1
0.048644 Report[get]: (2 bytes) => 02 02
0.048687 Path: UPS.PowerSummary.iSerialNumber, Type: Feature,
ReportID: 0x02, Offset: 0, Size: 8, Value: 2
0.050632 Report[get]: (2 bytes) => 03 03
0.050668 Path: UPS.PowerSummary.iManufacturer, Type: Feature,
ReportID: 0x03, Offset: 0, Size: 8, Value: 3
0.052610 Report[get]: (2 bytes) => 04 03
0.052653 Path: UPS.PowerSummary.iOEMInformation, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 8, Value: 3
0.054628 Report[get]: (2 bytes) => 05 04
0.054665 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature,
ReportID: 0x05, Offset: 0, Size: 8, Value: 4
0.056629 Report[get]: (2 bytes) => 07 01
0.056666 Path: UPS.PowerSummary.Rechargeable, Type: Feature,
ReportID: 0x07, Offset: 0, Size: 8, Value: 1
0.058620 Report[get]: (2 bytes) => 08 02
0.058657 Path: UPS.PowerSummary.CapacityMode, Type: Feature,
ReportID: 0x08, Offset: 0, Size: 8, Value: 2
0.060634 Report[get]: (3 bytes) => 09 64 64
0.060685 Path: UPS.PowerSummary.DesignCapacity, Type: Feature,
ReportID: 0x09, Offset: 0, Size: 8, Value: 100
0.060700 Report[buf]: (3 bytes) => 09 64 64
0.060716 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature,
ReportID: 0x09, Offset: 8, Size: 8, Value: 100
0.062637 Report[get]: (2 bytes) => 0a 64
0.062695 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
0.062709 Report[buf]: (2 bytes) => 0a 64
0.062724 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
0.064629 Report[get]: (2 bytes) => 0b 1e
0.064668 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature,
ReportID: 0x0b, Offset: 0, Size: 8, Value: 30
0.066621 Report[get]: (2 bytes) => 0c 0a
0.066660 Path: UPS.PowerSummary.RemainingCapacityLimit, Type:
Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10
0.068622 Report[get]: (3 bytes) => 0d 21 3c
0.068663 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature,
ReportID: 0x0d, Offset: 0, Size: 16, Value: 15393
0.070595 Report[get]: (3 bytes) => 0e 00 09
0.070642 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 2304
0.070656 Report[buf]: (3 bytes) => 0e 00 09
0.070671 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 2304
0.072662 Report[get]: (3 bytes) => 0f 00 00
0.072704 Path: UPS.PowerSummary.[87], Type: Feature, ReportID: 0x0f,
Offset: 0, Size: 16, Value: 0
0.074621 Report[get]: (3 bytes) => 10 00 00
0.074658 Path: UPS.PowerSummary.[86], Type: Feature, ReportID: 0x10,
Offset: 0, Size: 16, Value: 0
0.076621 Report[get]: (3 bytes) => 11 dc 00
0.076677 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature,
ReportID: 0x11, Offset: 0, Size: 16, Value: 220
0.078617 Report[get]: (3 bytes) => 12 dc 00
0.078661 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID:
0x12, Offset: 0, Size: 16, Value: 220
0.080627 Report[get]: (2 bytes) => 13 01
0.080670 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature,
ReportID: 0x13, Offset: 0, Size: 8, Value: 1
0.082622 Report[get]: (3 bytes) => 14 0c 00
0.082661 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
0.082674 Report[buf]: (3 bytes) => 14 0c 00
0.082689 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
Feature, ReportID: 0x14, Offset: 0, Size: 1, Value: 0
0.082702 Report[buf]: (3 bytes) => 14 0c 00
0.082717 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
0.082729 Report[buf]: (3 bytes) => 14 0c 00
0.082743 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Feature, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
0.082756 Report[buf]: (3 bytes) => 14 0c 00
0.082771 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
0.082784 Report[buf]: (3 bytes) => 14 0c 00
0.082798 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Feature, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
0.082811 Report[buf]: (3 bytes) => 14 0c 00
0.082825 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
0.082838 Report[buf]: (3 bytes) => 14 0c 00
0.082852 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Feature, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
0.082865 Report[buf]: (3 bytes) => 14 0c 00
0.082879 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
0.082892 Report[buf]: (3 bytes) => 14 0c 00
0.082906 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
0.082919 Report[buf]: (3 bytes) => 14 0c 00
0.082933 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
0.082946 Report[buf]: (3 bytes) => 14 0c 00
0.082960 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
0.082973 Report[buf]: (3 bytes) => 14 0c 00
0.082987 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
0.083000 Report[buf]: (3 bytes) => 14 0c 00
0.083013 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
0.083026 Report[buf]: (3 bytes) => 14 0c 00
0.083041 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
0.083054 Report[buf]: (3 bytes) => 14 0c 00
0.083068 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Feature, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
0.083081 Report[buf]: (3 bytes) => 14 0c 00
0.083095 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
0.083108 Report[buf]: (3 bytes) => 14 0c 00
0.083121 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Feature, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
0.083134 Report[buf]: (3 bytes) => 14 0c 00
0.083148 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
0.083161 Report[buf]: (3 bytes) => 14 0c 00
0.083174 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Feature, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
0.083187 Report[buf]: (3 bytes) => 14 0c 00
0.083201 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
0.083214 Report[buf]: (3 bytes) => 14 0c 00
0.083227 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Feature, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
0.083240 Report[buf]: (3 bytes) => 14 0c 00
0.083254 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
0.083267 Report[buf]: (3 bytes) => 14 0c 00
0.083280 Path: UPS.PowerSummary.PresentStatus.Overload, Type:
Feature, ReportID: 0x14, Offset: 11, Size: 1, Value: 0
0.083293 Report[buf]: (3 bytes) => 14 0c 00
0.083307 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
0.083319 Report[buf]: (3 bytes) => 14 0c 00
0.083333 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Feature, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
0.084621 Report[get]: (2 bytes) => 15 01
0.084658 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15,
Offset: 0, Size: 8, Value: 1
0.086621 Report[get]: (2 bytes) => 16 01
0.086658 Path: UPS.Battery.Initialized, Type: Feature, ReportID:
0x16, Offset: 0, Size: 8, Value: 1
0.088621 Report[get]: (3 bytes) => 17 21 3c
0.088662 Path: UPS.Battery.ManufacturerDate, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 15393
0.090986 Report[get]: (2 bytes) => 18 64
0.091023 Path: UPS.Battery.RemainingCapacity, Type: Feature,
ReportID: 0x18, Offset: 0, Size: 8, Value: 100
0.092590 Report[get]: (3 bytes) => 19 dc 00
0.092630 Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 220
0.094622 Report[get]: (3 bytes) => 1a dc 00
0.094661 Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a,
Offset: 0, Size: 16, Value: 220
0.096622 Report[get]: (3 bytes) => 1b 00 00
0.096660 Path: UPS.Battery.[86], Type: Feature, ReportID: 0x1b,
Offset: 0, Size: 16, Value: 0
0.098622 Report[get]: (3 bytes) => 1c dc 00
0.098662 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID:
0x1c, Offset: 0, Size: 16, Value: 220
0.100570 Report[get]: (3 bytes) => 1d dc 00
0.100616 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d,
Offset: 0, Size: 16, Value: 220
0.102639 Report[get]: (2 bytes) => 1e 32
0.102686 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e,
Offset: 0, Size: 8, Value: 50
0.104621 Report[get]: (2 bytes) => 1f 14
0.104660 Path: UPS.Output.PercentLoad, Type: Feature, ReportID:
0x1f, Offset: 0, Size: 8, Value: 20
0.106620 Report[get]: (3 bytes) => 20 dc 00
0.106661 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 220
0.108617 Report[get]: (3 bytes) => 21 dc 00
0.108661 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21,
Offset: 0, Size: 16, Value: 220
0.110607 Report[get]: (2 bytes) => 22 32
0.110652 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22,
Offset: 0, Size: 8, Value: 50
0.112623 Report[get]: (3 bytes) => 23 00 00
0.112661 Path: UPS.Output.[87], Type: Feature, ReportID: 0x23,
Offset: 0, Size: 16, Value: 0
0.114622 Report[get]: (3 bytes) => 24 00 00
0.114659 Path: UPS.Output.[86], Type: Feature, ReportID: 0x24,
Offset: 0, Size: 16, Value: 0
0.116622 Report[get]: (3 bytes) => 2a 5a 01
0.116661 Path: UPS.PowerConverter.Voltage, Type: Feature, ReportID:
0x2a, Offset: 0, Size: 16, Value: 346
0.118617 refresh_report_buffer: expected 3 bytes, but got 2 instead
0.118651 Report[err]: (2 bytes) => 06 05
0.118668 Path: UPS.iName, Type: Feature, ReportID: 0x06, Offset: 0,
Size: 16, Value: 5
0.120595 Report[get]: (2 bytes) => 25 01
0.120637 Path: UPS.AudibleAlarmControl, Type: Feature, ReportID:
0x25, Offset: 0, Size: 8, Value: 1
0.122615 Report[get]: (3 bytes) => 26 0c 00
0.122652 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID:
0x26, Offset: 0, Size: 1, Value: 0
0.122665 Report[buf]: (3 bytes) => 26 0c 00
0.122679 Path: UPS.PresentStatus.Discharging, Type: Feature,
ReportID: 0x26, Offset: 1, Size: 1, Value: 0
0.122692 Report[buf]: (3 bytes) => 26 0c 00
0.122706 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID:
0x26, Offset: 2, Size: 1, Value: 1
0.122718 Report[buf]: (3 bytes) => 26 0c 00
0.122732 Path: UPS.PresentStatus.BatteryPresent, Type: Feature,
ReportID: 0x26, Offset: 3, Size: 1, Value: 1
0.122745 Report[buf]: (3 bytes) => 26 0c 00
0.122758 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0
0.122771 Report[buf]: (3 bytes) => 26 0c 00
0.122784 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type:
Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0
0.122796 Report[buf]: (3 bytes) => 26 0c 00
0.122810 Path: UPS.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x26, Offset: 6, Size: 1, Value: 0
0.122822 Report[buf]: (3 bytes) => 26 0c 00
0.122836 Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature,
ReportID: 0x26, Offset: 7, Size: 1, Value: 0
0.122849 Report[buf]: (3 bytes) => 26 0c 00
0.122862 Path: UPS.PresentStatus.ShutdownRequested, Type: Feature,
ReportID: 0x26, Offset: 8, Size: 1, Value: 0
0.122874 Report[buf]: (3 bytes) => 26 0c 00
0.122887 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature,
ReportID: 0x26, Offset: 9, Size: 1, Value: 0
0.122900 Report[buf]: (3 bytes) => 26 0c 00
0.122913 Path: UPS.PresentStatus.CommunicationLost, Type: Feature,
ReportID: 0x26, Offset: 10, Size: 1, Value: 0
0.122926 Report[buf]: (3 bytes) => 26 0c 00
0.122939 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID:
0x26, Offset: 11, Size: 1, Value: 0
0.122951 Report[buf]: (3 bytes) => 26 0c 00
0.122964 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID:
0x26, Offset: 12, Size: 1, Value: 0
0.122976 Report[buf]: (3 bytes) => 26 0c 00
0.122989 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID:
0x26, Offset: 13, Size: 1, Value: 0
0.123002 Report[buf]: (3 bytes) => 26 0c 00
0.123014 Path: UPS.PresentStatus.Tested, Type: Feature, ReportID:
0x26, Offset: 14, Size: 1, Value: 0
0.123027 Report[buf]: (3 bytes) => 26 0c 00
0.123039 Path: UPS.PresentStatus.POWERCOM3, Type: Feature, ReportID:
0x26, Offset: 15, Size: 1, Value: 0
0.124638 Report[get]: (2 bytes) => 27 00
0.124682 Path: UPS.ShutdownImminent, Type: Feature, ReportID: 0x27,
Offset: 0, Size: 8, Value: 0
0.126628 Report[get]: (8 bytes) => 28 de 11 14 64 6e 6e 32
0.126668 Path: UPS.POWERCOM1, Type: Feature, ReportID: 0x28, Offset:
0, Size: 8, Value: 222
0.128661 Can't retrieve Report 29: Broken pipe
0.128696 Path: UPS.POWERCOM2, Type: Input, ReportID: 0x29, Offset:
0, Size: 8
0.130601 Can't retrieve Report 29: Broken pipe
0.130648 Path: UPS.POWERCOM2, Type: Feature, ReportID: 0x29, Offset:
0, Size: 8
0.130687 Report descriptor retrieved (Reportlen = 747)
0.130697 Found HID device
0.130708 Detected a UPS: POWERCOM Co.,LTD / UPS WOW--500U FW3.A4
0.130759 Report[buf]: (3 bytes) => 14 0c 00
0.130773 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Feature, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
0.130800 Report[buf]: (3 bytes) => 14 0c 00
0.130811 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Feature, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
0.130835 Report[buf]: (3 bytes) => 14 0c 00
0.130847 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
0.130870 Report[buf]: (3 bytes) => 14 0c 00
0.130881 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
Feature, ReportID: 0x14, Offset: 0, Size: 1, Value: 0
0.130946 Report[buf]: (3 bytes) => 14 0c 00
0.130958 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Feature, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
0.130980 Report[buf]: (3 bytes) => 14 0c 00
0.130992 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Feature, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
0.131014 Report[buf]: (3 bytes) => 14 0c 00
0.131025 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
0.131045 Report[buf]: (3 bytes) => 14 0c 00
0.131056 Path: UPS.PowerSummary.PresentStatus.Overload, Type:
Feature, ReportID: 0x14, Offset: 11, Size: 1, Value: 0
0.131079 Report[buf]: (3 bytes) => 14 0c 00
0.131090 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
0.131111 Report[buf]: (3 bytes) => 14 0c 00
0.131122 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Feature, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
0.131145 Report[buf]: (3 bytes) => 26 0c 00
0.131156 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID:
0x26, Offset: 2, Size: 1, Value: 1
0.131178 Report[buf]: (3 bytes) => 26 0c 00
0.131189 Path: UPS.PresentStatus.BatteryPresent, Type: Feature,
ReportID: 0x26, Offset: 3, Size: 1, Value: 1
0.131211 Report[buf]: (3 bytes) => 26 0c 00
0.131222 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0
0.131242 Report[buf]: (3 bytes) => 26 0c 00
0.131253 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID:
0x26, Offset: 12, Size: 1, Value: 0
0.131272 Report[buf]: (3 bytes) => 26 0c 00
0.131283 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID:
0x26, Offset: 13, Size: 1, Value: 0
0.131304 Report[buf]: (3 bytes) => 26 0c 00
0.131316 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID:
0x26, Offset: 0, Size: 1, Value: 0
0.131335 Report[buf]: (3 bytes) => 26 0c 00
0.131346 Path: UPS.PresentStatus.CommunicationLost, Type: Feature,
ReportID: 0x26, Offset: 10, Size: 1, Value: 0
0.131367 Report[buf]: (3 bytes) => 26 0c 00
0.131378 Path: UPS.PresentStatus.Discharging, Type: Feature,
ReportID: 0x26, Offset: 1, Size: 1, Value: 0
0.131399 Report[buf]: (3 bytes) => 26 0c 00
0.131410 Path: UPS.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x26, Offset: 6, Size: 1, Value: 0
0.131429 Report[buf]: (3 bytes) => 26 0c 00
0.131440 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID:
0x26, Offset: 11, Size: 1, Value: 0
0.131462 Report[buf]: (3 bytes) => 26 0c 00
0.131473 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type:
Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0
0.131492 Report[buf]: (3 bytes) => 26 0c 00
0.131503 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature,
ReportID: 0x26, Offset: 9, Size: 1, Value: 0
0.131548 Report[buf]: (2 bytes) => 0a 64
0.131563 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
0.131597 Report[buf]: (2 bytes) => 0c 0a
0.131609 Path: UPS.PowerSummary.RemainingCapacityLimit, Type:
Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10
0.131635 Report[buf]: (2 bytes) => 0b 1e
0.131647 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature,
ReportID: 0x0b, Offset: 0, Size: 8, Value: 30
0.131681 Report[buf]: (3 bytes) => 0e 00 09
0.131694 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 2304
0.131722 Report[buf]: (3 bytes) => 17 21 3c
0.131734 Path: UPS.Battery.ManufacturerDate, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 15393
0.131763 Report[buf]: (2 bytes) => 05 04
0.131774 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature,
ReportID: 0x05, Offset: 0, Size: 8, Value: 4
0.134646 Report[buf]: (2 bytes) => 13 01
0.134679 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature,
ReportID: 0x13, Offset: 0, Size: 8, Value: 1
0.134711 Report[buf]: (2 bytes) => 1f 14
0.134725 Path: UPS.Output.PercentLoad, Type: Feature, ReportID:
0x1f, Offset: 0, Size: 8, Value: 20
0.134752 Report[buf]: (3 bytes) => 0d 21 3c
0.134765 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature,
ReportID: 0x0d, Offset: 0, Size: 16, Value: 15393
0.134788 Report[buf]: (2 bytes) => 15 01
0.134800 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15,
Offset: 0, Size: 8, Value: 1
0.134854 Report[buf]: (3 bytes) => 1d dc 00
0.134866 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d,
Offset: 0, Size: 16, Value: 220
0.134889 Report[buf]: (3 bytes) => 1c dc 00
0.134901 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID:
0x1c, Offset: 0, Size: 16, Value: 220
0.134923 Report[buf]: (2 bytes) => 1e 32
0.134934 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e,
Offset: 0, Size: 8, Value: 50
0.140352 Report[buf]: (3 bytes) => 21 dc 00
0.140374 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21,
Offset: 0, Size: 16, Value: 220
0.140400 Report[buf]: (3 bytes) => 20 dc 00
0.140413 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 220
0.140437 Report[buf]: (2 bytes) => 22 32
0.140449 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22,
Offset: 0, Size: 8, Value: 50
0.140473 Report[buf]: (2 bytes) => 13 01
0.140485 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature,
ReportID: 0x13, Offset: 0, Size: 8, Value: 1
0.140504 Report[buf]: (2 bytes) => 15 01
0.140515 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15,
Offset: 0, Size: 8, Value: 1
0.140555 find_nut_info: unknown info type: load.off.delay
0.140566 find_nut_info: unknown info type: load.on.delay
0.140578 find_nut_info: unknown info type: load.off.delay
0.140600 upsdrv_initinfo...
0.140624 upsdrv_updateinfo...
0.160296 Report[int]: (3 bytes) => 14 0c 00
0.160330 Got 13 HID objects...
0.160343 Report[buf]: (3 bytes) => 14 0c 00
0.160361 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
0.160376 Report[buf]: (3 bytes) => 14 0c 00
0.160392 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
0.160405 Report[buf]: (3 bytes) => 14 0c 00
0.160420 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
0.160434 Report[buf]: (3 bytes) => 14 0c 00
0.160448 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
0.160462 Report[buf]: (3 bytes) => 14 0c 00
0.160476 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
0.160490 Report[buf]: (3 bytes) => 14 0c 00
0.160504 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
0.160519 Report[buf]: (3 bytes) => 14 0c 00
0.160533 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
0.160547 Report[buf]: (3 bytes) => 14 0c 00
0.160561 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
0.160573 NUT doesn't use this HID object
0.160584 Report[buf]: (3 bytes) => 14 0c 00
0.160597 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
0.160609 NUT doesn't use this HID object
0.160620 Report[buf]: (3 bytes) => 14 0c 00
0.160633 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
0.160647 Report[buf]: (3 bytes) => 14 0c 00
0.160661 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
0.160676 Report[buf]: (3 bytes) => 14 0c 00
0.160689 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
0.160703 Report[buf]: (3 bytes) => 14 0c 00
0.160717 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
0.160728 NUT doesn't use this HID object
0.160739 Quick update...
0.160885 dstate_init: sock /var/state/ups/usbhid-ups-xen-home open
on fd 5
0.160915 upsdrv_updateinfo...
0.190182 Report[int]: (2 bytes) => 0a 64
0.190218 Got 1 HID objects...
0.190231 Report[buf]: (2 bytes) => 0a 64
0.190251 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
0.190269 Quick update...
2.170222 upsdrv_updateinfo...
2.171520 Report[int]: (3 bytes) => 0e 00 09
2.171554 Got 1 HID objects...
2.171568 Report[buf]: (3 bytes) => 0e 00 09
2.171589 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 2304
2.171607 Quick update...
4.179988 upsdrv_updateinfo...
4.187460 Report[int]: (2 bytes) => 15 01
4.187494 HIDGetEvents: unexpected input report (ignored)
4.187505 Got 0 HID objects...
4.187518 Quick update...
5.341103 new connection on fd 6
6.189965 upsdrv_updateinfo...
6.209950 Report[int]: (3 bytes) => 14 0c 00
6.209988 Got 13 HID objects...
6.210003 Report[buf]: (3 bytes) => 14 0c 00
6.210022 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
6.210039 Report[buf]: (3 bytes) => 14 0c 00
6.210055 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
6.210069 Report[buf]: (3 bytes) => 14 0c 00
6.210084 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
6.210097 Report[buf]: (3 bytes) => 14 0c 00
6.210112 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
6.210126 Report[buf]: (3 bytes) => 14 0c 00
6.210140 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
6.210154 Report[buf]: (3 bytes) => 14 0c 00
6.210168 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
6.210183 Report[buf]: (3 bytes) => 14 0c 00
6.210197 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
6.210211 Report[buf]: (3 bytes) => 14 0c 00
6.210225 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
6.210237 NUT doesn't use this HID object
6.210248 Report[buf]: (3 bytes) => 14 0c 00
6.210261 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
6.210273 NUT doesn't use this HID object
6.210284 Report[buf]: (3 bytes) => 14 0c 00
6.210297 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
6.210311 Report[buf]: (3 bytes) => 14 0c 00
6.210325 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
6.210340 Report[buf]: (3 bytes) => 14 0c 00
6.210353 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
6.210367 Report[buf]: (3 bytes) => 14 0c 00
6.210381 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
6.210392 NUT doesn't use this HID object
6.210403 Quick update...
8.198031 upsdrv_updateinfo...
8.219839 Report[int]: (2 bytes) => 0a 64
8.219877 Got 1 HID objects...
8.219890 Report[buf]: (2 bytes) => 0a 64
8.219910 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
8.219927 Quick update...
10.209722 upsdrv_updateinfo...
10.239735 Report[int]: (3 bytes) => 0e 00 09
10.239773 Got 1 HID objects...
10.239787 Report[buf]: (3 bytes) => 0e 00 09
10.239807 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 2304
10.239826 Quick update...
12.219667 upsdrv_updateinfo...
12.259635 Report[int]: (2 bytes) => 15 01
12.259677 HIDGetEvents: unexpected input report (ignored)
12.259689 Got 0 HID objects...
12.259703 Quick update...
14.229601 upsdrv_updateinfo...
14.235029 Report[int]: (3 bytes) => 14 0c 00
14.235066 Got 13 HID objects...
14.235081 Report[buf]: (3 bytes) => 14 0c 00
14.235101 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
14.235119 Report[buf]: (3 bytes) => 14 0c 00
14.235136 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
14.235151 Report[buf]: (3 bytes) => 14 0c 00
14.235166 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
14.235181 Report[buf]: (3 bytes) => 14 0c 00
14.235196 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
14.235212 Report[buf]: (3 bytes) => 14 0c 00
14.235227 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
14.235242 Report[buf]: (3 bytes) => 14 0c 00
14.235257 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
14.235273 Report[buf]: (3 bytes) => 14 0c 00
14.235287 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
14.235302 Report[buf]: (3 bytes) => 14 0c 00
14.235317 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
14.235330 NUT doesn't use this HID object
14.235342 Report[buf]: (3 bytes) => 14 0c 00
14.235356 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
14.235369 NUT doesn't use this HID object
14.235381 Report[buf]: (3 bytes) => 14 0c 00
14.235395 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
14.235410 Report[buf]: (3 bytes) => 14 0c 00
14.235425 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
14.235441 Report[buf]: (3 bytes) => 14 0c 00
14.235455 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
14.235470 Report[buf]: (3 bytes) => 14 0c 00
14.235485 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
14.235497 NUT doesn't use this HID object
14.235509 Quick update...
16.239486 upsdrv_updateinfo...
16.259516 Report[int]: (2 bytes) => 0a 64
16.259554 Got 1 HID objects...
16.259568 Report[buf]: (2 bytes) => 0a 64
16.259588 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 100
16.259606 Quick update...
18.249379 upsdrv_updateinfo...
18.269384 Report[int]: (3 bytes) => 0e 80 04
18.269423 Got 1 HID objects...
18.269438 Report[buf]: (3 bytes) => 0e 80 04
18.269458 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 1152
18.269495 Quick update...
20.259261 upsdrv_updateinfo...
20.289329 Report[int]: (2 bytes) => 15 01
20.289367 HIDGetEvents: unexpected input report (ignored)
20.289378 Got 0 HID objects...
20.289391 Quick update...
22.269187 upsdrv_updateinfo...
22.299209 Report[int]: (3 bytes) => 14 0a 00
22.299250 Got 13 HID objects...
22.299264 Report[buf]: (3 bytes) => 14 0a 00
22.299284 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
22.299301 Report[buf]: (3 bytes) => 14 0a 00
22.299318 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 1
22.299333 Report[buf]: (3 bytes) => 14 0a 00
22.299348 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 0
22.299363 Report[buf]: (3 bytes) => 14 0a 00
22.299378 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
22.299393 Report[buf]: (3 bytes) => 14 0a 00
22.299408 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
22.299422 Report[buf]: (3 bytes) => 14 0a 00
22.299437 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
22.299452 Report[buf]: (3 bytes) => 14 0a 00
22.299466 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
22.299480 Report[buf]: (3 bytes) => 14 0a 00
22.299495 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
22.299511 NUT doesn't use this HID object
22.299523 Report[buf]: (3 bytes) => 14 0a 00
22.299538 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
22.299550 NUT doesn't use this HID object
22.299562 Report[buf]: (3 bytes) => 14 0a 00
22.299575 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
22.299590 Report[buf]: (3 bytes) => 14 0a 00
22.299605 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
22.299620 Report[buf]: (3 bytes) => 14 0a 00
22.299634 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
22.299649 Report[buf]: (3 bytes) => 14 0a 00
22.299663 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
22.299675 NUT doesn't use this HID object
22.299687 Quick update...
24.279087 upsdrv_updateinfo...
24.282605 Report[int]: (2 bytes) => 0a 46
24.282641 Got 1 HID objects...
24.282655 Report[buf]: (2 bytes) => 0a 46
24.282674 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 70
24.282709 Quick update...
Broadcast message from ups (Mon Aug 1 10:04:39 2011):
UPS xen-home at localhost on battery
26.289046 upsdrv_updateinfo...
26.298500 Report[int]: (3 bytes) => 0e 40 03
26.298537 Got 1 HID objects...
26.298551 Report[buf]: (3 bytes) => 0e 40 03
26.298572 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 832
26.298607 Quick update...
28.298922 upsdrv_updateinfo...
28.318982 Report[int]: (2 bytes) => 15 01
28.319021 HIDGetEvents: unexpected input report (ignored)
28.319033 Got 0 HID objects...
28.319046 Quick update...
30.308875 upsdrv_updateinfo...
30.338882 Report[int]: (3 bytes) => 14 0a 00
30.338923 Got 13 HID objects...
30.338937 Report[buf]: (3 bytes) => 14 0a 00
30.338958 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 0
30.338975 Report[buf]: (3 bytes) => 14 0a 00
30.338992 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 1
30.339008 Report[buf]: (3 bytes) => 14 0a 00
30.339023 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 0
30.339038 Report[buf]: (3 bytes) => 14 0a 00
30.339053 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
30.339069 Report[buf]: (3 bytes) => 14 0a 00
30.339083 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
30.339098 Report[buf]: (3 bytes) => 14 0a 00
30.339113 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
30.339128 Report[buf]: (3 bytes) => 14 0a 00
30.339143 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
30.339158 Report[buf]: (3 bytes) => 14 0a 00
30.339173 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
30.339185 NUT doesn't use this HID object
30.339197 Report[buf]: (3 bytes) => 14 0a 00
30.339212 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
30.339224 NUT doesn't use this HID object
30.339236 Report[buf]: (3 bytes) => 14 0a 00
30.339250 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
30.339265 Report[buf]: (3 bytes) => 14 0a 00
30.339280 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
30.339295 Report[buf]: (3 bytes) => 14 0a 00
30.339310 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
30.339325 Report[buf]: (3 bytes) => 14 0a 00
30.339339 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
30.339351 NUT doesn't use this HID object
30.339363 Full update...
30.339375 Report[buf]: (3 bytes) => 14 0a 00
30.339387 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Feature, ReportID: 0x14, Offset: 2, Size: 1, Value: 0
30.339401 Report[buf]: (3 bytes) => 14 0a 00
30.339413 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Feature, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
30.339427 Report[buf]: (3 bytes) => 14 0a 00
30.339438 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
30.339452 Report[buf]: (3 bytes) => 14 0a 00
30.339463 Path: UPS.PowerSummary.PresentStatus.Charging, Type:
Feature, ReportID: 0x14, Offset: 0, Size: 1, Value: 0
30.339477 Report[buf]: (3 bytes) => 14 0a 00
30.339488 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Feature, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
30.339502 Report[buf]: (3 bytes) => 14 0a 00
30.339514 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Feature, ReportID: 0x14, Offset: 1, Size: 1, Value: 1
30.339527 Report[buf]: (3 bytes) => 14 0a 00
30.339538 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
30.339552 Report[buf]: (3 bytes) => 14 0a 00
30.339563 Path: UPS.PowerSummary.PresentStatus.Overload, Type:
Feature, ReportID: 0x14, Offset: 11, Size: 1, Value: 0
30.339576 Report[buf]: (3 bytes) => 14 0a 00
30.339588 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
30.339602 Report[buf]: (3 bytes) => 14 0a 00
30.339613 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Feature, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
30.340252 Report[get]: (3 bytes) => 26 0a 00
30.340287 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID:
0x26, Offset: 2, Size: 1, Value: 0
30.340303 Report[buf]: (3 bytes) => 26 0a 00
30.340316 Path: UPS.PresentStatus.BatteryPresent, Type: Feature,
ReportID: 0x26, Offset: 3, Size: 1, Value: 1
30.340330 Report[buf]: (3 bytes) => 26 0a 00
30.340342 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0
30.340356 Report[buf]: (3 bytes) => 26 0a 00
30.340368 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID:
0x26, Offset: 12, Size: 1, Value: 0
30.340381 Report[buf]: (3 bytes) => 26 0a 00
30.340393 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID:
0x26, Offset: 13, Size: 1, Value: 0
30.340406 Report[buf]: (3 bytes) => 26 0a 00
30.340418 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID:
0x26, Offset: 0, Size: 1, Value: 0
30.340431 Report[buf]: (3 bytes) => 26 0a 00
30.340442 Path: UPS.PresentStatus.CommunicationLost, Type: Feature,
ReportID: 0x26, Offset: 10, Size: 1, Value: 0
30.340456 Report[buf]: (3 bytes) => 26 0a 00
30.340468 Path: UPS.PresentStatus.Discharging, Type: Feature,
ReportID: 0x26, Offset: 1, Size: 1, Value: 1
30.340481 Report[buf]: (3 bytes) => 26 0a 00
30.340493 Path: UPS.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x26, Offset: 6, Size: 1, Value: 0
30.340506 Report[buf]: (3 bytes) => 26 0a 00
30.340518 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID:
0x26, Offset: 11, Size: 1, Value: 0
30.340531 Report[buf]: (3 bytes) => 26 0a 00
30.349071 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type:
Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0
30.349095 Report[buf]: (3 bytes) => 26 0a 00
30.349108 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature,
ReportID: 0x26, Offset: 9, Size: 1, Value: 0
30.350268 Report[get]: (2 bytes) => 0a 43
30.350381 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 67
30.352272 Report[get]: (2 bytes) => 0c 0a
30.352314 Path: UPS.PowerSummary.RemainingCapacityLimit, Type:
Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10
30.354280 Report[get]: (2 bytes) => 0b 1e
30.354315 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature,
ReportID: 0x0b, Offset: 0, Size: 8, Value: 30
30.356280 Report[get]: (3 bytes) => 0e 40 03
30.356316 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 832
30.358293 Report[get]: (2 bytes) => 13 01
30.358333 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature,
ReportID: 0x13, Offset: 0, Size: 8, Value: 1
30.360300 Report[get]: (2 bytes) => 1f 18
30.360342 Path: UPS.Output.PercentLoad, Type: Feature, ReportID:
0x1f, Offset: 0, Size: 8, Value: 24
30.362305 Report[get]: (2 bytes) => 15 01
30.362346 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15,
Offset: 0, Size: 8, Value: 1
30.364280 Report[get]: (3 bytes) => 1d 00 00
30.364315 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d,
Offset: 0, Size: 16, Value: 0
30.366301 Report[get]: (2 bytes) => 1e 00
30.366341 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e,
Offset: 0, Size: 8, Value: 0
30.368302 Report[get]: (3 bytes) => 21 de 00
30.368343 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21,
Offset: 0, Size: 16, Value: 222
30.370299 Report[get]: (2 bytes) => 22 32
30.370342 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22,
Offset: 0, Size: 8, Value: 50
32.318753 upsdrv_updateinfo...
32.348780 Report[int]: (2 bytes) => 0a 43
32.348818 Got 1 HID objects...
32.348832 Report[buf]: (2 bytes) => 0a 43
32.348852 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 67
32.348871 Quick update...
34.328687 upsdrv_updateinfo...
34.330117 Report[int]: (3 bytes) => 0e 80 03
34.330150 Got 1 HID objects...
34.330164 Report[buf]: (3 bytes) => 0e 80 03
34.330184 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 896
34.330220 Quick update...
36.338567 upsdrv_updateinfo...
36.346072 Report[int]: (2 bytes) => 15 01
36.346108 HIDGetEvents: unexpected input report (ignored)
36.346120 Got 0 HID objects...
36.346133 Quick update...
38.348471 upsdrv_updateinfo...
38.368525 Report[int]: (3 bytes) => 14 0d 00
38.368564 Got 13 HID objects...
38.368579 Report[buf]: (3 bytes) => 14 0d 00
38.368599 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x14, Offset: 0, Size: 1, Value: 1
38.368616 Report[buf]: (3 bytes) => 14 0d 00
38.368632 Path: UPS.PowerSummary.PresentStatus.Discharging, Type:
Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0
38.368647 Report[buf]: (3 bytes) => 14 0d 00
38.368662 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type:
Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1
38.368677 Report[buf]: (3 bytes) => 14 0d 00
38.368691 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type:
Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1
38.368706 Report[buf]: (3 bytes) => 14 0d 00
38.368721 Path:
UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input,
ReportID: 0x14, Offset: 4, Size: 1, Value: 0
38.368735 Report[buf]: (3 bytes) => 14 0d 00
38.368750 Path:
UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input,
ReportID: 0x14, Offset: 5, Size: 1, Value: 0
38.368765 Report[buf]: (3 bytes) => 14 0d 00
38.368779 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type:
Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0
38.368794 Report[buf]: (3 bytes) => 14 0d 00
38.368808 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated,
Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0
38.368820 NUT doesn't use this HID object
38.368832 Report[buf]: (3 bytes) => 14 0d 00
38.368846 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested,
Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0
38.368858 NUT doesn't use this HID object
38.368870 Report[buf]: (3 bytes) => 14 0d 00
38.368883 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent,
Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0
38.368898 Report[buf]: (3 bytes) => 14 0d 00
38.368913 Path: UPS.PowerSummary.PresentStatus.CommunicationLost,
Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0
38.368928 Report[buf]: (3 bytes) => 14 0d 00
38.368942 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input,
ReportID: 0x14, Offset: 11, Size: 1, Value: 0
38.368956 Report[buf]: (3 bytes) => 14 0d 00
38.368970 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type:
Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0
38.368982 NUT doesn't use this HID object
38.368994 Quick update...
Broadcast message from ups (Mon Aug 1 10:04:54 2011):
UPS xen-home at localhost on line power
40.358431 upsdrv_updateinfo...
40.378411 Report[int]: (2 bytes) => 0a 50
40.378450 Got 1 HID objects...
40.378464 Report[buf]: (2 bytes) => 0a 50
40.378484 Path: UPS.PowerSummary.RemainingCapacity, Type: Input,
ReportID: 0x0a, Offset: 0, Size: 8, Value: 80
40.378518 Quick update...
42.368374 upsdrv_updateinfo...
42.398315 Report[int]: (3 bytes) => 0e 80 07
42.398355 Got 1 HID objects...
42.398370 Report[buf]: (3 bytes) => 0e 80 07
42.398391 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input,
ReportID: 0x0e, Offset: 0, Size: 16, Value: 1920
42.398428 Quick update...
44.378263 upsdrv_updateinfo...
44.418258 Report[int]: (2 bytes) => 15 01
44.418305 HIDGetEvents: unexpected input report (ignored)
44.418317 Got 0 HID objects...
44.418331 Quick update...
^C 45.768243 Signal 2: exiting
45.768284 upsdrv_cleanup...
[root at xen-home bin]#
===
Below are my conf-files (significant lines):
ups.conf:
===
user = ups
[xen-home]
# USB
driver = usbhid-ups
port = auto
desc = "Xensource host UPS"
===
upsd.conf
===
LISTEN 127.0.0.1 3493
===
upsmon.conf:
===
MONITOR xen-home at localhost 1 upsmon ***** master
MINSUPPLIES 1
###SHUTDOWNCMD "/sbin/shutdown -h +0"
SHUTDOWNCMD "date >> /var/log/nutlog"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
## Default 5
FINALDELAY 90
===
upsd.users:
===
[admin]
password = *****
actions = SET
instcmds = ALL
[upsmon]
password = *****
upsmon master
===
>
> cheers,
> Arno
>
WBR,
Sergei Dubrov
More information about the Nut-upsuser
mailing list