[Nut-upsuser] usbhid-ups works, upsc doesn't - help?

Dave dave at reddave.com
Fri Oct 17 00:03:44 UTC 2008


On Oct 16, 2008, at 3:42 PM, Charles Lepple wrote:

> On Thu, Oct 16, 2008 at 1:46 PM, Dave <dave at reddave.com> wrote:
>>
>> I've installed NUT on my Mac OS X 10.5 server, using the macports
>> build. The machine is a dual processor G4 tower, connected to an APC
>> UPS via USB.
>
> What version of NUT? (The macports project is separate from the main
> NUT project)
>
Macports installed version 2.2.2, which if I read the documentation  
correctly it grabbed the source for directly from the NUT website and  
then simply automated compilation for me, confusing me greatly in the  
process about where the hell it had put things :-)

>>
>>
>> When I run:
>> sudo /opt/local/bin/usbhid-ups -a apcups -DD
>> I get what looks to be success:
>>
>> Checking device (051D/0002) (001/002-051d-0002-00-00)
>> - VendorID: 051d
>> - ProductID: 0002
>> - Manufacturer: American Power Conversion
>> - Product: Back-UPS XS 1300 LCD FW:836.H7 .D USB FW:H7
>> - Serial Number: 8B0749R24222
>> - Bus: 001
>> Trying to match device
>> Device matches
>> failed to claim USB device...
>
> If this device shows up in the Power Management section of System
> Preferences, there might be some conflicts between that and NUT.

Hmm... thats a possibility, as it is indeed showing up in the power  
manager. The weird thing is that the data below looks correct; that  
is, ACpresent is 1.0, for true, discharging is 0.0, etc...

>
>
>> HID descriptor length 1079
>> Report Descriptor size = 1079
>> Using subdriver: APC HID 0.92
>>
>> .
>> . [excess data skipped]
>> .
>>
>> Quick update...
>> Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
>> ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
>> Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
>> ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
>> Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
>> ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
>> Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
>> Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
>> Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,
>> Offset: 0, Size: 8, Value: 0.000000
>> Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,
>> Offset: 8, Size: 8, Value: 0.000000
>> Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,
>> Offset: 0, Size: 8, Value: 1.000000
>> Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,
>> ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
>> Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,
>> Offset: 16, Size: 8, Value: 8.000000
>> upsdrv_updateinfo...
>> Got -22 HID objects...
>
> Hmm, this doesn't look good. The number of HID objects should be  
> positive.
>
> Does anything else get printed after this?
>
The quick update is repeated indefinitely when I'm running usbhid-ups  
directly/interactively.

I'll attach out the entire debug level 4 output from the driver below:

Thanks very much for taking the time to look at this!

> -- 
> - Charles Lepple

Dave


-----

$ sudo /opt/local/bin/usbhid-ups -DDDD -a apcups

Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2)

debug level is '4'
upsdrv_initups...
Checking device (05AC/8005) (001/001-05ac-8005-09-00)
- VendorID: 05ac
- ProductID: 8005
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (051D/0002) (001/002-051d-0002-00-00)
- VendorID: 051d
- ProductID: 0002
- Manufacturer: American Power Conversion
- Product: Back-UPS XS 1300 LCD FW:836.H7 .D USB FW:H7
- Serial Number: 8B0749R24222
- Bus: 001
Trying to match device
Device matches
failed to claim USB device...
HID descriptor, method 1: (9 bytes) => 09 21 10 01 21 01 22 37 04
i=0, extra[i]=09, extra[i+1]=21
HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 37 04
HID descriptor length 1079
Report Descriptor size = 1079
Report Descriptor: (1079 bytes) => 05 84 09 04 a1 01 09 24 a1 00 85 01  
09
  fe 79 01 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 02 b1 22 85  
03 05
  85 09 89 79 04 b1 22 85 04 09 8f 79 03 b1 22 85 05 09 8b b1 22 85 06  
09 44
  81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 06 86 ff 09 60 81 a2 09 60  
b1 a2
  85 07 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85 08 05 84 09 40 67 21  
d1 f0
  00 55 05 b1 22 85 09 09 30 b1 a2 85 0a 09 fd 75 08 26 ff 00 65 00 55  
00 79
  03 b1 22 85 0b 05 85 09 2c b1 22 85 0c 09 66 25 64 81 a2 09 66 b1 a2  
