Hi

On 10/02/2014 02:39 PM, Charles Lepple wrote:> On Oct 1, 2014, at 9:03 PM, 
paul.chav...@fnac.net wrote:
> 
>>> It should run as user "nut" in Debian. You may want to reinstall the 
>>> nut-server package, and check the post-inst error messages to make sure 
>>> that the "nut" user is created, and that it is in the "nut" group as well.
>>
>> The user nut and the group nut have been created..
> 
> Ah, right, because you are using the Debian upsdrvctl with a hand-compiled 
> driver. I would recommend copying the whole Debian ./configure line, 
> including the part that sets the default user and group to "nut".
>>
>>> Not sure that is where the "user" declaration is being parsed. upsdrvctl 
>>> just passes arguments to the drivers via the command line (including "-u", 
>>> although that is not read from the configuration file, but from upsdrvctl's 
>>> command line).
>>
>> https://github.com/networkupstools/nut/blob/master/drivers/upsdrvctl.c#L60
>>
>> I'm quite sure that it is the place where the config file is parsed...
> 
> What I should have said is that upsdrvctl is not where the "user = " is being 
> interpreted (although you are correct, it is parsed and ignored). I was 
> thinking of this line in the driver core:
> 
> https://github.com/networkupstools/nut/blob/master/drivers/main.c#L295
> 
>> And the init script of the debian package don't explicitly append "-u nut" 
>> in wheezy. See the attached patch in my first message.
> 
> Since we don't ship that init file in the generic NUT source package anymore, 
> that will need to be discussed with the Debian maintainers - probably at 
> http://bugs.debian.org
> 

My bad. The user global directive is parsed by the driver, not by the 
upsdrvctl. And the debian init script doesn't need any changes, my settings had 
been messed up. All is working out of the box now.
Hopefully, you know the code better than me :)

>>> There are some fixes that were added in 2.6.4 to try and work around 
>>> incorrect exponents in the voltages. You can try starting the usbhid-ups 
>>> driver directly, adding "-DDD" to see if any messages are logged about 
>>> "assuming correction factor =". It could be that we did not cover all the 
>>> different ways those values could be wrong.

I've tried both belkin-hid and liebert-hid drivers. You can finds logs of the 
belkin-hid in attachment. I don't see any "assuming correction factor =" 
messages.

However. Could you give me some more hints please ?

(1) appart the liebert_line_voltage and liebert_config_voltage functions, i 
don't see any differences in the belkin-hid and liebert-hid drivers. 
Why not move all liebert related functions in the liebert-hid driver ?

(2) i don't understand how the driver selection is done ? if i just add the 
vendorid/productid to the liebert_usb_device_table, the lookup seems to stop in 
the belkin driver (perhaps because belkin_claim got "possibly supported" and 
that the "productid" value is present ?). 
How do you suggest to implement the addition of this device ? 
(for my tests, i commented the belkin lookup entry to force the usage of the 
liebert one).

(3) in the hid report, we have several items with the same name (see attached 
lsusb dump). 
How it is handled by the lookup table ? Is there any indexing possible ?

(4) would it be usefull to add missing items to the driver's hid to nu lookup 
table (even in the the unmapped part) ? Do you recommend me to work on the 
liebert or on the belkin file ?

Thanks for your help.

