В Mon, 09 Nov 2009 15:10:21 +0100 Arjen de Korte <[email protected]> пишет:
> Citeren Alexander Gordeev <[email protected]>: > > >> 2) output of usbhid-ups driver when running in explore mode (see > >> 'man 8 usbhid-ups' how to set this up) > > Attached it either. > > Oops, worrying results: > > 0.334659 Can't retrieve Report 17: Value too large for > defined data type 0.334690 Path: > UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x11, > Offset: 0, Size: 8 0.365600 Can't retrieve Report 25: Value > too large for defined data type 0.365627 Path: > UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, > Size: 8 0.376605 Can't retrieve Report 28: Value too large for > defined data type 0.376625 Path: UPS.Input.ConfigVoltage, > Type: Feature, ReportID: 0x1c, Offset: 0, Size: 8 > 0.391619 Can't retrieve Report 32: Value too large for > defined data type 0.391646 Path: UPS.Output.ConfigVoltage, > Type: Feature, ReportID: 0x20, Offset: 0, Size: 8 > > The following reports are also suspicious: > > 0.338612 Path: UPS.PowerSummary.Voltage, Type: Feature, > ReportID: 0x12, Offset: 0, Size: 16, Value: 212.000000 > 0.369618 Path: UPS.Battery.Voltage, Type: Feature, > ReportID: 0x1a, Offset: 0, Size: 16, Value: 212.000000 > 0.380612 Path: UPS.Input.Voltage, Type: Feature, ReportID: > 0x1d, Offset: 0, Size: 16, Value: 212.000000 > 0.395605 Path: UPS.Output.Voltage, Type: Feature, > ReportID: 0x21, Offset: 0, Size: 16, Value: 212.000000 > > I really doubt the above values are indeed identical. > > Could you do the same, but now at debug level 3 (-DDD). I would like > to see the raw dump of the report descriptor too, to see where the > error is. My guess is that there is something wrong with the > contents of the report descriptor, that might allocate too little > room for the reports. Sure, attached it. -- Alexander
Network UPS Tools - Generic HID driver 0.34 (2.4.1-2089) USB communication driver 0.31 0.000000 debug level is '3' 0.000537 upsdrv_initups... 0.119800 Checking device (0D9F/00A2) (003/003) 0.164692 - VendorID: 0d9f 0.164727 - ProductID: 00a2 0.164741 - Manufacturer: POWERCOM Co.,LTD 0.164755 - Product: UPS IMP--525AP FW1.A1 0.164765 - Serial Number: 0A2-0000-0001 0.164774 - Bus: 003 0.164783 Trying to match device 0.164868 Device matches 0.164919 failed to claim USB device: could not claim interface 0: Device or resource busy 0.166944 detached kernel driver from USB device... 0.174659 HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 d0 02 0.174698 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 d0 02 0.174713 HID descriptor length 720 0.267677 Report Descriptor size = 720 0.267720 Report Descriptor: (720 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01 09 fe 0.267754 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.267784 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.267815 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.267849 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.267883 10 27 ff ff 00 00 b1 a2 85 0e 09 68 81 22 09 68 b1 a2 05 84 85 0f 09 57 75 0.267914 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.267949 b1 a2 85 11 09 40 75 08 15 64 26 e6 00 b1 22 85 12 09 30 75 10 16 00 00 26 0.267979 2c 01 b1 a2 85 13 09 5a 75 08 15 01 25 03 b1 a2 09 02 a1 02 05 85 85 14 09 0.268016 44 75 01 15 00 25 01 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 0.268051 09 d0 b1 a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 09 43 81 a2 09 0.268086 43 b1 a2 09 4b 81 a2 09 4b b1 a2 09 db 81 a2 09 db b1 a2 05 84 09 68 81 a2 0.268122 09 68 b1 a2 09 69 81 a2 09 69 b1 a2 09 73 81 a2 09 73 b1 a2 09 65 81 a2 09 0.268157 65 b1 a2 95 03 81 01 b1 01 95 01 06 86 ff 09 80 81 a2 09 80 b1 a2 c0 c0 05 0.268193 84 09 12 a1 00 85 15 09 58 75 08 25 06 b1 a2 85 16 09 70 25 06 b1 a2 05 85 0.268228 85 17 09 85 75 10 27 ff ff 00 00 b1 a2 85 18 09 66 75 08 15 00 25 64 b1 a2 0.268264 05 84 85 19 09 40 75 08 15 64 26 e6 00 b1 22 85 1a 09 30 75 10 16 00 00 26 0.268299 2c 01 b1 a2 85 1b 09 56 75 10 16 00 00 27 ff ff 00 00 b1 a2 c0 05 84 09 1a 0.268335 a1 00 85 1c 09 40 75 08 15 64 26 e6 00 b1 22 85 1d 09 30 75 10 16 00 00 26 0.268371 2c 01 b1 a2 85 1e 09 32 75 08 15 00 25 46 b1 a2 c0 05 84 09 1c a1 00 85 1f 0.268407 09 35 75 08 15 00 25 64 b1 a2 85 20 09 40 75 08 15 64 26 e6 00 b1 22 85 21 0.268442 09 30 75 10 16 00 00 26 2c 01 b1 a2 85 22 09 32 75 08 15 00 25 46 b1 a2 85 0.268476 23 09 57 75 10 16 00 00 27 ff ff 00 00 b1 a2 85 24 09 56 75 10 16 00 00 27 0.268507 ff ff 00 00 b1 a2 c0 05 84 85 06 09 01 79 05 b1 a2 85 25 09 5a 75 08 15 01 0.268544 25 03 b1 a2 09 02 a1 02 05 85 85 26 09 44 75 01 15 00 25 01 b1 a2 09 45 b1 0.268592 a2 09 d0 b1 a2 09 d1 b1 a2 09 42 b1 a2 09 43 b1 a2 09 4b b1 a2 09 db b1 a2 0.268622 05 84 09 68 b1 a2 09 69 b1 a2 09 73 b1 a2 09 65 b1 a2 09 6e b1 a2 09 6f b1 0.268658 a2 09 71 b1 a2 06 86 ff 09 80 b1 a2 c0 85 27 05 84 09 69 75 08 15 00 25 01 0.268694 b1 a2 85 28 09 2f 75 08 95 12 15 00 26 ff 00 b1 a2 06 86 ff 85 29 09 60 81 0.268715 a2 09 60 b1 a2 c0 0.268899 Using subdriver: EXPLORE HID 0.1 0.272694 Report[get]: (2 bytes) => 01 01 0.272762 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1.000000 0.276660 Report[get]: (2 bytes) => 02 02 0.276704 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2.000000 0.280633 Report[get]: (2 bytes) => 03 03 0.280660 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3.000000 0.284628 Report[get]: (2 bytes) => 04 03 0.284667 Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 3.000000 0.288664 Report[get]: (2 bytes) => 05 04 0.288700 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 4.000000 0.292648 Report[get]: (2 bytes) => 07 01 0.292685 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 1.000000 0.296618 Report[get]: (2 bytes) => 08 02 0.296639 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 2.000000 0.308483 Report[get]: (3 bytes) => 09 64 64 0.308569 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x09, Offset: 0, Size: 8, Value: 100.000000 0.308592 Report[buf]: (3 bytes) => 09 64 64 0.308611 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x09, Offset: 8, Size: 8, Value: 100.000000 0.312637 Report[get]: (2 bytes) => 0a 64 0.312678 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0a, Offset: 0, Size: 8, Value: 100.000000 0.312699 Report[buf]: (2 bytes) => 0a 64 0.312717 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 100.000000 0.316645 Report[get]: (2 bytes) => 0b 1e 0.316674 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 30.000000 0.320649 Report[get]: (2 bytes) => 0c 0a 0.320682 Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10.000000 0.324646 Report[get]: (3 bytes) => 0d a6 34 0.324676 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 13478.000000 0.328650 Report[get]: (3 bytes) => 0e 80 09 0.328680 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2432.000000 0.328704 Report[buf]: (3 bytes) => 0e 80 09 0.328722 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2432.000000 0.332647 Report[get]: (3 bytes) => 0f 00 00 0.332667 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0.000000 0.336643 Report[get]: (3 bytes) => 10 00 00 0.336662 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x10, Offset: 0, Size: 16, Value: 0.000000 0.339675 Can't retrieve Report 17: Value too large for defined data type 0.339707 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8 0.343640 Report[get]: (3 bytes) => 12 f0 00 0.343669 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 240.000000 0.347655 Report[get]: (2 bytes) => 13 01 0.347695 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1.000000 0.351635 Report[get]: (3 bytes) => 14 0c 10 0.351664 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000 0.351685 Report[buf]: (3 bytes) => 14 0c 10 0.351702 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000 0.351719 Report[buf]: (3 bytes) => 14 0c 10 0.351738 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000 0.351756 Report[buf]: (3 bytes) => 14 0c 10 0.351773 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000 0.351789 Report[buf]: (3 bytes) => 14 0c 10 0.351811 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000 0.351827 Report[buf]: (3 bytes) => 14 0c 10 0.351844 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000 0.351859 Report[buf]: (3 bytes) => 14 0c 10 0.351878 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000 0.351896 Report[buf]: (3 bytes) => 14 0c 10 0.351913 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000 0.351928 Report[buf]: (3 bytes) => 14 0c 10 0.351952 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000 0.351968 Report[buf]: (3 bytes) => 14 0c 10 0.351986 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000 0.352001 Report[buf]: (3 bytes) => 14 0c 10 0.352026 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000 0.352042 Report[buf]: (3 bytes) => 14 0c 10 0.352060 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000 0.352074 Report[buf]: (3 bytes) => 14 0c 10 0.352097 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000 0.352114 Report[buf]: (3 bytes) => 14 0c 10 0.352131 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000 0.352146 Report[buf]: (3 bytes) => 14 0c 10 0.352166 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000 0.352182 Report[buf]: (3 bytes) => 14 0c 10 0.352199 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000 0.352214 Report[buf]: (3 bytes) => 14 0c 10 0.352237 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000 0.352254 Report[buf]: (3 bytes) => 14 0c 10 0.352272 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000 0.352286 Report[buf]: (3 bytes) => 14 0c 10 0.352303 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000 0.352317 Report[buf]: (3 bytes) => 14 0c 10 0.352333 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000 0.352346 Report[buf]: (3 bytes) => 14 0c 10 0.352362 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000 0.352376 Report[buf]: (3 bytes) => 14 0c 10 0.352392 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000 0.352406 Report[buf]: (3 bytes) => 14 0c 10 0.352422 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000 0.352436 Report[buf]: (3 bytes) => 14 0c 10 0.352452 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000 0.352466 Report[buf]: (3 bytes) => 14 0c 10 0.352482 Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000 0.352495 Report[buf]: (3 bytes) => 14 0c 10 0.352512 Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Feature, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000 0.355619 Report[get]: (2 bytes) => 15 01 0.355641 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1.000000 0.359636 Report[get]: (2 bytes) => 16 01 0.359658 Path: UPS.Battery.Initialized, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 1.000000 0.363634 Report[get]: (3 bytes) => 17 a6 34 0.363658 Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 13478.000000 0.367635 Report[get]: (2 bytes) => 18 64 0.367658 Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 100.000000 0.370663 Can't retrieve Report 25: Value too large for defined data type 0.370682 Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8 0.374711 Report[get]: (3 bytes) => 1a f0 00 0.374757 Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 240.000000 0.378704 Report[get]: (3 bytes) => 1b 00 00 0.378744 Path: UPS.Battery.DelayBeforeStartup, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.000000 0.381689 Can't retrieve Report 28: Value too large for defined data type 0.381722 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 8 0.385649 Report[get]: (3 bytes) => 1d d2 00 0.385687 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 210.000000 0.389650 Report[get]: (2 bytes) => 1e 32 0.389672 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 50.000000 0.393636 Report[get]: (2 bytes) => 1f 00 0.393658 Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 0.000000 0.396662 Can't retrieve Report 32: Value too large for defined data type 0.396680 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 8 0.400776 Report[get]: (3 bytes) => 21 f0 00 0.400802 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 240.000000 0.404669 Report[get]: (2 bytes) => 22 32 0.404706 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 50.000000 0.408628 Report[get]: (3 bytes) => 23 00 00 0.408651 Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 0.000000 0.412620 Report[get]: (3 bytes) => 24 00 00 0.412644 Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 0.000000 0.416654 Report[get]: (3 bytes) => 06 05 00 0.416673 Path: UPS.iName, Type: Feature, ReportID: 0x06, Offset: 0, Size: 16, Value: 5.000000 0.420619 Report[get]: (2 bytes) => 25 01 0.420638 Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x25, Offset: 0, Size: 8, Value: 1.000000 0.424647 Report[get]: (3 bytes) => 26 0c 10 0.424668 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0.000000 0.424682 Report[buf]: (3 bytes) => 26 0c 10 0.424697 Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x26, Offset: 1, Size: 1, Value: 0.000000 0.424711 Report[buf]: (3 bytes) => 26 0c 10 0.424726 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x26, Offset: 2, Size: 1, Value: 1.000000 0.424739 Report[buf]: (3 bytes) => 26 0c 10 0.424755 Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x26, Offset: 3, Size: 1, Value: 1.000000 0.424768 Report[buf]: (3 bytes) => 26 0c 10 0.424783 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0.000000 0.424797 Report[buf]: (3 bytes) => 26 0c 10 0.424812 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0.000000 0.424826 Report[buf]: (3 bytes) => 26 0c 10 0.424841 Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x26, Offset: 6, Size: 1, Value: 0.000000 0.424854 Report[buf]: (3 bytes) => 26 0c 10 0.424869 Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x26, Offset: 7, Size: 1, Value: 0.000000 0.424882 Report[buf]: (3 bytes) => 26 0c 10 0.424897 Path: UPS.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x26, Offset: 8, Size: 1, Value: 0.000000 0.424911 Report[buf]: (3 bytes) => 26 0c 10 0.424925 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x26, Offset: 9, Size: 1, Value: 0.000000 0.424939 Report[buf]: (3 bytes) => 26 0c 10 0.424953 Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x26, Offset: 10, Size: 1, Value: 0.000000 0.424967 Report[buf]: (3 bytes) => 26 0c 10 0.424982 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x26, Offset: 11, Size: 1, Value: 0.000000 0.424995 Report[buf]: (3 bytes) => 26 0c 10 0.425010 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID: 0x26, Offset: 12, Size: 1, Value: 1.000000 0.425023 Report[buf]: (3 bytes) => 26 0c 10 0.425038 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID: 0x26, Offset: 13, Size: 1, Value: 0.000000 0.425051 Report[buf]: (3 bytes) => 26 0c 10 0.425066 Path: UPS.PresentStatus.Tested, Type: Feature, ReportID: 0x26, Offset: 14, Size: 1, Value: 0.000000 0.425079 Report[buf]: (3 bytes) => 26 0c 10 0.425094 Path: UPS.PresentStatus.ff860080, Type: Feature, ReportID: 0x26, Offset: 15, Size: 1, Value: 0.000000 0.429825 Report[get]: (2 bytes) => 27 00 0.429844 Path: UPS.ShutdownImminent, Type: Feature, ReportID: 0x27, Offset: 0, Size: 8, Value: 0.000000 0.434946 Report[get]: (19 bytes) => 28 30 11 00 64 69 78 32 ff 32 00 00 18 00 4b 28 0.434961 00 00 00 0.434980 Path: UPS.0084002f, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 48.000000 0.437680 Can't retrieve Report 41: Broken pipe 0.437710 Path: UPS.ff860060, Type: Input, ReportID: 0x29, Offset: 0, Size: 8 0.440711 Can't retrieve Report 41: Broken pipe 0.440747 Path: UPS.ff860060, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8 0.440794 Report descriptor retrieved (Reportlen = 720) 0.440804 Found HID device 0.440814 Detected a UPS: POWERCOM Co.,LTD / UPS IMP--525AP FW1.A1 0.440832 upsdrv_initinfo... 0.440853 upsdrv_updateinfo... 0.692639 Got 0 HID objects... 0.692668 Quick update... 0.692874 dstate_init: sock /home/alex/development/nut/build/var/state/ups/usbhid-ups-powercom open on fd 5 0.692923 upsdrv_updateinfo... 0.945669 Got 0 HID objects... 0.945699 Quick update... 2.694045 upsdrv_updateinfo... 2.945664 Got 0 HID objects... 2.945696 Quick update... 4.694428 upsdrv_updateinfo... 4.732933 file_report_buffer: expected 2 bytes, but got 3! 4.732979 Report[err]: (3 bytes) => 0a 0c 10 4.732998 HIDGetEvents: failed to buffer report: Numerical result out of range 4.733009 Got 0 HID objects... 4.733026 Quick update... 6.695235 upsdrv_updateinfo... 6.714711 Report[int]: (3 bytes) => 0e 64 10 6.714744 Got 1 HID objects... 6.718640 Report[get]: (3 bytes) => 0e 80 09 6.718687 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2432.000000 6.718704 NUT doesn't use this HID object 6.718714 Quick update... 8.695413 upsdrv_updateinfo... 8.698700 file_report_buffer: expected 2 bytes, but got 3! 8.698744 Report[err]: (3 bytes) => 15 80 09 8.698765 HIDGetEvents: failed to buffer report: Numerical result out of range 8.698778 Got 0 HID objects... 8.698788 Quick update... 10.695930 upsdrv_updateinfo... 10.746665 Report[int]: (3 bytes) => 14 01 09 10.746695 Got 13 HID objects... 10.750705 Report[get]: (3 bytes) => 14 0c 10 10.750760 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000 10.750780 NUT doesn't use this HID object 10.750794 Report[buf]: (3 bytes) => 14 0c 10 10.750811 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000 10.750825 NUT doesn't use this HID object 10.750838 Report[buf]: (3 bytes) => 14 0c 10 10.750855 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000 10.750869 NUT doesn't use this HID object 10.750886 Report[buf]: (3 bytes) => 14 0c 10 10.750905 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000 10.750919 NUT doesn't use this HID object 10.750941 Report[buf]: (3 bytes) => 14 0c 10 10.750958 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000 10.750972 NUT doesn't use this HID object 10.750988 Report[buf]: (3 bytes) => 14 0c 10 10.751006 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000 10.751020 NUT doesn't use this HID object 10.751036 Report[buf]: (3 bytes) => 14 0c 10 10.751054 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000 10.751068 NUT doesn't use this HID object 10.751085 Report[buf]: (3 bytes) => 14 0c 10 10.751103 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000 10.751118 NUT doesn't use this HID object 10.751133 Report[buf]: (3 bytes) => 14 0c 10 10.751152 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000 10.751170 NUT doesn't use this HID object 10.751182 Report[buf]: (3 bytes) => 14 0c 10 10.751203 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000 10.751218 NUT doesn't use this HID object 10.751231 Report[buf]: (3 bytes) => 14 0c 10 10.751252 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000 10.751268 NUT doesn't use this HID object 10.751281 Report[buf]: (3 bytes) => 14 0c 10 10.751302 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000 10.751319 NUT doesn't use this HID object 10.751332 Report[buf]: (3 bytes) => 14 0c 10 10.751354 Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000 10.751371 NUT doesn't use this HID object 10.751381 Quick update... 12.696795 upsdrv_updateinfo... 12.948697 Got 0 HID objects... 12.948732 Quick update... 14.698147 upsdrv_updateinfo... 14.950673 Got 0 HID objects... 14.950706 Quick update... 16.699769 upsdrv_updateinfo... 16.762703 file_report_buffer: expected 2 bytes, but got 3! 16.762741 Report[err]: (3 bytes) => 0a 0c 10 16.762765 HIDGetEvents: failed to buffer report: Numerical result out of range 16.762776 Got 0 HID objects... 16.762786 Quick update... 18.700491 upsdrv_updateinfo... 18.746661 Report[int]: (3 bytes) => 0e 64 10 18.746691 Got 1 HID objects... 18.750694 Report[get]: (3 bytes) => 0e 80 09 18.750747 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2432.000000 18.750764 NUT doesn't use this HID object 18.750774 Quick update... 20.702525 upsdrv_updateinfo... 20.730659 file_report_buffer: expected 2 bytes, but got 3! 20.730685 Report[err]: (3 bytes) => 15 80 09 20.730701 HIDGetEvents: failed to buffer report: Numerical result out of range 20.730712 Got 0 HID objects... 20.730722 Quick update... 22.704591 upsdrv_updateinfo... 22.714678 Report[int]: (3 bytes) => 14 01 09 22.714701 Got 13 HID objects... 22.721811 Report[get]: (3 bytes) => 14 0c 10 22.721851 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000 22.721868 NUT doesn't use this HID object 22.721882 Report[buf]: (3 bytes) => 14 0c 10 22.721902 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000 22.721919 NUT doesn't use this HID object 22.721932 Report[buf]: (3 bytes) => 14 0c 10 22.721955 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000 22.721970 NUT doesn't use this HID object 22.721983 Report[buf]: (3 bytes) => 14 0c 10 22.722005 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000 22.722020 NUT doesn't use this HID object 22.722033 Report[buf]: (3 bytes) => 14 0c 10 22.722055 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000 22.722070 NUT doesn't use this HID object 22.722083 Report[buf]: (3 bytes) => 14 0c 10 22.722107 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000 22.722122 NUT doesn't use this HID object 22.722135 Report[buf]: (3 bytes) => 14 0c 10 22.722156 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000 22.722171 NUT doesn't use this HID object 22.722184 Report[buf]: (3 bytes) => 14 0c 10 22.722204 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000 22.722220 NUT doesn't use this HID object 22.722233 Report[buf]: (3 bytes) => 14 0c 10 22.722254 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000 22.722269 NUT doesn't use this HID object 22.722282 Report[buf]: (3 bytes) => 14 0c 10 22.722303 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000 22.722318 NUT doesn't use this HID object 22.722331 Report[buf]: (3 bytes) => 14 0c 10 22.722352 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000 22.722368 NUT doesn't use this HID object 22.722382 Report[buf]: (3 bytes) => 14 0c 10 22.722401 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000 22.722418 NUT doesn't use this HID object 22.722431 Report[buf]: (3 bytes) => 14 0c 10 22.722453 Path: UPS.PowerSummary.PresentStatus.ff860080, Type: Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000 22.722470 NUT doesn't use this HID object 22.722480 Quick update... 24.704637 upsdrv_updateinfo... 24.956664 Got 0 HID objects... 24.956697 Quick update... 26.706198 upsdrv_updateinfo... 26.958698 Got 0 HID objects... 26.958732 Quick update... 28.708131 upsdrv_updateinfo... 28.730640 file_report_buffer: expected 2 bytes, but got 3! 28.730676 Report[err]: (3 bytes) => 0a 0c 10 28.730699 HIDGetEvents: failed to buffer report: Numerical result out of range 28.730711 Got 0 HID objects... 28.730725 Quick update... 30.709306 upsdrv_updateinfo... 30.714710 Report[int]: (3 bytes) => 0e 64 00 30.714743 Got 1 HID objects... 30.718690 Report[get]: (3 bytes) => 0e 80 09 30.718743 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2432.000000 30.718759 NUT doesn't use this HID object 30.718769 Quick update... 32.710484 upsdrv_updateinfo... 32.762667 file_report_buffer: expected 2 bytes, but got 3! 32.762704 Report[err]: (3 bytes) => 15 80 09 32.762723 HIDGetEvents: failed to buffer report: Numerical result out of range 32.762740 Got 0 HID objects... 32.762751 Full update... ^C 34.601275 Signal 2: exiting 34.601306 upsdrv_cleanup...
signature.asc
Description: PGP signature
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