09 68
  75 10 27 ff ff 00 00 66 01 10 81 a2 09 68 b1 a2 85 0d 09 83 75 08 25  
64 65
  00 b1 22 85 0e 09 67 b1 22 85 0f 09 8c b1 22 85 10 09 8e b1 22 85 11  
09 29
  15 01 b1 a2 85 12 09 8d 15 00 b1 22 85 13 09 d0 25 01 81 a2 09 d0 b1  
a2 85
  14 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2 09 69 b1 a2 85 15 09 57  
75 10
  16 ff ff 26 ff 7f 66 01 10 b1 a2 09 02 a1 02 85 16 05 85 65 00 75 01  
15 00
  25 01 09 44 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 09  
d0 b1
  a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 05 84 09 69 81 a2  
09 69
  b1 a2 05 85 09 43 81 a2 09 43 b1 a2 05 84 09 73 81 a2 09 73 b1 a2 05  
85 09
  4b 81 a2 09 4b b1 a2 05 84 09 65 81 a2 09 65 b1 a2 05 85 09 db 81 a2  
09 db
  b1 a2 95 15 81 01 b1 01 c0 85 17 09 2a 95 01 75 10 27 ff ff 00 00 66  
01 10
  b1 a2 85 18 05 84 09 5a 75 08 15 01 25 03 65 00 b1 a2 c0 09 12 a1 00  
85 1c
  06 86 ff 09 16 75 18 15 00 27 ff ff ff 00 b2 a2 01 85 20 05 85 09 85  
75 10
  27 ff ff 00 00 b1 a2 85 21 05 84 09 58 75 08 25 06 81 a2 09 58 b1 a2  
85 22
  05 85 09 66 25 64 b1 a2 85 23 09 68 75 10 27 ff ff 00 00 66 01 10 b1  
a2 85
  24 09 2a b1 a2 85 25 05 84 09 40 67 21 d1 f0 00 55 05 b1 22 85 26 09  
30 b1
  a2 85 27 06 86 ff 09 24 75 10 16 e9 00 26 fe 00 65 00 55 00 b1 a2 85  
28 09
  18 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 05 84 09 1a a1 00  
85 30
  05 84 09 40 75 08 15 00 26 ff 00 67 21 d1 f0 00 55 07 b1 22 85 31 09  
30 75
  10 b1 a2 85 32 09 53 16 4e 00 26 58 00 b1 a2 85 33 09 54 16 88 00 26  
8e 00
  b1 a2 85 34 06 86 ff 09 24 16 75 00 26 8b 00 65 00 55 00 b1 a2 85 35  
75 08
  09 61 15 00 25 02 b1 a2 85 36 09 52 25 0d b1 a2 c0 09 05 a1 00 85 40  
09 7c
  25 01 b1 a2 85 41 09 7d 75 10 16 ff ff 26 ff 7f 66 01 10 b1 a2 85 42  
05 84
  09 57 b1 a2 c0 09 16 a1 00 85 50 09 35 75 08 15 00 25 64 65 00 b1 a2  
85 51
  06 86 ff 09 24 16 be 00 26 fe 00 b1 a2 85 52 05 84 09 44 75 10 15 00  
27 ff
  ff 00 00 66 21 d1 55 07 b1 a2 c0 06 86 ff 09 01 a1 00 85 60 09 23 65  
00 55
  00 b1 a2 85 61 09 26 75 08 16 10 00 26 1c 00 b1 a2 85 62 09 25 75 20  
17 01
  00 00 80 27 ff ff ff 7f b2 a2 01 c0 85 7f 05 84 09 fe 79 05 75 08 95  
01 15
  00 26 ff 00 b1 22 85 7e 06 86 ff 09 42 79 07 b1 22 85 7d 05 84 09 ff  
79 02
  b1 22 85 7c 09 fd 79 03 b1 22 85 7b 05 85 09 85 75 10 27 ff ff 00 00  
b1 a2
  05 84 09 02 a1 02 85 7a 05 85 09 44 75 01 25 01 b1 a2 09 45 b1 a2 09  
d0 b1
  a2 09 d1 b1 a2 09 42 b1 a2 05 84 09 69 b1 a2 05 85 09 43 b1 a2 05 84  
