> > From the 2012 thread, it looks like the DelayBeforeStartup report might be > encoded as hexadecimal: > > 0.440981 refresh_report_buffer: expected 3 bytes, but got 2 instead > 0.441006 Report[err]: (2 bytes) => 0f 00 > 0.441024 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, > ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 > > 0.445020 Report[get]: (*5 bytes*) => 10 *30 30 30 30* > 0.445051 Path: UPS.PowerSummary.*DelayBeforeStartup*, Type: Feature, > ReportID: 0x10, Offset: 0, Size: 32, Value: 12336 >
Here is my output: 0.356896 Path: UPS.PowerSummary.*DelayBeforeShutdown*, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.361823 refresh_report_buffer: expected 5 bytes, but got 3 instead 0.361893 Report[err]: (3 bytes) => *10 00 00* 0.361951 Path: UPS.PowerSummary.*DelayBeforeStartup*, Type: Feature, ReportID: 0x10, Offset: 0, Size: 32, Value: 0 0.366816 refresh_report_buffer: expected 3 bytes, but got 2 instead 0.366873 Report[err]: (2 bytes) => *11 dc* It looks like my UPS with has another output. Probably, you were right and we really have different behaviour for the same ID?.. You might be able to use "explore" mode in usbhid-ups to dump all of the > variables to see what is missing from the driver. > I will do some exploration as soon as have direct access to the UPS. Hope that PowerCOM team will make some clarification here. 2014-11-12 15:39 GMT+02:00 Charles Lepple <[email protected]>: > On Nov 12, 2014, at 3:53 AM, Maksym Bodaniuk <[email protected]> > wrote: > > Hi Charles, > > Sigh, I wish the vendors wouldn't change operation without changing > identifiers. > > Do you have any recommendations on how the driver should decide whether it is > an old 0x0004 or new 0x0004 device? > > > No-no, there is no an old 0x0004 or new 0x0004 device, I guess that we > have to handle general case for all 0d9f:0x0004 devices. > > > You're right, I jumped to the wrong conclusion on that one. > > There was another thread about this, where it seems there are other > mismatches between the report descriptor sizes, and what the UPS expects: > > http://article.gmane.org/gmane.comp.monitoring.nut.user/7662 > > From PCM_USB_LIST_device2014.pdf attached by Alexey Morozov: > "(VGD, VRT, RPT, .. and new UPS etc.) - 0X04.". According to this doc we > can expect that all new PowerCOM devices will be shipped with ID > 0X0d9f:0X04. For example, my Imperial IMD-825AP LCD has 0x0004, but an old > examples of this model have 0Xa2. > > Also, lets take a look inside PCM_USB_protocol_2014.pdf: > "16 0x8456 Delay Before Startup R/W *5 Byte*" > And old specs for BNT protocol: > "16 8456 DelayBeforeStartup *** R/W *2 Byte*" > So, the length for DelayBeforeStartup report changed from 2 to 5 bytes. > > > From the 2012 thread, it looks like the DelayBeforeStartup report might be > encoded as hexadecimal: > > 0.440981 refresh_report_buffer: expected 3 bytes, but got 2 instead > 0.441006 Report[err]: (2 bytes) => 0f 00 > 0.441024 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, > ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 > > 0.445020 Report[get]: (*5 bytes*) => 10 *30 30 30 30* > 0.445051 Path: UPS.PowerSummary.*DelayBeforeStartup*, Type: Feature, > ReportID: 0x10, Offset: 0, Size: 32, Value: 12336 > > You can try various encodings in > drivers/powercom-hid.c:powercom_startup_fun(). > > Or there was added a new report for example: > "44 0x8436 Temperature R/O 2 Byte" > This was missed in the old specification. > > > You might be able to use "explore" mode in usbhid-ups to dump all of the > variables to see what is missing from the driver. > > All these things lead me to thought that powercom hid driver should handle > 0x0004 case more careful. > > Here is an older Powercom device with productId 00a2 - how does your output > of 'upsc' compare? > > > Here is my output for 0x0004: > > :/etc/nut$ upsc powercom > battery.charge: 100 > battery.charge.low: 15 > battery.charge.warning: 30 > battery.date: 2010/12/20 > battery.runtime: 800 > battery.type: PbAc > device.mfr: POWERCOM Co.,LTD > device.model: HID UPS Battery > device.serial: 004-0D9F-000 > device.type: ups > driver.flag.ignorelb: enabled > driver.name: usbhid-ups > driver.parameter.offdelay: 10 > driver.parameter.ondelay: 100 > driver.parameter.pollfreq: 30 > driver.parameter.pollinterval: 2 > driver.parameter.port: auto > driver.version: 2.6.4 > driver.version.data: PowerCOM HID 0.3 > driver.version.internal: 0.37 > input.frequency: 50.0 > input.voltage: 214.0 > input.voltage.nominal: 220 > output.frequency: 50.0 > output.voltage: 214.0 > output.voltage.nominal: 220 > ups.beeper.status: enabled > ups.date: 2010/12/20 > ups.delay.shutdown: 20 > ups.delay.start: 60 > ups.load: 0 > ups.mfr: POWERCOM Co.,LTD > ups.model: HID UPS Battery > ups.productid: 0004 > ups.serial: 004-0D9F-000 > ups.status: OL > ups.test.result: Done and passed > ups.timer.shutdown: 0 > ups.timer.start: 0 > ups.vendorid: 0d9f > > On 11/12/2014 03:05 AM, Charles Lepple wrote: > > On Nov 11, 2014, at 3:30 PM, Maksym Bodaniuk <[email protected]> > <[email protected]> wrote: > > > Dear Charles and Artem, > > I've recently bought a new PowerCom Imperial IMD825-AP LCD which identifies > itself as 0x0d9f:0x0004. > At first glance it seems that usbhid-ups driver works fine. But when I tried > to shutdown UPS via DelayBeforeShutdown it started double beeping every > couple seconds for indefinite time (the same problem described by Vincenzo > Colonnella here: > http://lists.alioth.debian.org/pipermail/nut-upsdev/2013-February/006403.html). > > I suppose that recent protocol change affects a protocol specifications for > DelayBeforeShutdown and powercom_shutdown_info methods should be modified to > support 0x0004 devices. But unfortunately the protocol specifications > attached by Alexey Morozov didn't clarify much for me. > My assumption here that PowerCom developers made a new devices with ID > 0x0d9f:0x0004 more compatible with USB HID PDC and therefore we do not need > any specific conversions for passed values anymore. > > Sigh, I wish the vendors wouldn't change operation without changing > identifiers. > > Do you have any recommendations on how the driver should decide whether it is > an old 0x0004 or new 0x0004 device? > > Here is an older Powercom device with productId 00a2 - how does your output > of 'upsc' compare? > > > > Best Regards, > Maskym Bodaniuk > > > -- > Charles Lepple > clepple@gmail > > > >
0.000000 debug level is '3' 0.001321 upsdrv_initups... 0.121217 Checking device (1D6B/0001) (005/001) 0.121383 - VendorID: 1d6b 0.121414 - ProductID: 0001 0.121440 - Manufacturer: Linux 3.2.0-4-686-pae uhci_hcd 0.121465 - Product: UHCI Host Controller 0.121491 - Serial Number: 0000:00:1d.3 0.121515 - Bus: 005 0.121540 Trying to match device 0.121587 Device does not match - skipping 0.121626 Checking device (1D6B/0001) (004/001) 0.121703 - VendorID: 1d6b 0.121731 - ProductID: 0001 0.121756 - Manufacturer: Linux 3.2.0-4-686-pae uhci_hcd 0.121781 - Product: UHCI Host Controller 0.121808 - Serial Number: 0000:00:1d.2 0.121833 - Bus: 004 0.121857 Trying to match device 0.121884 Device does not match - skipping 0.121917 Checking device (0D9F/0004) (003/004) 0.162810 - VendorID: 0d9f 0.162872 - ProductID: 0004 0.162899 - Manufacturer: POWERCOM Co.,LTD 0.162925 - Product: HID UPS Battery 0.162954 - Serial Number: 004-0D9F-000 0.162993 - Bus: 003 0.163020 Trying to match device 0.163060 disabling unconventional convertion for DelayBeforeShutdown 0.163096 Device matches 0.170842 HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 c6 03 0.170909 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 c6 03 0.170937 HID descriptor length 966 0.294835 Report Descriptor size = 966 0.294921 Report Descriptor: (966 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01 09 fe 0.294968 79 01 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 02 b1 22 05 85 85 05 0.295013 09 89 79 04 b1 22 85 07 09 8b b1 22 85 08 09 2c 25 03 b1 22 85 09 09 83 25 0.295056 64 b1 22 09 67 b1 22 85 0e 09 66 81 22 09 66 b1 a2 85 0b 09 8c b1 22 85 0c 0.295100 09 29 b1 a2 85 0d 09 85 75 10 27 ff ff 00 00 b1 a2 85 37 09 68 81 22 09 68 0.295143 b1 a2 05 84 85 0f 09 57 75 10 16 00 00 27 ff ff 00 00 b1 a2 85 10 09 56 75 0.295187 20 16 00 00 27 9f 86 01 00 b1 a2 85 11 09 40 75 10 16 64 00 26 f0 00 b1 22 0.295230 85 12 09 30 75 10 16 00 00 26 40 01 b1 a2 85 2c 09 36 75 08 25 5a b1 a2 85 0.295274 13 09 5a 75 08 15 00 25 03 b1 a2 09 02 a1 02 05 85 85 0a 09 44 75 01 15 00 0.295318 25 01 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2 09 d0 b1 a2 09 0.295361 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 09 43 81 a2 09 43 b1 a2 09 4b 0.295404 81 a2 09 4b b1 a2 09 db 81 a2 09 db b1 a2 05 84 09 68 81 a2 09 68 b1 a2 09 0.295456 69 81 a2 09 69 b1 a2 09 73 81 a2 09 73 b1 a2 09 65 81 a2 09 65 b1 a2 95 03 0.295524 81 01 b1 01 95 01 06 86 ff 09 80 81 a2 09 80 b1 a2 c0 c0 05 84 09 12 a1 00 0.295573 85 15 09 58 75 08 25 66 b1 a2 85 16 09 70 75 08 25 03 b1 a2 05 85 85 17 09 0.295617 85 75 10 27 ff ff 00 00 b1 a2 85 18 09 66 75 08 15 00 25 64 b1 a2 05 84 85 0.295660 19 09 40 75 10 16 00 0c 26 00 30 b1 22 85 1a 09 30 75 10 16 00 09 26 00 24 0.295704 b1 a2 85 1b 09 56 75 20 16 00 00 27 9f 86 01 00 b1 a2 85 2d 09 36 75 08 25 0.295747 5a b1 a2 c0 05 84 09 1a a1 00 85 1c 09 40 75 10 16 64 00 26 f0 00 b1 22 85 0.295791 1d 09 30 75 10 16 00 00 26 40 01 b1 a2 85 2e 09 30 75 10 16 00 00 26 40 01 0.295834 b1 a2 85 1e 09 32 75 08 15 00 25 46 b1 a2 c0 05 84 09 1c a1 00 85 2f 09 41 0.295878 75 08 15 01 25 0c b1 22 85 1f 09 35 75 08 15 00 25 64 b1 a2 85 20 09 40 75 0.295921 10 16 64 00 26 f0 00 b1 22 85 21 09 30 75 10 16 00 00 26 40 01 b1 a2 85 30 0.295964 09 42 75 08 15 32 25 3c b1 22 85 22 09 32 75 08 15 00 25 46 b1 a2 85 23 09 0.296008 57 75 08 15 00 25 12 b1 a2 85 24 09 56 75 20 16 00 00 27 9f 86 01 00 b1 a2 0.296051 c0 05 84 85 06 09 01 79 05 b1 a2 85 25 09 5a 75 08 15 00 25 03 b1 a2 09 02 0.296095 a1 02 05 85 85 26 09 44 75 01 15 00 25 01 b1 a2 09 45 b1 a2 09 d0 b1 a2 09 0.296138 d1 b1 a2 09 42 b1 a2 09 43 b1 a2 09 4b b1 a2 09 db b1 a2 05 84 09 68 b1 a2 0.296182 09 69 b1 a2 09 73 b1 a2 09 65 b1 a2 09 6e b1 a2 09 6f b1 a2 09 71 b1 a2 06 0.296225 86 ff 09 80 b1 a2 c0 85 27 05 84 09 69 75 08 15 00 25 01 b1 a2 09 1e a1 00 0.296269 85 a0 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 a1 09 01 75 08 95 07 15 00 0.296350 26 ff 00 b1 03 85 a2 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 a3 09 01 75 0.296395 08 95 07 15 00 26 ff 00 b1 03 85 a4 09 01 75 08 95 07 15 00 26 ff 00 b1 03 0.296439 85 a5 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 a6 09 01 75 08 95 07 15 00 0.296483 26 ff 00 b1 03 85 a7 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 a8 09 01 75 0.296528 08 95 07 15 00 26 ff 00 b1 03 85 a9 09 01 75 08 95 07 15 00 26 ff 00 b1 03 0.296572 85 aa 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 ab 09 01 75 08 95 07 15 00 0.296616 26 ff 00 b1 03 85 ac 09 01 75 08 95 07 15 00 26 ff 00 b1 03 85 ad 09 01 75 0.296660 08 95 07 15 00 26 ff 00 b1 03 85 ae 09 01 75 08 95 07 15 00 26 ff 00 b1 03 0.296688 c0 c0 0.296972 disabling unconventional convertion for DelayBeforeShutdown 0.297016 Using subdriver: PowerCOM HID 0.3 0.301810 Report[get]: (2 bytes) => 01 01 0.301853 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1 0.306820 Report[get]: (2 bytes) => 02 02 0.306892 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2 0.311812 Report[get]: (2 bytes) => 05 04 0.311881 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 4 0.316822 Report[get]: (2 bytes) => 07 01 0.316926 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 1 0.321810 Report[get]: (2 bytes) => 08 02 0.321863 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 2 0.326825 Report[get]: (3 bytes) => 09 64 64 0.326906 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x09, Offset: 0, Size: 8, Value: 100 0.326938 Report[buf]: (3 bytes) => 09 64 64 0.326975 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x09, Offset: 8, Size: 8, Value: 100 0.331821 Report[get]: (2 bytes) => 0e 64 0.331919 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.331952 Report[buf]: (2 bytes) => 0e 64 0.331989 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.336811 Report[get]: (2 bytes) => 0b 1e 0.336910 Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 30 0.341807 Report[get]: (2 bytes) => 0c 0a 0.341853 Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10 0.346821 Report[get]: (3 bytes) => 0d 94 3d 0.346892 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 15764 0.351816 Report[get]: (3 bytes) => 37 20 03 0.351876 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x37, Offset: 0, Size: 16, Value: 800 0.351907 Report[buf]: (3 bytes) => 37 20 03 0.351944 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x37, Offset: 0, Size: 16, Value: 800 0.356814 Report[get]: (3 bytes) => 0f 00 00 0.356896 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.361823 refresh_report_buffer: expected 5 bytes, but got 3 instead 0.361893 Report[err]: (3 bytes) => 10 00 00 0.361951 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x10, Offset: 0, Size: 32, Value: 0 0.366816 refresh_report_buffer: expected 3 bytes, but got 2 instead 0.366873 Report[err]: (2 bytes) => 11 dc 0.366915 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x11, Offset: 0, Size: 16, Value: 220 0.371810 Report[get]: (3 bytes) => 12 d2 00 0.371861 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 210 0.376837 libusb_get_report: No error 0.376982 Can't retrieve Report 2c: Inappropriate ioctl for device 0.377037 Path: UPS.PowerSummary.Temperature, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 8 0.381820 Report[get]: (2 bytes) => 13 01 0.381921 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.386831 Report[get]: (3 bytes) => 0a 0c 00 0.386902 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x0a, Offset: 0, Size: 1, Value: 0 0.386934 Report[buf]: (3 bytes) => 0a 0c 00 0.386972 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 1, Value: 0 0.387003 Report[buf]: (3 bytes) => 0a 0c 00 0.387039 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x0a, Offset: 1, Size: 1, Value: 0 0.387069 Report[buf]: (3 bytes) => 0a 0c 00 0.387105 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0a, Offset: 1, Size: 1, Value: 0 0.387144 Report[buf]: (3 bytes) => 0a 0c 00 0.387251 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x0a, Offset: 2, Size: 1, Value: 1 0.387303 Report[buf]: (3 bytes) => 0a 0c 00 0.387395 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0a, Offset: 2, Size: 1, Value: 1 0.387445 Report[buf]: (3 bytes) => 0a 0c 00 0.387499 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x0a, Offset: 3, Size: 1, Value: 1 0.387545 Report[buf]: (3 bytes) => 0a 0c 00 0.387596 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x0a, Offset: 3, Size: 1, Value: 1 0.387637 Report[buf]: (3 bytes) => 0a 0c 00 0.387704 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0a, Offset: 4, Size: 1, Value: 0 0.387734 Report[buf]: (3 bytes) => 0a 0c 00 0.387770 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0a, Offset: 4, Size: 1, Value: 0 0.387802 Report[buf]: (3 bytes) => 0a 0c 00 0.387842 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x0a, Offset: 5, Size: 1, Value: 0 0.387917 Report[buf]: (3 bytes) => 0a 0c 00 0.387955 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x0a, Offset: 5, Size: 1, Value: 0 0.387987 Report[buf]: (3 bytes) => 0a 0c 00 0.388023 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x0a, Offset: 6, Size: 1, Value: 0 0.388053 Report[buf]: (3 bytes) => 0a 0c 00 0.388089 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x0a, Offset: 6, Size: 1, Value: 0 0.388120 Report[buf]: (3 bytes) => 0a 0c 00 0.388157 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x0a, Offset: 7, Size: 1, Value: 0 0.388187 Report[buf]: (3 bytes) => 0a 0c 00 0.388223 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x0a, Offset: 7, Size: 1, Value: 0 0.388254 Report[buf]: (3 bytes) => 0a 0c 00 0.388290 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x0a, Offset: 8, Size: 1, Value: 0 0.388320 Report[buf]: (3 bytes) => 0a 0c 00 0.388356 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x0a, Offset: 8, Size: 1, Value: 0 0.388387 Report[buf]: (3 bytes) => 0a 0c 00 0.388423 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x0a, Offset: 9, Size: 1, Value: 0 0.388453 Report[buf]: (3 bytes) => 0a 0c 00 0.388492 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x0a, Offset: 9, Size: 1, Value: 0 0.388541 Report[buf]: (3 bytes) => 0a 0c 00 0.388580 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x0a, Offset: 10, Size: 1, Value: 0 0.388610 Report[buf]: (3 bytes) => 0a 0c 00 0.388647 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x0a, Offset: 10, Size: 1, Value: 0 0.388688 Report[buf]: (3 bytes) => 0a 0c 00 0.388748 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x0a, Offset: 11, Size: 1, Value: 0 0.388901 Report[buf]: (3 bytes) => 0a 0c 00 0.388975 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x0a, Offset: 11, Size: 1, Value: 0 0.389007 Report[buf]: (3 bytes) => 0a 0c 00 0.389043 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Input, ReportID: 0x0a, Offset: 15, Size: 1, Value: 0 0.389073 Report[buf]: (3 bytes) => 0a 0c 00 0.389109 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Feature, ReportID: 0x0a, Offset: 15, Size: 1, Value: 0 0.393817 Report[get]: (2 bytes) => 15 01 0.393887 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1 0.398817 Report[get]: (2 bytes) => 16 0d 0.398887 Path: UPS.Battery.Initialized, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 1 0.403798 Report[get]: (3 bytes) => 17 94 3d 0.403846 Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 15764 0.408802 Report[get]: (2 bytes) => 18 64 0.408881 Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 100 0.413814 refresh_report_buffer: expected 3 bytes, but got 2 instead 0.413871 Report[err]: (2 bytes) => 19 dc 0.413912 Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 3072 0.418802 Report[get]: (3 bytes) => 1a d2 00 0.418858 Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 8402 0.423804 refresh_report_buffer: expected 5 bytes, but got 3 instead 0.423859 Report[err]: (3 bytes) => 1b 00 00 0.423899 Path: UPS.Battery.DelayBeforeStartup, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 32, Value: 0 0.428799 libusb_get_report: No error 0.428880 Can't retrieve Report 2d: Inappropriate ioctl for device 0.428917 Path: UPS.Battery.Temperature, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 8 0.433817 refresh_report_buffer: expected 3 bytes, but got 2 instead 0.433881 Report[err]: (2 bytes) => 1c dc 0.433923 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 220 0.438810 Report[get]: (3 bytes) => 1d d2 00 0.438880 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 210 0.443797 libusb_get_report: No error 0.443845 Can't retrieve Report 2e: Inappropriate ioctl for device 0.443879 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x2e, Offset: 0, Size: 16 0.448813 Report[get]: (2 bytes) => 1e 32 0.448906 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 50 0.453811 libusb_get_report: No error 0.453880 Can't retrieve Report 2f: Inappropriate ioctl for device 0.453915 Path: UPS.Output.ConfigCurrent, Type: Feature, ReportID: 0x2f, Offset: 0, Size: 8 0.458823 Report[get]: (2 bytes) => 1f 00 0.458900 Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 0 0.463825 refresh_report_buffer: expected 3 bytes, but got 2 instead 0.463890 Report[err]: (2 bytes) => 20 dc 0.463934 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 220 0.468816 Report[get]: (3 bytes) => 21 d2 00 0.468911 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 210 0.473796 libusb_get_report: No error 0.473842 Can't retrieve Report 30: Inappropriate ioctl for device 0.473876 Path: UPS.Output.ConfigFrequency, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8 0.478822 Report[get]: (2 bytes) => 22 32 0.478900 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 50 0.481827 libusb_get_report: error sending control message: Value too large for defined data type 0.481877 Can't retrieve Report 23: Value too large for defined data type 0.481911 Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x23, Offset: 0, Size: 8 0.487812 refresh_report_buffer: expected 5 bytes, but got 3 instead 0.487862 Report[err]: (3 bytes) => 24 00 00 0.487948 Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x24, Offset: 0, Size: 32, Value: 0 0.492809 refresh_report_buffer: expected 5 bytes, but got 2 instead 0.492876 Report[err]: (2 bytes) => 06 05 0.492915 Path: UPS.iName, Type: Feature, ReportID: 0x06, Offset: 0, Size: 32, Value: 5 0.497820 Report[get]: (2 bytes) => 25 01 0.497887 Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x25, Offset: 0, Size: 8, Value: 1 0.502808 Report[get]: (3 bytes) => 26 0c 00 0.502859 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0 0.502890 Report[buf]: (3 bytes) => 26 0c 00 0.502925 Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x26, Offset: 1, Size: 1, Value: 0 0.502955 Report[buf]: (3 bytes) => 26 0c 00 0.502990 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x26, Offset: 2, Size: 1, Value: 1 0.503020 Report[buf]: (3 bytes) => 26 0c 00 0.503055 Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x26, Offset: 3, Size: 1, Value: 1 0.503086 Report[buf]: (3 bytes) => 26 0c 00 0.503120 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0 0.503150 Report[buf]: (3 bytes) => 26 0c 00 0.503185 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0 0.503215 Report[buf]: (3 bytes) => 26 0c 00 0.503250 Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x26, Offset: 6, Size: 1, Value: 0 0.503280 Report[buf]: (3 bytes) => 26 0c 00 0.503314 Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x26, Offset: 7, Size: 1, Value: 0 0.503344 Report[buf]: (3 bytes) => 26 0c 00 0.503379 Path: UPS.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x26, Offset: 8, Size: 1, Value: 0 0.503409 Report[buf]: (3 bytes) => 26 0c 00 0.503443 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x26, Offset: 9, Size: 1, Value: 0 0.503473 Report[buf]: (3 bytes) => 26 0c 00 0.503508 Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x26, Offset: 10, Size: 1, Value: 0 0.503538 Report[buf]: (3 bytes) => 26 0c 00 0.503572 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x26, Offset: 11, Size: 1, Value: 0 0.503604 Report[buf]: (3 bytes) => 26 0c 00 0.503652 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID: 0x26, Offset: 12, Size: 1, Value: 0 0.503690 Report[buf]: (3 bytes) => 26 0c 00 0.503725 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID: 0x26, Offset: 13, Size: 1, Value: 0 0.503755 Report[buf]: (3 bytes) => 26 0c 00 0.503790 Path: UPS.PresentStatus.Tested, Type: Feature, ReportID: 0x26, Offset: 14, Size: 1, Value: 0 0.503820 Report[buf]: (3 bytes) => 26 0c 00 0.503856 Path: UPS.PresentStatus.POWERCOM3, Type: Feature, ReportID: 0x26, Offset: 15, Size: 1, Value: 0 0.508823 Report[get]: (2 bytes) => 27 00 0.508914 Path: UPS.ShutdownImminent, Type: Feature, ReportID: 0x27, Offset: 0, Size: 8, Value: 0 0.513824 Report[get]: (8 bytes) => a0 10 00 64 69 69 32 ff 0.513892 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa0, Offset: 0, Size: 8, Value: 16 0.518817 Report[get]: (8 bytes) => a1 32 00 00 00 00 4b 48 0.518876 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa1, Offset: 0, Size: 8, Value: 50 0.523823 Report[get]: (8 bytes) => a2 00 00 00 ce 65 4a 12 0.523880 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa2, Offset: 0, Size: 8, Value: 0 0.528813 Report[get]: (8 bytes) => a3 40 3f b3 48 df 80 34 0.528899 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa3, Offset: 0, Size: 8, Value: 64 0.533834 Report[get]: (8 bytes) => a4 00 d9 85 c3 40 25 d6 0.533913 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa4, Offset: 0, Size: 8, Value: 0 0.538814 Report[get]: (8 bytes) => a5 09 50 8c 8a 83 ab cf 0.538880 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa5, Offset: 0, Size: 8, Value: 9 0.543809 Report[get]: (8 bytes) => a6 03 86 86 60 82 59 48 0.543888 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa6, Offset: 0, Size: 8, Value: 3 0.548817 Report[get]: (8 bytes) => a7 6c 65 67 ca e3 0f 34 0.548897 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa7, Offset: 0, Size: 8, Value: 108 0.553823 Report[get]: (8 bytes) => a8 c0 7c 93 cb 26 6e 01 0.553892 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa8, Offset: 0, Size: 8, Value: 192 0.558805 Report[get]: (8 bytes) => a9 04 52 af 2f 03 c9 8a 0.558849 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xa9, Offset: 0, Size: 8, Value: 4 0.563829 Report[get]: (8 bytes) => aa 28 18 fb ed 01 00 42 0.563902 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xaa, Offset: 0, Size: 8, Value: 40 0.568809 Report[get]: (8 bytes) => ab f8 00 e3 46 14 ab 11 0.568876 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xab, Offset: 0, Size: 8, Value: 248 0.573809 Report[get]: (8 bytes) => ac 0b 00 9d 15 f0 f5 01 0.573865 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xac, Offset: 0, Size: 8, Value: 11 0.578826 Report[get]: (8 bytes) => ad 82 40 df 90 ee 58 42 0.578894 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xad, Offset: 0, Size: 8, Value: 130 0.583815 refresh_report_buffer: expected 8 bytes, but got 2 instead 0.583871 Report[err]: (2 bytes) => ae 00 0.583915 Path: UPS.Flow.iName, Type: Feature, ReportID: 0xae, Offset: 0, Size: 8, Value: 0 Network UPS Tools - Generic HID driver 0.37 (2.6.4) USB communication driver 0.32 0.584023 Report descriptor retrieved (Reportlen = 966) 0.584061 Found HID device 0.584094 Detected a UPS: POWERCOM Co.,LTD/HID UPS Battery 0.584247 Report[buf]: (3 bytes) => 0a 0c 00 0.584286 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0a, Offset: 2, Size: 1, Value: 1 0.584332 Report[buf]: (3 bytes) => 0a 0c 00 0.584364 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x0a, Offset: 3, Size: 1, Value: 1 0.584408 Report[buf]: (3 bytes) => 0a 0c 00 0.584439 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0a, Offset: 4, Size: 1, Value: 0 0.584481 Report[buf]: (3 bytes) => 0a 0c 00 0.584513 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 1, Value: 0 0.584553 Report[buf]: (3 bytes) => 0a 0c 00 0.584585 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x0a, Offset: 10, Size: 1, Value: 0 0.584627 Report[buf]: (3 bytes) => 0a 0c 00 0.584658 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0a, Offset: 1, Size: 1, Value: 0 0.584700 Report[buf]: (3 bytes) => 0a 0c 00 0.584732 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x0a, Offset: 6, Size: 1, Value: 0 0.584813 Report[buf]: (3 bytes) => 0a 0c 00 0.584883 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x0a, Offset: 11, Size: 1, Value: 0 0.584930 Report[buf]: (3 bytes) => 0a 0c 00 0.584962 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x0a, Offset: 5, Size: 1, Value: 0 0.585005 Report[buf]: (3 bytes) => 0a 0c 00 0.585040 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x0a, Offset: 9, Size: 1, Value: 0 0.585084 Report[buf]: (3 bytes) => 26 0c 00 0.585116 Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x26, Offset: 2, Size: 1, Value: 1 0.585159 Report[buf]: (3 bytes) => 26 0c 00 0.585191 Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x26, Offset: 3, Size: 1, Value: 1 0.585233 Report[buf]: (3 bytes) => 26 0c 00 0.585265 Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0 0.585304 Report[buf]: (3 bytes) => 26 0c 00 0.585336 Path: UPS.PresentStatus.Boost, Type: Feature, ReportID: 0x26, Offset: 12, Size: 1, Value: 0 0.585375 Report[buf]: (3 bytes) => 26 0c 00 0.585440 Path: UPS.PresentStatus.Buck, Type: Feature, ReportID: 0x26, Offset: 13, Size: 1, Value: 0 0.585483 Report[buf]: (3 bytes) => 26 0c 00 0.585514 Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0 0.585554 Report[buf]: (3 bytes) => 26 0c 00 0.585586 Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x26, Offset: 10, Size: 1, Value: 0 0.585627 Report[buf]: (3 bytes) => 26 0c 00 0.585659 Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x26, Offset: 1, Size: 1, Value: 0 0.585700 Report[buf]: (3 bytes) => 26 0c 00 0.585732 Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x26, Offset: 6, Size: 1, Value: 0 0.585808 Report[buf]: (3 bytes) => 26 0c 00 0.585844 Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x26, Offset: 11, Size: 1, Value: 0 0.585886 Report[buf]: (3 bytes) => 26 0c 00 0.585918 Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0 0.585957 Report[buf]: (3 bytes) => 26 0c 00 0.585989 Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x26, Offset: 9, Size: 1, Value: 0 0.586031 Report[buf]: (2 bytes) => 0e 64 0.586064 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.586155 Report[buf]: (3 bytes) => 37 20 03 0.586189 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x37, Offset: 0, Size: 16, Value: 800 0.586239 Report[buf]: (3 bytes) => 17 94 3d 0.586272 Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 15764 0.586322 Report[buf]: (2 bytes) => 05 04 0.586354 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 4 0.596879 Report[buf]: (2 bytes) => 13 01 0.596945 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.596997 Report[buf]: (2 bytes) => 1f 00 0.597030 Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 0 0.597081 Report[buf]: (3 bytes) => 0d 94 3d 0.597115 Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 15764 0.597161 Report[buf]: (2 bytes) => 15 01 0.597193 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1 0.597256 Report[buf]: (5 bytes) => 10 00 00 00 00 0.597289 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x10, Offset: 0, Size: 32, Value: 0 0.597319 powercom_startup_fun: value = 0, buf = 0 0.597382 Report[buf]: (3 bytes) => 0f 00 00 0.597428 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.597460 powercom_shutdown_fun: value = 0, buf = 0 0.597504 Report[buf]: (3 bytes) => 1d d2 00 0.597538 Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 210 0.597598 Report[buf]: (3 bytes) => 1c dc 00 0.597632 Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 220 0.597694 Report[buf]: (2 bytes) => 1e 32 0.597728 Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 50 0.597774 Report[buf]: (3 bytes) => 21 d2 00 0.597807 Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 210 0.597854 Report[buf]: (3 bytes) => 20 dc 00 0.597887 Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 220 0.597933 Report[buf]: (2 bytes) => 22 32 0.597965 Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 50 0.598012 Report[buf]: (2 bytes) => 13 01 0.598043 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1 0.598083 Report[buf]: (2 bytes) => 15 01 0.598115 Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1 0.598273 Report[buf]: (5 bytes) => 10 00 00 00 00 0.598308 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x10, Offset: 0, Size: 32, Value: 0 0.598349 Report[buf]: (3 bytes) => 0f 00 00 0.598381 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.598422 Report[buf]: (3 bytes) => 0f 00 00 0.598492 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.598551 find_nut_info: unknown info type: load.off.delay 0.598586 find_nut_info: unknown info type: load.off.delay 0.598638 upsdrv_initinfo... 0.598680 upsdrv_updateinfo... 0.695834 Report[int]: (3 bytes) => 0a 0c 00 0.695895 Got 13 HID objects... 0.695928 Report[buf]: (3 bytes) => 0a 0c 00 0.695967 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x0a, Offset: 0, Size: 1, Value: 0 0.696001 Report[buf]: (3 bytes) => 0a 0c 00 0.696038 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x0a, Offset: 1, Size: 1, Value: 0 0.696070 Report[buf]: (3 bytes) => 0a 0c 00 0.696107 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x0a, Offset: 2, Size: 1, Value: 1 0.696138 Report[buf]: (3 bytes) => 0a 0c 00 0.696175 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x0a, Offset: 3, Size: 1, Value: 1 0.696209 Report[buf]: (3 bytes) => 0a 0c 00 0.696246 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0a, Offset: 4, Size: 1, Value: 0 0.696278 Report[buf]: (3 bytes) => 0a 0c 00 0.696317 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x0a, Offset: 5, Size: 1, Value: 0 0.696366 Report[buf]: (3 bytes) => 0a 0c 00 0.696404 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x0a, Offset: 6, Size: 1, Value: 0 0.696437 Report[buf]: (3 bytes) => 0a 0c 00 0.696473 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x0a, Offset: 7, Size: 1, Value: 0 0.696501 NUT doesn't use this HID object 0.696532 Report[buf]: (3 bytes) => 0a 0c 00 0.696567 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x0a, Offset: 8, Size: 1, Value: 0 0.696594 NUT doesn't use this HID object 0.696625 Report[buf]: (3 bytes) => 0a 0c 00 0.696660 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x0a, Offset: 9, Size: 1, Value: 0 0.696693 Report[buf]: (3 bytes) => 0a 0c 00 0.696729 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x0a, Offset: 10, Size: 1, Value: 0 0.696762 Report[buf]: (3 bytes) => 0a 0c 00 0.696798 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x0a, Offset: 11, Size: 1, Value: 0 0.696830 Report[buf]: (3 bytes) => 0a 0c 00 0.696959 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Input, ReportID: 0x0a, Offset: 15, Size: 1, Value: 0 0.696988 NUT doesn't use this HID object 0.697016 Quick update... 0.697048 Report[buf]: (3 bytes) => 0f 00 00 0.697079 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.697108 powercom_shutdown_fun: value = 0, buf = 0 0.697154 using 'battery.charge' to set battery low state 0.697287 dstate_init: sock /var/run/nut/usbhid-ups-powercom open on fd 5 0.697341 upsdrv_updateinfo... 0.887828 Report[int]: (2 bytes) => 0e 64 0.887889 Got 1 HID objects... 0.887921 Report[buf]: (2 bytes) => 0e 64 0.887961 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 0.887997 Quick update... 0.888028 Report[buf]: (3 bytes) => 0f 00 00 0.888060 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 0.888089 powercom_shutdown_fun: value = 0, buf = 0 2.699190 upsdrv_updateinfo... 2.871816 file_report_buffer: expected 0 bytes, but got 2 instead 2.871920 Report[err]: (2 bytes) => 14 01 2.871961 HIDGetEvents: unexpected input report (ignored) 2.872001 Got 0 HID objects... 2.872031 Quick update... 2.876786 Report[get]: (3 bytes) => 0f 00 00 2.876829 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 2.876889 powercom_shutdown_fun: value = 0, buf = 0 4.701051 upsdrv_updateinfo... 4.855815 Report[int]: (3 bytes) => 37 20 03 4.855878 Got 1 HID objects... 4.855911 Report[buf]: (3 bytes) => 37 20 03 4.855951 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x37, Offset: 0, Size: 16, Value: 800 4.855988 Quick update... 4.860775 Report[get]: (3 bytes) => 0f 00 00 4.860835 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 4.860902 powercom_shutdown_fun: value = 0, buf = 0 6.702920 upsdrv_updateinfo... 6.954778 libusb_get_interrupt: Connection timed out 6.954861 Got 0 HID objects... 6.954902 Quick update... 6.959836 Report[get]: (3 bytes) => 0f 00 00 6.959946 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 6.959987 powercom_shutdown_fun: value = 0, buf = 0 8.704630 upsdrv_updateinfo... 8.957753 libusb_get_interrupt: Connection timed out 8.957820 Got 0 HID objects... 8.957852 Quick update... 8.962746 Report[get]: (3 bytes) => 0f 00 00 8.962801 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 8.962833 powercom_shutdown_fun: value = 0, buf = 0 10.706401 upsdrv_updateinfo... 10.958743 libusb_get_interrupt: Connection timed out 10.958812 Got 0 HID objects... 10.958843 Quick update... 10.963739 Report[get]: (3 bytes) => 0f 00 00 10.963807 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 10.963840 powercom_shutdown_fun: value = 0, buf = 0 12.708173 upsdrv_updateinfo... 13.391725 libusb_get_interrupt: Connection timed out 13.391793 Got 0 HID objects... 13.391824 Quick update... 13.396711 Report[get]: (3 bytes) => 0f 00 00 13.396760 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 13.396802 powercom_shutdown_fun: value = 0, buf = 0 14.709517 upsdrv_updateinfo... 14.775725 Report[int]: (3 bytes) => 0a 0c 00 14.775792 Got 13 HID objects... 14.775826 Report[buf]: (3 bytes) => 0a 0c 00 14.775867 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x0a, Offset: 0, Size: 1, Value: 0 14.775903 Report[buf]: (3 bytes) => 0a 0c 00 14.775941 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x0a, Offset: 1, Size: 1, Value: 0 14.775974 Report[buf]: (3 bytes) => 0a 0c 00 14.776012 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x0a, Offset: 2, Size: 1, Value: 1 14.776046 Report[buf]: (3 bytes) => 0a 0c 00 14.776083 Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x0a, Offset: 3, Size: 1, Value: 1 14.776118 Report[buf]: (3 bytes) => 0a 0c 00 14.776155 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0a, Offset: 4, Size: 1, Value: 0 14.776189 Report[buf]: (3 bytes) => 0a 0c 00 14.776226 Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x0a, Offset: 5, Size: 1, Value: 0 14.776260 Report[buf]: (3 bytes) => 0a 0c 00 14.776298 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x0a, Offset: 6, Size: 1, Value: 0 14.776331 Report[buf]: (3 bytes) => 0a 0c 00 14.776369 Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x0a, Offset: 7, Size: 1, Value: 0 14.776398 NUT doesn't use this HID object 14.776430 Report[buf]: (3 bytes) => 0a 0c 00 14.776467 Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x0a, Offset: 8, Size: 1, Value: 0 14.776545 NUT doesn't use this HID object 14.776581 Report[buf]: (3 bytes) => 0a 0c 00 14.776622 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x0a, Offset: 9, Size: 1, Value: 0 14.776656 Report[buf]: (3 bytes) => 0a 0c 00 14.776693 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x0a, Offset: 10, Size: 1, Value: 0 14.776727 Report[buf]: (3 bytes) => 0a 0c 00 14.776764 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x0a, Offset: 11, Size: 1, Value: 0 14.776798 Report[buf]: (3 bytes) => 0a 0c 00 14.776835 Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Input, ReportID: 0x0a, Offset: 15, Size: 1, Value: 0 14.776898 NUT doesn't use this HID object 14.776928 Quick update... 14.776961 Report[buf]: (3 bytes) => 0f 00 00 14.776993 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 14.777024 powercom_shutdown_fun: value = 0, buf = 0 16.711475 upsdrv_updateinfo... 16.887712 Report[int]: (2 bytes) => 0e 64 16.887777 Got 1 HID objects... 16.887811 Report[buf]: (2 bytes) => 0e 64 16.887851 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0e, Offset: 0, Size: 8, Value: 100 16.887887 Quick update... 16.892686 Report[get]: (3 bytes) => 0f 00 00 16.892738 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0 16.892769 powercom_shutdown_fun: value = 0, buf = 0
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