Regards.



   0.000000	debug level is '3'
   0.001473	upsdrv_initups...
   0.253457	Checking device (1D6B/0001) (008/001)
   0.277369	- VendorID: 1d6b
   0.277455	- ProductID: 0001
   0.277482	- Manufacturer: unknown
   0.277508	- Product: unknown
   0.277535	- Serial Number: unknown
   0.277561	- Bus: 008
   0.277585	Trying to match device
   0.277646	Device does not match - skipping
   0.277767	Checking device (1D6B/0001) (007/001)
   0.301348	- VendorID: 1d6b
   0.301435	- ProductID: 0001
   0.301462	- Manufacturer: unknown
   0.301489	- Product: unknown
   0.301515	- Serial Number: unknown
   0.301540	- Bus: 007
   0.301565	Trying to match device
   0.301602	Device does not match - skipping
   0.301724	Checking device (046D/C03D) (006/002)
   0.301848	- VendorID: 046d
   0.301889	- ProductID: c03d
   0.301915	- Manufacturer: unknown
   0.301942	- Product: unknown
   0.301967	- Serial Number: unknown
   0.301992	- Bus: 006
   0.302018	Trying to match device
   0.302048	Device does not match - skipping
   0.302086	Checking device (1D6B/0001) (006/001)
   0.302159	- VendorID: 1d6b
   0.302195	- ProductID: 0001
   0.302220	- Manufacturer: unknown
   0.302245	- Product: unknown
   0.302270	- Serial Number: unknown
   0.302296	- Bus: 006
   0.302321	Trying to match device
   0.302352	Device does not match - skipping
   0.302392	Checking device (0A5C/5800) (005/002)
   0.302472	- VendorID: 0a5c
   0.302506	- ProductID: 5800
   0.302530	- Manufacturer: unknown
   0.302555	- Product: unknown
   0.302580	- Serial Number: unknown
   0.302604	- Bus: 005
   0.302628	Trying to match device
   0.302656	Device does not match - skipping
   0.302690	Checking device (1D6B/0001) (005/001)
   0.302756	- VendorID: 1d6b
   0.302787	- ProductID: 0001
   0.302812	- Manufacturer: unknown
   0.302836	- Product: unknown
   0.302860	- Serial Number: unknown
   0.302885	- Bus: 005
   0.302909	Trying to match device
   0.302935	Device does not match - skipping
   0.302971	Checking device (10AF/0008) (004/017)
   1.305585	- VendorID: 10af
   1.305694	- ProductID: 0008
   1.305720	- Manufacturer: Emerson Network Power
   1.305778	- Product: Liebert GXT3
   1.305804	- Serial Number: unknown
   1.305829	- Bus: 004
   1.305853	Trying to match device
   1.305978	Device matches
   1.306025	failed to claim USB device: could not claim interface 0: Device or resource busy
   1.306864	detached kernel driver from USB device...
   1.307679	HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 04 01
   1.307724	HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 04 01
   1.307750	HID descriptor length 260
   1.313812	Report Descriptor size = 260
   1.313866	Report Descriptor: (260 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01 09 00
   1.313905	 75 08 95 01 15 00 26 fa 00 b1 03 85 02 09 ff 09 fd 95 02 75 04 15 00 25 0f
   1.313942	 b1 03 05 85 09 8f 09 89 95 02 75 04 b1 03 09 83 75 08 95 01 15 00 26 fa 00
   1.313979	 b1 03 85 03 09 2a 75 18 95 01 b1 02 09 2c 75 02 95 01 15 00 25 03 b1 03 09
   1.314016	 8b 75 01 95 01 15 00 25 01 b1 03 09 00 15 01 25 1f 75 05 95 01 b1 03 85 13
   1.314053	 95 01 75 08 15 00 25 64 09 29 b1 03 75 08 09 66 85 06 95 01 b1 83 09 66 81
   1.314090	 83 85 0c 09 44 09 45 09 d0 09 42 09 d1 25 01 15 00 75 01 95 05 b1 83 09 00
   1.314127	 95 01 75 03 b1 83 09 44 09 45 09 d0 09 42 09 d1 25 01 15 00 95 05 75 01 81
   1.314164	 83 09 00 95 01 75 03 81 83 85 04 09 67 09 8c 09 8d 09 8e 75 08 95 04 b1 02
   1.314201	 85 05 05 84 09 30 09 40 95 02 75 10 b1 03 85 32 09 00 95 04 75 08 b1 03 85
   1.314235	 33 09 00 75 08 95 01 b1 03 85 07 09 fe 75 08 95 01 b1 03 c0 c0
   1.314370	Using subdriver: Belkin HID 0.17
   1.314904	Report[get]: (2 bytes) => 01 01
   1.314965	Path: UPS.PowerSummary.Undefined, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1
   1.315472	Report[get]: (4 bytes) => 02 13 61 64
   1.315534	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 4, Value: 3
   1.315567	Report[buf]: (4 bytes) => 02 13 61 64
   1.315601	Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x02, Offset: 4, Size: 4, Value: 1
   1.315670	Report[buf]: (4 bytes) => 02 13 61 64
   1.315706	Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x02, Offset: 8, Size: 4, Value: 1
   1.315738	Report[buf]: (4 bytes) => 02 13 61 64
   1.315772	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x02, Offset: 12, Size: 4, Value: 6
   1.315802	Report[buf]: (4 bytes) => 02 13 61 64
   1.315846	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x02, Offset: 16, Size: 8, Value: 100
   1.316383	Report[get]: (5 bytes) => 03 ff ff ff 06
   1.316428	Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x03, Offset: 0, Size: 24, Value: 250
   1.316462	Report[buf]: (5 bytes) => 03 ff ff ff 06
   1.316496	Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x03, Offset: 24, Size: 2, Value: 2
   1.316528	Report[buf]: (5 bytes) => 03 ff ff ff 06
   1.316561	Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x03, Offset: 26, Size: 1, Value: 1
   1.316593	Report[buf]: (5 bytes) => 03 ff ff ff 06
   1.316627	Path: UPS.PowerSummary.Undefined, Type: Feature, ReportID: 0x03, Offset: 27, Size: 5, Value: 1
   1.317052	Report[get]: (2 bytes) => 13 14
   1.317104	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 20
   1.317562	Report[get]: (2 bytes) => 06 3d
   1.317636	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.317669	Report[buf]: (2 bytes) => 06 3d
   1.317704	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.318260	Report[get]: (2 bytes) => 0c 05
   1.318312	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.318344	Report[buf]: (2 bytes) => 0c 05
   1.318377	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.318407	Report[buf]: (2 bytes) => 0c 05
   1.318440	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   1.318470	Report[buf]: (2 bytes) => 0c 05
   1.318504	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
   1.318534	Report[buf]: (2 bytes) => 0c 05
   1.318567	Path: UPS.PowerSummary.BatteryPresent, Type: Feature, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
   1.318597	Report[buf]: (2 bytes) => 0c 05
   1.318630	Path: UPS.PowerSummary.Undefined, Type: Feature, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
   1.318659	Report[buf]: (2 bytes) => 0c 05
   1.318693	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.318723	Report[buf]: (2 bytes) => 0c 05
   1.318756	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.318785	Report[buf]: (2 bytes) => 0c 05
   1.318818	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   1.318847	Report[buf]: (2 bytes) => 0c 05
   1.318880	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
   1.318910	Report[buf]: (2 bytes) => 0c 05
   1.318942	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
   1.318971	Report[buf]: (2 bytes) => 0c 05
   1.319004	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
   1.319557	Report[get]: (5 bytes) => 04 64 14 01 01
   1.319617	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 0
   1.319651	Report[buf]: (5 bytes) => 04 64 14 01 01
   1.319685	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x04, Offset: 8, Size: 8, Value: 0
   1.319716	Report[buf]: (5 bytes) => 04 64 14 01 01
   1.319785	Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x04, Offset: 16, Size: 8, Value: 1
   1.319819	Report[buf]: (5 bytes) => 04 64 14 01 01
   1.319853	Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x04, Offset: 24, Size: 8, Value: 1
   1.320430	Report[get]: (5 bytes) => 05 53 00 48 00
   1.320495	Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x05, Offset: 0, Size: 16, Value: 1
   1.320529	Report[buf]: (5 bytes) => 05 53 00 48 00
   1.320564	Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x05, Offset: 16, Size: 16, Value: 0
   1.321047	Report[get]: (5 bytes) => 32 47 17 05 00
   1.321094	Path: UPS.PowerSummary.Undefined, Type: Feature, ReportID: 0x32, Offset: 0, Size: 8, Value: 1
   1.321647	Report[get]: (2 bytes) => 33 00
   1.321694	Path: UPS.PowerSummary.Undefined, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 0
   1.322444	Report[get]: (2 bytes) => 07 02
   1.322543	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 0
Network UPS Tools - Generic HID driver 0.38 (2.7.2.5)
USB communication driver 0.32
   1.322651	Report[buf]: (4 bytes) => 02 13 61 64
   1.324329	Report descriptor retrieved (Reportlen = 260)
   1.324367	Found HID device
   1.324394	Detected a UPS: Emerson Network Power/Liebert GXT3
   1.324483	Report[buf]: (2 bytes) => 13 14
   1.324519	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 20
   1.324583	Report[buf]: (5 bytes) => 04 64 14 01 01
   1.324615	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x04, Offset: 8, Size: 8, Value: 0
   1.324694	Report[buf]: (4 bytes) => 02 13 61 64
   1.324725	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x02, Offset: 12, Size: 4, Value: 6
   1.325663	Report[buf]: (2 bytes) => 06 3d
   1.325687	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.325730	Report[buf]: (5 bytes) => 05 53 00 48 00
   1.325747	Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x05, Offset: 0, Size: 16, Value: 1
   1.325782	Report[buf]: (5 bytes) => 05 53 00 48 00
   1.325799	Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x05, Offset: 16, Size: 16, Value: 0
   1.325814	ConfigVoltage = 0 -> assuming correction factor = 1e+08
   1.325849	Report[buf]: (2 bytes) => 0c 05
   1.325864	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.325891	Report[buf]: (2 bytes) => 0c 05
   1.325906	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.325940	Report[buf]: (2 bytes) => 0c 05
   1.325956	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   1.326115	find_nut_info: unknown info type: load.off.delay
   1.326132	find_nut_info: unknown info type: load.on.delay
   1.326147	find_nut_info: unknown info type: load.off.delay
   1.326168	upsdrv_initinfo...
   1.326187	upsdrv_updateinfo...
   1.356725	Report[int]: (2 bytes) => 06 3d
   1.356815	Got 1 HID objects...
   1.356901	Report[buf]: (2 bytes) => 06 3d
   1.356950	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.356989	Quick update...
   1.357021	Report[buf]: (2 bytes) => 06 3d
   1.357052	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.357087	Report[buf]: (2 bytes) => 0c 05
   1.357116	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.357148	Report[buf]: (2 bytes) => 0c 05
   1.357178	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.357210	Report[buf]: (2 bytes) => 0c 05
   1.357239	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   1.357442	dstate_init: sock /var/run/nut/usbhid-ups-liebert open on fd 5
   1.357494	upsdrv_updateinfo...
   1.388961	Report[int]: (2 bytes) => 0c 05
   1.389054	Got 6 HID objects...
   1.389089	Report[buf]: (2 bytes) => 0c 05
   1.389127	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.389175	Report[buf]: (2 bytes) => 0c 05
   1.389254	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.389287	Report[buf]: (2 bytes) => 0c 05
   1.389322	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   1.389353	Report[buf]: (2 bytes) => 0c 05
   1.389387	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
   1.389413	NUT doesn't use this HID object
   1.389444	Report[buf]: (2 bytes) => 0c 05
   1.389476	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
   1.389502	NUT doesn't use this HID object
   1.389532	Report[buf]: (2 bytes) => 0c 05
   1.389565	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
   1.389589	NUT doesn't use this HID object
   1.389618	Quick update...
   1.389649	Report[buf]: (2 bytes) => 06 3d
   1.389682	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   1.389717	Report[buf]: (2 bytes) => 0c 05
   1.389746	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   1.389777	Report[buf]: (2 bytes) => 0c 05
   1.389808	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   1.389838	Report[buf]: (2 bytes) => 0c 05
   1.389868	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   3.359748	upsdrv_updateinfo...
   3.372979	Report[int]: (2 bytes) => 06 3d
   3.373072	Got 1 HID objects...
   3.373106	Report[buf]: (2 bytes) => 06 3d
   3.373146	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   3.373187	Quick update...
   3.373221	Report[buf]: (2 bytes) => 06 3d
   3.373254	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   3.373947	Report[get]: (2 bytes) => 0c 05
   3.374043	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   3.374080	Report[buf]: (2 bytes) => 0c 05
   3.374110	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   3.374141	Report[buf]: (2 bytes) => 0c 05
   3.374171	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   5.361183	upsdrv_updateinfo...
   5.388911	Report[int]: (2 bytes) => 0c 05
   5.388967	Got 6 HID objects...
   5.388985	Report[buf]: (2 bytes) => 0c 05
   5.389005	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   5.389027	Report[buf]: (2 bytes) => 0c 05
   5.389046	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   5.389063	Report[buf]: (2 bytes) => 0c 05
   5.389081	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   5.389098	Report[buf]: (2 bytes) => 0c 05
   5.389116	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
   5.389131	NUT doesn't use this HID object
   5.389147	Report[buf]: (2 bytes) => 0c 05
   5.389164	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
   5.389178	NUT doesn't use this HID object
   5.389194	Report[buf]: (2 bytes) => 0c 05
   5.389210	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
   5.389224	NUT doesn't use this HID object
   5.389239	Quick update...
   5.389685	Report[get]: (2 bytes) => 06 3d
   5.389719	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   5.389738	Report[buf]: (2 bytes) => 0c 05
   5.389754	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   5.389770	Report[buf]: (2 bytes) => 0c 05
   5.389785	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   5.389801	Report[buf]: (2 bytes) => 0c 05
   5.389836	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   7.363405	upsdrv_updateinfo...
   7.372950	Report[int]: (2 bytes) => 06 3d
   7.373043	Got 1 HID objects...
   7.373079	Report[buf]: (2 bytes) => 06 3d
   7.373120	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   7.373162	Quick update...
   7.373196	Report[buf]: (2 bytes) => 06 3d
   7.373229	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   7.373965	Report[get]: (2 bytes) => 0c 05
   7.374059	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   7.374096	Report[buf]: (2 bytes) => 0c 05
   7.374128	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   7.374159	Report[buf]: (2 bytes) => 0c 05
   7.374189	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   9.365638	upsdrv_updateinfo...
   9.388952	Report[int]: (2 bytes) => 0c 05
   9.389047	Got 6 HID objects...
   9.389082	Report[buf]: (2 bytes) => 0c 05
   9.389122	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   9.389162	Report[buf]: (2 bytes) => 0c 05
   9.389199	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   9.389234	Report[buf]: (2 bytes) => 0c 05
   9.389270	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
   9.389304	Report[buf]: (2 bytes) => 0c 05
   9.389340	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
   9.389368	NUT doesn't use this HID object
   9.389400	Report[buf]: (2 bytes) => 0c 05
   9.389435	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
   9.389462	NUT doesn't use this HID object
   9.389494	Report[buf]: (2 bytes) => 0c 05
   9.389527	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
   9.389554	NUT doesn't use this HID object
   9.389584	Quick update...
   9.390153	Report[get]: (2 bytes) => 06 3d
   9.390204	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
   9.390243	Report[buf]: (2 bytes) => 0c 05
   9.390273	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
   9.390305	Report[buf]: (2 bytes) => 0c 05
   9.390335	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
   9.390366	Report[buf]: (2 bytes) => 0c 05
   9.390397	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  11.367855	upsdrv_updateinfo...
  11.372954	Report[int]: (2 bytes) => 06 3d
  11.373050	Got 1 HID objects...
  11.373086	Report[buf]: (2 bytes) => 06 3d
  11.373126	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  11.373168	Quick update...
  11.373203	Report[buf]: (2 bytes) => 06 3d
  11.373237	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  11.373952	Report[get]: (2 bytes) => 0c 05
  11.374049	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  11.374087	Report[buf]: (2 bytes) => 0c 05
  11.374119	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  11.374152	Report[buf]: (2 bytes) => 0c 05
  11.374183	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  13.369183	upsdrv_updateinfo...
  13.389003	Report[int]: (2 bytes) => 0c 05
  13.389099	Got 6 HID objects...
  13.389136	Report[buf]: (2 bytes) => 0c 05
  13.389176	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  13.389216	Report[buf]: (2 bytes) => 0c 05
  13.389254	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  13.389331	Report[buf]: (2 bytes) => 0c 05
  13.389370	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  13.389406	Report[buf]: (2 bytes) => 0c 05
  13.389443	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
  13.389472	NUT doesn't use this HID object
  13.389506	Report[buf]: (2 bytes) => 0c 05
  13.389541	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
  13.389569	NUT doesn't use this HID object
  13.389602	Report[buf]: (2 bytes) => 0c 05
  13.389636	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
  13.389663	NUT doesn't use this HID object
  13.389694	Quick update...
  13.390211	Report[get]: (2 bytes) => 06 3d
  13.390292	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  13.390332	Report[buf]: (2 bytes) => 0c 05
  13.390363	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  13.390395	Report[buf]: (2 bytes) => 0c 05
  13.390426	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  13.390458	Report[buf]: (2 bytes) => 0c 05
  13.390489	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  15.371255	upsdrv_updateinfo...
  15.372787	Report[int]: (2 bytes) => 06 3d
  15.372949	Got 1 HID objects...
  15.372985	Report[buf]: (2 bytes) => 06 3d
  15.373024	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  15.373064	Quick update...
  15.373097	Report[buf]: (2 bytes) => 06 3d
  15.373128	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  15.373636	Report[get]: (2 bytes) => 0c 05
  15.373679	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  15.373715	Report[buf]: (2 bytes) => 0c 05
  15.373746	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  15.373779	Report[buf]: (2 bytes) => 0c 05
  15.373810	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  17.373162	upsdrv_updateinfo...
  17.389006	Report[int]: (2 bytes) => 0c 05
  17.389114	Got 6 HID objects...
  17.389151	Report[buf]: (2 bytes) => 0c 05
  17.389189	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  17.389229	Report[buf]: (2 bytes) => 0c 05
  17.389264	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  17.389298	Report[buf]: (2 bytes) => 0c 05
  17.389333	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  17.389366	Report[buf]: (2 bytes) => 0c 05
  17.389401	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
  17.389428	NUT doesn't use this HID object
  17.389460	Report[buf]: (2 bytes) => 0c 05
  17.389494	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
  17.389520	NUT doesn't use this HID object
  17.389552	Report[buf]: (2 bytes) => 0c 05
  17.389586	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
  17.389612	NUT doesn't use this HID object
  17.389642	Quick update...
  17.390137	Report[get]: (2 bytes) => 06 3d
  17.390191	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  17.390230	Report[buf]: (2 bytes) => 0c 05
  17.390260	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  17.390292	Report[buf]: (2 bytes) => 0c 05
  17.390323	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  17.390355	Report[buf]: (2 bytes) => 0c 05
  17.390386	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  19.375379	upsdrv_updateinfo...
  19.404985	Report[int]: (2 bytes) => 06 3d
  19.405085	Got 1 HID objects...
  19.405123	Report[buf]: (2 bytes) => 06 3d
  19.405163	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  19.405206	Quick update...
  19.405242	Report[buf]: (2 bytes) => 06 3d
  19.405277	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  19.405948	Report[get]: (2 bytes) => 0c 05
  19.406048	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  19.406088	Report[buf]: (2 bytes) => 0c 05
  19.406121	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  19.406155	Report[buf]: (2 bytes) => 0c 05
  19.406189	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  21.376919	upsdrv_updateinfo...
  21.388662	Report[int]: (2 bytes) => 0c 05
  21.388691	Got 6 HID objects...
  21.388709	Report[buf]: (2 bytes) => 0c 05
  21.388729	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  21.388750	Report[buf]: (2 bytes) => 0c 05
  21.388768	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  21.388785	Report[buf]: (2 bytes) => 0c 05
  21.388803	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  21.388821	Report[buf]: (2 bytes) => 0c 05
  21.388839	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
  21.388867	NUT doesn't use this HID object
  21.388884	Report[buf]: (2 bytes) => 0c 05
  21.388902	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
  21.388916	NUT doesn't use this HID object
  21.388932	Report[buf]: (2 bytes) => 0c 05
  21.388954	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
  21.388968	NUT doesn't use this HID object
  21.388984	Quick update...
  21.389403	Report[get]: (2 bytes) => 06 3d
  21.389417	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  21.389431	Report[buf]: (2 bytes) => 0c 05
  21.389441	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  21.389452	Report[buf]: (2 bytes) => 0c 05
  21.389463	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  21.389474	Report[buf]: (2 bytes) => 0c 05
  21.389485	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  23.379165	upsdrv_updateinfo...
  23.404823	Report[int]: (2 bytes) => 06 3d
  23.404971	Got 1 HID objects...
  23.405010	Report[buf]: (2 bytes) => 06 3d
  23.405051	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  23.405092	Quick update...
  23.405127	Report[buf]: (2 bytes) => 06 3d
  23.405159	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  23.405730	Report[get]: (2 bytes) => 0c 05
  23.405779	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  23.405815	Report[buf]: (2 bytes) => 0c 05
  23.405846	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  23.405878	Report[buf]: (2 bytes) => 0c 05
  23.405909	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  25.381419	upsdrv_updateinfo...
  25.388976	Report[int]: (2 bytes) => 0c 05
  25.389073	Got 6 HID objects...
  25.389110	Report[buf]: (2 bytes) => 0c 05
  25.389149	Path: UPS.PowerSummary.Charging, Type: Input, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  25.389190	Report[buf]: (2 bytes) => 0c 05
  25.389228	Path: UPS.PowerSummary.Discharging, Type: Input, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  25.389262	Report[buf]: (2 bytes) => 0c 05
  25.389301	Path: UPS.PowerSummary.ACPresent, Type: Input, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  25.389376	Report[buf]: (2 bytes) => 0c 05
  25.389418	Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0c, Offset: 3, Size: 1, Value: 0
  25.389446	NUT doesn't use this HID object
  25.389480	Report[buf]: (2 bytes) => 0c 05
  25.389515	Path: UPS.PowerSummary.BatteryPresent, Type: Input, ReportID: 0x0c, Offset: 4, Size: 1, Value: 0
  25.389543	NUT doesn't use this HID object
  25.389576	Report[buf]: (2 bytes) => 0c 05
  25.389611	Path: UPS.PowerSummary.Undefined, Type: Input, ReportID: 0x0c, Offset: 5, Size: 3, Value: 0
  25.389638	NUT doesn't use this HID object
  25.389668	Quick update...
  25.390235	Report[get]: (2 bytes) => 06 3d
  25.390287	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  25.390325	Report[buf]: (2 bytes) => 0c 05
  25.390355	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  25.390388	Report[buf]: (2 bytes) => 0c 05
  25.390419	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  25.390451	Report[buf]: (2 bytes) => 0c 05
  25.390481	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
  27.383665	upsdrv_updateinfo...
  27.404966	Report[int]: (2 bytes) => 06 3d
  27.405062	Got 1 HID objects...
  27.405097	Report[buf]: (2 bytes) => 06 3d
  27.405137	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  27.405179	Quick update...
  27.405215	Report[buf]: (2 bytes) => 06 3d
  27.405247	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 61
  27.405955	Report[get]: (2 bytes) => 0c 05
  27.406052	Path: UPS.PowerSummary.Discharging, Type: Feature, ReportID: 0x0c, Offset: 1, Size: 1, Value: 0
  27.406091	Report[buf]: (2 bytes) => 0c 05
  27.406122	Path: UPS.PowerSummary.Charging, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 1, Value: 1
  27.406155	Report[buf]: (2 bytes) => 0c 05
  27.406186	Path: UPS.PowerSummary.ACPresent, Type: Feature, ReportID: 0x0c, Offset: 2, Size: 1, Value: 1
Bus 004 Device 017: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x10af Liebert Corp.
  idProduct          0x0008 PowerSure Interactive UPS
  bcdDevice            0.00
  iManufacturer           1 Emerson Network Power
  iProduct                2 Liebert GXT3
  iSerial                 3 1106000077AF453
  bNumConfigurations      1
OTG Descriptor:
  bLength                 3
  bDescriptorType         9
  bmAttributes         0x00
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           37
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 EMERSON NETWORK-GXT3G
    bmAttributes         0x40
      (Missing must-be-set bit!)
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              5 HID-LEDs
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     260
          Report Descriptor: (length is 260)
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x04 ] 4
                            UPS
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x24 ] 36
                            Power Summary
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Report ID, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x02 ] 2
            Item(Local ): Usage, data= [ 0xff ] 255
                            iSerialNumber
            Item(Local ): Usage, data= [ 0xfd ] 253
                            iManufacturer
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x85 ] 133
                            Battery System Page
            Item(Local ): Usage, data= [ 0x8f ] 143
                            iOEMInformation
            Item(Local ): Usage, data= [ 0x89 ] 137
                            iDeviceChemistry
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x83 ] 131
                            Design Capacity
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x03 ] 3
            Item(Local ): Usage, data= [ 0x2a ] 42
                            Remaining Time Limit
            Item(Global): Report Size, data= [ 0x18 ] 24
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x2c ] 44
                            Capacity Mode
            Item(Global): Report Size, data= [ 0x02 ] 2
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x03 ] 3
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x8b ] 139
                            Rechargeable
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Logical Minimum, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x1f ] 31
            Item(Global): Report Size, data= [ 0x05 ] 5
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x13 ] 19
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x64 ] 100
            Item(Local ): Usage, data= [ 0x29 ] 41
                            Remaining Capacity Limit
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x66 ] 102
                            Remaining Capacity
            Item(Global): Report ID, data= [ 0x06 ] 6
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x66 ] 102
                            Remaining Capacity
            Item(Main  ): Input, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Report ID, data= [ 0x0c ] 12
            Item(Local ): Usage, data= [ 0x44 ] 68
                            Charging
            Item(Local ): Usage, data= [ 0x45 ] 69
                            Discharging
            Item(Local ): Usage, data= [ 0xd0 ] 208
                            AC Present
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Below Remaining Capacity Limit
            Item(Local ): Usage, data= [ 0xd1 ] 209
                            Battery Present
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Feature, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x03 ] 3
            Item(Main  ): Feature, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x44 ] 68
                            Charging
            Item(Local ): Usage, data= [ 0x45 ] 69
                            Discharging
            Item(Local ): Usage, data= [ 0xd0 ] 208
                            AC Present
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Below Remaining Capacity Limit
            Item(Local ): Usage, data= [ 0xd1 ] 209
                            Battery Present
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x03 ] 3
            Item(Main  ): Input, data= [ 0x83 ] 131
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Global): Report ID, data= [ 0x04 ] 4
            Item(Local ): Usage, data= [ 0x67 ] 103
                            Full Charge Capacity
            Item(Local ): Usage, data= [ 0x8c ] 140
                            Warning Capacity Limit
            Item(Local ): Usage, data= [ 0x8d ] 141
                            Capacity Granularity 1
            Item(Local ): Usage, data= [ 0x8e ] 142
                            Capacity Granularity 2
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x04 ] 4
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x05 ] 5
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Voltage
            Item(Local ): Usage, data= [ 0x40 ] 64
                            Config Voltage
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x32 ] 50
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Report Count, data= [ 0x04 ] 4
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x33 ] 51
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x07 ] 7
            Item(Local ): Usage, data= [ 0xfe ] 254
                            iProduct
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              32
Device Status:     0x2050
  (Bus Powered)
  HNP Capable
  Debug Mode
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to