09 73
  b1 a2 05 85 09 4b b1 a2 05 84 09 65 b1 a2 05 85 09 db b1 a2 95 15 b1  
01 c0
  85 79 06 86 ff 09 72 75 08 95 01 b1 a2 85 78 05 84 09 5a 15 01 25 03  
b1 a2
  85 75 06 86 ff 09 29 75 10 15 00 27 ff ff 00 00 b1 a2 85 74 06 86 ff  
09 2a
  75 20 17 01 00 00 80 27 ff ff ff 7f b1 a2 a1 02 06 00 ff 85 80 09 55  
15 00
  26 ff 00 75 08 95 01 b1 82 85 81 09 58 75 08 95 06 b1 82 85 82 09 59  
75 08
  95 01 b1 82 85 83 09 60 75 08 95 01 b1 82 c0 c0
Using subdriver: APC HID 0.92
Entering libusb_get_report
Report[get]: (2 bytes) => 01 01
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 02 02
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02,  
Offset: 0, Size: 8, Value: 2.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 03 04
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:  
0x03, Offset: 0, Size: 8, Value: 4.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 04 03
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04,  
Offset: 0, Size: 8, Value: 3.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 05 01
Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x06, Offset:  
0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Input, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 07 87 37
Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID:  
0x07, Offset: 0, Size: 16, Value: 14215.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 08 60 09
Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x08,  
Offset: 0, Size: 16, Value: 24.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 09 70 0a
Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x09, Offset:  
0, Size: 16, Value: 26.720000
Entering libusb_get_report
Report[get]: (2 bytes) => 0a 03
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0a,  
Offset: 0, Size: 8, Value: 3.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 0b 02
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b,  
Offset: 0, Size: 8, Value: 2.000000
Entering libusb_get_report
Report[get]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0c,  
Offset: 0, Size: 8, Value: 100.000000
Report[buf]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:  
0x0c, Offset: 0, Size: 8, Value: 100.000000
Report[buf]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0c,  
Offset: 8, Size: 16, Value: 1628.000000
Report[buf]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0c,  
Offset: 8, Size: 16, Value: 1628.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 0d 64
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0d,  
Offset: 0, Size: 8, Value: 100.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 0e 64
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID:  
0x0e, Offset: 0, Size: 8, Value: 100.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 0f 32
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID:  
0x0f, Offset: 0, Size: 8, Value: 50.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 10 01
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID:  
0x10, Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 11 0a
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature,  
ReportID: 0x11, Offset: 0, Size: 8, Value: 10.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 12 01
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID:  
0x12, Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x13, Offset:  
0, Size: 8, Value: 1.000000
Report[buf]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.ShutdownImminent, Type: Input, ReportID: 0x14,  
Offset: 8, Size: 8, Value: 0.000000
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, ReportID:  
0x14, Offset: 8, Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 15 ff ff
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID:  
0x15, Offset: 0, Size: 16, Value: -1.000000
Entering libusb_get_report
refresh_report_buffer: expected 5 bytes, but got only 3
Report[get]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID:  
0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID:  
0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input,  
ReportID: 0x16, Offset: 3, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature,  
ReportID: 0x16, Offset: 3, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Input, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input,  
ReportID: 0x16, Offset: 5, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature,  
ReportID: 0x16, Offset: 5, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type:  
Input, ReportID: 0x16, Offset: 6, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type:  
Feature, ReportID: 0x16, Offset: 6, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input,  
ReportID: 0x16, Offset: 7, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature,  
ReportID: 0x16, Offset: 7, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input,  
ReportID: 0x16, Offset: 8, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,  
ReportID: 0x16, Offset: 8, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID:  
0x16, Offset: 9, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature,  
ReportID: 0x16, Offset: 9, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input,  
ReportID: 0x16, Offset: 10, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type:  
Feature, ReportID: 0x16, Offset: 10, Size: 1, Value: 0.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 17 78 00
Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID:  
0x17, Offset: 0, Size: 16, Value: 120.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
Entering libusb_get_report
refresh_report_buffer: expected 4 bytes, but got only 3
Report[get]: (4 bytes) => 1c 87 37 00
Path: UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x1c,  
Offset: 0, Size: 24, Value: 14215.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 20 87 37
Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x20,  
Offset: 0, Size: 16, Value: 14215.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 21 06
Path: UPS.Battery.Test, Type: Input, ReportID: 0x21, Offset: 0, Size:  
8, Value: 6.000000
Report[buf]: (2 bytes) => 21 06
Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, Offset: 0,  
Size: 8, Value: 6.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 22 64
Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x22,  
Offset: 0, Size: 8, Value: 100.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 23 5c 06
Path: UPS.Battery.RunTimeToEmpty, Type: Feature, ReportID: 0x23,  
Offset: 0, Size: 16, Value: 1628.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 24 78 00
Path: UPS.Battery.RemainingTimeLimit, Type: Feature, ReportID: 0x24,  
Offset: 0, Size: 16, Value: 120.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 25 60 09
Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x25,  
Offset: 0, Size: 16, Value: 24.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 26 70 0a
Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x26, Offset: 0,  
Size: 16, Value: 26.720000
Entering libusb_get_report
Report[get]: (3 bytes) => 27 f5 00
Path: UPS.Battery.ff860024, Type: Feature, ReportID: 0x27, Offset: 0,  
Size: 16, Value: 245.000000
Entering libusb_get_report
Report[get]: (5 bytes) => 28 02 90 0e aa
Path: UPS.Battery.ff860018, Type: Feature, ReportID: 0x28, Offset: 0,  
Size: 32, Value: -1441886206.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 30 78
Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset:  
0, Size: 8, Value: 120.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 31 76 00
Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0,  
Size: 16, Value: 118.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 32 58 00
Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x32,  
Offset: 0, Size: 16, Value: 88.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 33 8b 00
Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x33,  
Offset: 0, Size: 16, Value: 139.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 34 7f 00
Path: UPS.Input.ff860024, Type: Feature, ReportID: 0x34, Offset: 0,  
Size: 16, Value: 127.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 35 01
Path: UPS.Input.ff860061, Type: Feature, ReportID: 0x35, Offset: 0,  
Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 36 00
Path: UPS.Input.ff860052, Type: Feature, ReportID: 0x36, Offset: 0,  
Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 40 00
Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: Feature,  
ReportID: 0x40, Offset: 0, Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 41 ff ff
Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: Feature,  
ReportID: 0x41, Offset: 0, Size: 16, Value: -1.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 42 ff ff
Path: UPS.APCGeneralCollection.DelayBeforeShutdown, Type: Feature,  
ReportID: 0x42, Offset: 0, Size: 16, Value: -1.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 50 16
Path: UPS.PowerConverter.PercentLoad, Type: Feature, ReportID: 0x50,  
Offset: 0, Size: 8, Value: 22.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 51 df
Path: UPS.PowerConverter.ff860024, Type: Feature, ReportID: 0x51,  
Offset: 0, Size: 8, Value: 223.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 52 0c 03
Path: UPS.PowerConverter.ConfigActivePower, Type: Feature, ReportID:  
0x52, Offset: 0, Size: 16, Value: 780.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 60 00 00
Path: UPS.ff860001.ff860023, Type: Feature, ReportID: 0x60, Offset: 0,  
Size: 16, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 61 10
Path: UPS.ff860001.ff860026, Type: Feature, ReportID: 0x61, Offset: 0,  
Size: 8, Value: 16.000000
Entering libusb_get_report
Report[get]: (5 bytes) => 62 00 01 02 03
Path: UPS.ff860001.ff860025, Type: Feature, ReportID: 0x62, Offset: 0,  
Size: 32, Value: 50462976.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 7f 05
Path: UPS.iProduct, Type: Feature, ReportID: 0x7f, Offset: 0, Size: 8,  
Value: 5.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 7e 07
Path: UPS.APC_UPS_FirmwareRevision, Type: Feature, ReportID: 0x7e,  
Offset: 0, Size: 8, Value: 7.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 7d 02
Path: UPS.iSerialNumber, Type: Feature, ReportID: 0x7d, Offset: 0,  
Size: 8, Value: 2.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 7c 03
Path: UPS.iManufacturer, Type: Feature, ReportID: 0x7c, Offset: 0,  
Size: 8, Value: 3.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 7b 87 37
Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x7b, Offset: 0,  
Size: 16, Value: 14215.000000
Entering libusb_get_report
refresh_report_buffer: expected 5 bytes, but got only 3
Report[get]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x7a,  
Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x7a,  
Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x7a,  
Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x7a,  
Offset: 3, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x7a, Offset: 4, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID:  
0x7a, Offset: 5, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature,  
ReportID: 0x7a, Offset: 6, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID:  
0x7a, Offset: 7, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID:  
0x7a, Offset: 8, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x7a,  
Offset: 9, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 7a 0c 00 00 00
Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID:  
0x7a, Offset: 10, Size: 1, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 79 00
Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, Offset: 0,  
Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 78 02
Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x78, Offset:  
0, Size: 8, Value: 2.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 75 62 00
Path: UPS.ff860029, Type: Feature, ReportID: 0x75, Offset: 0, Size:  
16, Value: 98.000000
Entering libusb_get_report
Report[get]: (5 bytes) => 74 9d 23 64 64
Path: UPS.ff86002a, Type: Feature, ReportID: 0x74, Offset: 0, Size:  
32, Value: 1684284317.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 80 00
Path: UPS.00000000.ff000055, Type: Feature, ReportID: 0x80, Offset: 0,  
Size: 8, Value: 0.000000
Entering libusb_get_report
refresh_report_buffer: expected 7 bytes, but got only 6
Report[get]: (7 bytes) => 81 10 00 05 00 00 00
Path: UPS.00000000.ff000058, Type: Feature, ReportID: 0x81, Offset: 0,  
Size: 8, Value: 16.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 82 00
Path: UPS.00000000.ff000059, Type: Feature, ReportID: 0x82, Offset: 0,  
Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 83 00
Path: UPS.00000000.ff000060, Type: Feature, ReportID: 0x83, Offset: 0,  
Size: 8, Value: 0.000000
Report descriptor retrieved (Reportlen = 1079)
Found HID device
Detected a UPS: American Power Conversion/Back-UPS XS 1300 LCD FW: 
836.H7 .D USB FW:H7
string_to_path: depth = 3
Report[buf]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:  
0x0c, Offset: 0, Size: 8, Value: 100.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 11 0a
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature,  
ReportID: 0x11, Offset: 0, Size: 8, Value: 10.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 0f 32
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID:  
0x0f, Offset: 0, Size: 8, Value: 50.000000
string_to_path: depth = 3
Report[buf]: (4 bytes) => 0c 64 5c 06
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0c,  
Offset: 8, Size: 16, Value: 1628.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 17 78 00
Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID:  
0x17, Offset: 0, Size: 16, Value: 120.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 09 70 0a
Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x09, Offset:  
0, Size: 16, Value: 26.720000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 25 60 09
Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x25,  
Offset: 0, Size: 16, Value: 24.000000
string_to_path: depth = 3
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (2 bytes) => 03 04
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:  
0x03, Offset: 0, Size: 8, Value: 4.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 20 87 37
Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x20,  
Offset: 0, Size: 16, Value: 14215.000000
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (4 bytes) => 1c 87 37 00
Path: UPS.Battery.APCBattReplaceDate, Type: Feature, ReportID: 0x1c,  
Offset: 0, Size: 24, Value: 14215.000000
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (2 bytes) => 50 16
Path: UPS.PowerConverter.PercentLoad, Type: Feature, ReportID: 0x50,  
Offset: 0, Size: 8, Value: 22.000000
string_to_path: depth = 3
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (3 bytes) => 15 ff ff
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID:  
0x15, Offset: 0, Size: 16, Value: -1.000000
string_to_path: depth = 3
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (2 bytes) => 40 00
Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: Feature,  
ReportID: 0x40, Offset: 0, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 21 06
Path: UPS.Battery.Test, Type: Feature, ReportID: 0x21, Offset: 0,  
Size: 8, Value: 6.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
string_to_path: depth = 2
Report[buf]: (3 bytes) => 7b 87 37
Path: UPS.ManufacturerDate, Type: Feature, ReportID: 0x7b, Offset: 0,  
Size: 16, Value: 14215.000000
string_to_path: depth = 3
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature,  
ReportID: 0x16, Offset: 5, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature,  
ReportID: 0x16, Offset: 9, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,  
ReportID: 0x16, Offset: 8, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type:  
Feature, ReportID: 0x16, Offset: 6, Size: 1, Value: 0.000000
string_to_path: depth = 4
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature,  
ReportID: 0x16, Offset: 3, Size: 1, Value: 1.000000
string_to_path: depth = 3
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, ReportID:  
0x14, Offset: 8, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 31 76 00
Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x31, Offset: 0,  
Size: 16, Value: 118.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 30 78
Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset:  
0, Size: 8, Value: 120.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 32 58 00
Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x32,  
Offset: 0, Size: 16, Value: 88.000000
string_to_path: depth = 3
Report[buf]: (3 bytes) => 33 8b 00
Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x33,  
Offset: 0, Size: 16, Value: 139.000000
string_to_path: depth = 3
string_to_path: depth = 3
string_to_path: depth = 4
string_to_path: depth = 4
string_to_path: depth = 4
string_to_path: depth = 2
Report[buf]: (2 bytes) => 79 00
Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, Offset: 0,  
Size: 8, Value: 0.000000
string_to_path: depth = 2
Report[buf]: (2 bytes) => 79 00
Path: UPS.APCPanelTest, Type: Feature, ReportID: 0x79, Offset: 0,  
Size: 8, Value: 0.000000
string_to_path: depth = 3
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (3 bytes) => 15 ff ff
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID:  
0x15, Offset: 0, Size: 16, Value: -1.000000
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (3 bytes) => 15 ff ff
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID:  
0x15, Offset: 0, Size: 16, Value: -1.000000
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (3 bytes) => 41 ff ff
Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: Feature,  
ReportID: 0x41, Offset: 0, Size: 16, Value: -1.000000
string_to_path: depth = 3
string_to_path: depth = 3
Report[buf]: (3 bytes) => 41 ff ff
Path: UPS.APCGeneralCollection.APCDelayBeforeShutdown, Type: Feature,  
ReportID: 0x41, Offset: 0, Size: 16, Value: -1.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 40 00
Path: UPS.APCGeneralCollection.APCDelayBeforeReboot, Type: Feature,  
ReportID: 0x40, Offset: 0, Size: 8, Value: 0.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
string_to_path: depth = 3
Report[buf]: (2 bytes) => 18 02
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:  
0x18, Offset: 0, Size: 8, Value: 2.000000
upsdrv_initinfo...
upsdrv_updateinfo...
Got -22 HID objects...
Quick update...
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Report[buf]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
dstate_init: sock /opt/local/var/db/ups/usbhid-ups-apcups open on fd 4
upsdrv_updateinfo...
Got -22 HID objects...
Quick update...
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Report[buf]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Report[buf]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
upsdrv_updateinfo...
Got -22 HID objects...
Quick update...
Entering libusb_get_report
refresh_report_buffer: expected 5 bytes, but got only 3
Report[get]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Entering libusb_get_report
Report[get]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
upsdrv_updateinfo...
Got -22 HID objects...
Quick update...
Entering libusb_get_report
refresh_report_buffer: expected 5 bytes, but got only 3
Report[get]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Entering libusb_get_report
Report[get]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
upsdrv_updateinfo...
Got -22 HID objects...
Quick update...
Entering libusb_get_report
refresh_report_buffer: expected 5 bytes, but got only 3
Report[get]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,  
ReportID: 0x16, Offset: 2, Size: 1, Value: 1.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,  
ReportID: 0x16, Offset: 1, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,  
ReportID: 0x16, Offset: 0, Size: 1, Value: 0.000000
Report[buf]: (5 bytes) => 16 0c 00 00 00
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,  
Type: Feature, ReportID: 0x16, Offset: 4, Size: 1, Value: 0.000000
Entering libusb_get_report
Report[get]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x06,  
Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x06,  
Offset: 8, Size: 8, Value: 0.000000
Entering libusb_get_report
Report[get]: (2 bytes) => 13 01
Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x13,  
Offset: 0, Size: 8, Value: 1.000000
Entering libusb_get_report
Report[get]: (3 bytes) => 14 00 00
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature,  
ReportID: 0x14, Offset: 0, Size: 8, Value: 0.000000
Report[buf]: (4 bytes) => 06 00 00 08
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, ReportID: 0x06,  
Offset: 16, Size: 8, Value: 8.000000
^CSignal 2: exiting
upsdrv_cleanup...






More information about the Nut-upsuser mailing list