Hi All,

Sorry for the delay :(

В Sat, 21 Nov 2009 13:35:12 +0100
Arjen de Korte <[email protected]> пишет:

> Citeren Morozov Alexey <[email protected]>:
> 
> > Our engineers fixed problem and prepare updated firmware. I could
> > provide new demo sample to Alexander this weekend. This firmware get
> > correct status and data from UPS but not shutdown system.
> 
> It would be helpful if NUT would be able to shutdown the UPS too.
> This is essential in case of unattended shutdowns. Are you telling
> that there is no way to make the UPS power off the outlets and wait
> for the mains power to return?

I think, Alexey means that gnome-power-manager + kernel usbhid driver
are not able to shutdown system when battery gets low. So maybe NUT can
do the job better. I'll test it today.

> > Communication via USB in previous version firmware based on get
> > report (by default) but it changed to interapt report. If it
> > possible please use both report type (get and interapt reports) in
> > OS.
> 
> I'm not quite sure I understand what you're saying here. Do you mean  
> the UPS no longer uses feature reports, but instead only pushes data  
> through the interrupt pipeline?
> 
> We currently do use both feature- and input reports. Currently, when  
> we get an input report (through the interrupt pipeline) we read the  
> corresponding feature report (mostly for working around broken input  
> reports on some Belkin models). We could make this optional however.
> 
> @Alexander: If you receive the newer unit, could you please run the  
> usbhid-ups driver with -DDD enabled? I would love to see the new (?)  
> report descriptor of this device. The version from the trunk should
> be able to recognize the VID:PID of the UPS, so there is no more need
> to use the explore option anymore.

Sure, attached it.

-- 
  Alexander
Network UPS Tools - Generic HID driver 0.34 (2.4.1-2142)
USB communication driver 0.31
   0.000000	debug level is '3'
   0.000919	upsdrv_initups...
   0.127959	Checking device (1D6B/0001) (002/001)
   0.128137	- VendorID: 1d6b
   0.128215	- ProductID: 0001
   0.128286	- Manufacturer: Linux 2.6.30-2-686 uhci_hcd
   0.128357	- Product: UHCI Host Controller
   0.128428	- Serial Number: 0000:00:1d.0
   0.128498	- Bus: 002
   0.128568	Trying to match device
   0.128666	Device does not match - skipping
   0.128749	Checking device (0D9F/00A6) (003/003)
   0.172855	- VendorID: 0d9f
   0.172886	- ProductID: 00a6
   0.172896	- Manufacturer: POWERCOM Co.,LTD 
   0.172909	- Product:   UPS  BNT--500AP FW7.A6 
   0.172920	- Serial Number: 0A6-0000-0001  
   0.172929	- Bus: 003
   0.172939	Trying to match device
   0.173007	Device matches
   0.173054	failed to claim USB device: could not claim interface 0: Device or resource busy
   0.176641	detached kernel driver from USB device...
   0.183874	HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 d0 02
   0.183912	HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 d0 02
   0.183925	HID descriptor length 720
   0.276904	Report Descriptor size = 720
   0.276950	Report Descriptor: (720 bytes) => 05 84 09 04 a1 01 09 24 a1 02 85 01 09 fe
   0.276982	 79 01 75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff 79 02 b1 22 85 03 09 fd
   0.277013	 79 03 b1 22 05 85 85 04 09 8f 79 03 b1 22 85 05 09 89 79 04 b1 22 85 07 09
   0.277047	 8b b1 22 85 08 09 2c 25 03 b1 22 85 09 09 83 25 64 b1 22 09 67 b1 22 85 0a
   0.277082	 09 66 81 22 09 66 b1 a2 85 0b 09 8c b1 22 85 0c 09 29 b1 a2 85 0d 09 85 75
   0.277111	 10 27 ff ff 00 00 b1 a2 85 0e 09 68 81 22 09 68 b1 a2 05 84 85 0f 09 57 75
   0.277146	 10 16 00 00 27 ff ff 00 00 b1 a2 85 10 09 56 75 10 16 00 00 27 ff ff 00 00
   0.277180	 b1 a2 85 11 09 40 75 10 15 64 26 e6 00 b1 22 85 12 09 30 75 10 16 00 00 26
   0.277214	 2c 01 b1 a2 85 13 09 5a 75 08 15 01 25 03 b1 a2 09 02 a1 02 05 85 85 14 09
   0.277244	 44 75 01 15 00 25 01 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09 d0 81 a2
   0.277278	 09 d0 b1 a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 09 43 81 a2 09
   0.277309	 43 b1 a2 09 4b 81 a2 09 4b b1 a2 09 db 81 a2 09 db b1 a2 05 84 09 68 81 a2
   0.277343	 09 68 b1 a2 09 69 81 a2 09 69 b1 a2 09 73 81 a2 09 73 b1 a2 09 65 81 a2 09
   0.277372	 65 b1 a2 95 03 81 01 b1 01 95 01 06 86 ff 09 80 81 a2 09 80 b1 a2 c0 c0 05
   0.277407	 84 09 12 a1 00 85 15 09 58 75 08 25 06 b1 a2 85 16 09 70 25 06 b1 a2 05 85
   0.277440	 85 17 09 85 75 10 27 ff ff 00 00 b1 a2 85 18 09 66 75 08 15 00 25 64 b1 a2
   0.277475	 05 84 85 19 09 40 75 10 15 64 26 e6 00 b1 22 85 1a 09 30 75 10 16 00 00 26
   0.277512	 2c 01 b1 a2 85 1b 09 56 75 10 16 00 00 27 ff ff 00 00 b1 a2 c0 05 84 09 1a
   0.277547	 a1 00 85 1c 09 40 75 10 15 64 26 e6 00 b1 22 85 1d 09 30 75 10 16 00 00 26
   0.277583	 2c 01 b1 a2 85 1e 09 32 75 08 15 00 25 46 b1 a2 c0 05 84 09 1c a1 00 85 1f
   0.277618	 09 35 75 08 15 00 25 64 b1 a2 85 20 09 40 75 10 15 64 26 e6 00 b1 22 85 21
   0.277653	 09 30 75 10 16 00 00 26 2c 01 b1 a2 85 22 09 32 75 08 15 00 25 46 b1 a2 85
   0.277688	 23 09 57 75 10 16 00 00 27 ff ff 00 00 b1 a2 85 24 09 56 75 10 16 00 00 27
   0.277725	 ff ff 00 00 b1 a2 c0 05 84 85 06 09 01 79 05 b1 a2 85 25 09 5a 75 08 15 01
   0.277759	 25 03 b1 a2 09 02 a1 02 05 85 85 26 09 44 75 01 15 00 25 01 b1 a2 09 45 b1
   0.277795	 a2 09 d0 b1 a2 09 d1 b1 a2 09 42 b1 a2 09 43 b1 a2 09 4b b1 a2 09 db b1 a2
   0.277830	 05 84 09 68 b1 a2 09 69 b1 a2 09 73 b1 a2 09 65 b1 a2 09 6e b1 a2 09 6f b1
   0.277867	 a2 09 71 b1 a2 06 86 ff 09 80 b1 a2 c0 85 27 05 84 09 69 75 08 15 00 25 01
   0.277901	 b1 a2 85 28 09 2f 75 08 95 12 15 00 26 ff 00 b1 a2 06 86 ff 85 29 09 60 81
   0.277922	 a2 09 60 b1 a2 c0
   0.278110	Using subdriver: PowerCOM HID 0.1
   0.282907	Report[get]: (2 bytes) => 01 01
   0.282978	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1.000000
   0.287867	Report[get]: (2 bytes) => 02 02
   0.287902	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2.000000
   0.292860	Report[get]: (2 bytes) => 03 03
   0.292893	Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3.000000
   0.297887	Report[get]: (2 bytes) => 04 03
   0.297938	Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 3.000000
   0.302872	Report[get]: (2 bytes) => 05 04
   0.302905	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 4.000000
   0.307850	Report[get]: (2 bytes) => 07 01
   0.307873	Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 1.000000
   0.312866	Report[get]: (2 bytes) => 08 02
   0.312901	Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 2.000000
   0.317859	Report[get]: (3 bytes) => 09 64 64
   0.317906	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x09, Offset: 0, Size: 8, Value: 100.000000
   0.317926	Report[buf]: (3 bytes) => 09 64 64
   0.317945	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x09, Offset: 8, Size: 8, Value: 100.000000
   0.323000	Report[get]: (2 bytes) => 0a 64
   0.323043	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x0a, Offset: 0, Size: 8, Value: 100.000000
   0.323061	Report[buf]: (2 bytes) => 0a 64
   0.323079	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 8, Value: 100.000000
   0.327851	Report[get]: (2 bytes) => 0b 1e
   0.327884	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 30.000000
   0.332892	Report[get]: (2 bytes) => 0c 0a
   0.332927	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 10.000000
   0.337909	Report[get]: (3 bytes) => 0d 4e 3b
   0.337959	Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 15182.000000
   0.342866	Report[get]: (3 bytes) => 0e 80 08
   0.342906	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2176.000000
   0.342921	Report[buf]: (3 bytes) => 0e 80 08
   0.342939	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 16, Value: 2176.000000
   0.347862	Report[get]: (3 bytes) => 0f 00 00
   0.347905	Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 0.000000
   0.352925	Report[get]: (3 bytes) => 10 00 00
   0.352978	Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x10, Offset: 0, Size: 16, Value: 0.000000
   0.358366	Report[get]: (3 bytes) => 11 dc 00
   0.358415	Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x11, Offset: 0, Size: 16, Value: 220.000000
   0.362857	Report[get]: (3 bytes) => 12 da 00
   0.362894	Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 218.000000
   0.367916	Report[get]: (2 bytes) => 13 01
   0.367952	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 1.000000
   0.372851	Report[get]: (3 bytes) => 14 0c 00
   0.372877	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000
   0.372892	Report[buf]: (3 bytes) => 14 0c 00
   0.372910	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x14, Offset: 0, Size: 1, Value: 0.000000
   0.372924	Report[buf]: (3 bytes) => 14 0c 00
   0.372941	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000
   0.372955	Report[buf]: (3 bytes) => 14 0c 00
   0.372972	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x14, Offset: 1, Size: 1, Value: 0.000000
   0.372986	Report[buf]: (3 bytes) => 14 0c 00
   0.373003	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000
   0.373017	Report[buf]: (3 bytes) => 14 0c 00
   0.373034	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x14, Offset: 2, Size: 1, Value: 1.000000
   0.373047	Report[buf]: (3 bytes) => 14 0c 00
   0.373065	Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Input, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000
   0.373078	Report[buf]: (3 bytes) => 14 0c 00
   0.373095	Path: UPS.PowerSummary.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x14, Offset: 3, Size: 1, Value: 1.000000
   0.373109	Report[buf]: (3 bytes) => 14 0c 00
   0.373126	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000
   0.373140	Report[buf]: (3 bytes) => 14 0c 00
   0.373156	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x14, Offset: 4, Size: 1, Value: 0.000000
   0.373171	Report[buf]: (3 bytes) => 14 0c 00
   0.373187	Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000
   0.373201	Report[buf]: (3 bytes) => 14 0c 00
   0.373218	Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x14, Offset: 5, Size: 1, Value: 0.000000
   0.373232	Report[buf]: (3 bytes) => 14 0c 00
   0.373249	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000
   0.373263	Report[buf]: (3 bytes) => 14 0c 00
   0.373279	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x14, Offset: 6, Size: 1, Value: 0.000000
   0.373293	Report[buf]: (3 bytes) => 14 0c 00
   0.373310	Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Input, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000
   0.373324	Report[buf]: (3 bytes) => 14 0c 00
   0.373341	Path: UPS.PowerSummary.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x14, Offset: 7, Size: 1, Value: 0.000000
   0.373355	Report[buf]: (3 bytes) => 14 0c 00
   0.373371	Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Input, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000
   0.373385	Report[buf]: (3 bytes) => 14 0c 00
   0.373402	Path: UPS.PowerSummary.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x14, Offset: 8, Size: 1, Value: 0.000000
   0.373416	Report[buf]: (3 bytes) => 14 0c 00
   0.373433	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000
   0.373446	Report[buf]: (3 bytes) => 14 0c 00
   0.373463	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x14, Offset: 9, Size: 1, Value: 0.000000
   0.373477	Report[buf]: (3 bytes) => 14 0c 00
   0.373494	Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000
   0.373508	Report[buf]: (3 bytes) => 14 0c 00
   0.373524	Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x14, Offset: 10, Size: 1, Value: 0.000000
   0.373538	Report[buf]: (3 bytes) => 14 0c 00
   0.373555	Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000
   0.402884	Report[buf]: (3 bytes) => 14 0c 00
   0.402910	Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x14, Offset: 11, Size: 1, Value: 0.000000
   0.402924	Report[buf]: (3 bytes) => 14 0c 00
   0.402942	Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Input, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000
   0.402955	Report[buf]: (3 bytes) => 14 0c 00
   0.402972	Path: UPS.PowerSummary.PresentStatus.POWERCOM3, Type: Feature, ReportID: 0x14, Offset: 15, Size: 1, Value: 0.000000
   0.407855	Report[get]: (2 bytes) => 15 01
   0.407878	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1.000000
   0.412680	Report[get]: (2 bytes) => 16 01
   0.412700	Path: UPS.Battery.Initialized, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 1.000000
   0.416855	Report[get]: (3 bytes) => 17 4e 3b
   0.416887	Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 15182.000000
   0.421886	Report[get]: (2 bytes) => 18 64
   0.421928	Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 100.000000
   0.426897	Report[get]: (3 bytes) => 19 dc 00
   0.426943	Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 220.000000
   0.431866	Report[get]: (3 bytes) => 1a da 00
   0.431901	Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 218.000000
   0.436854	Report[get]: (3 bytes) => 1b 00 00
   0.436877	Path: UPS.Battery.DelayBeforeStartup, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.000000
   0.441893	Report[get]: (3 bytes) => 1c dc 00
   0.441923	Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 220.000000
   0.446850	Report[get]: (3 bytes) => 1d da 00
   0.446874	Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 218.000000
   0.451862	Report[get]: (2 bytes) => 1e 32
   0.451888	Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 50.000000
   0.456886	Report[get]: (2 bytes) => 1f 00
   0.456928	Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 0.000000
   0.461860	Report[get]: (3 bytes) => 20 dc 00
   0.461892	Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 220.000000
   0.466853	Report[get]: (3 bytes) => 21 da 00
   0.466877	Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 218.000000
   0.471850	Report[get]: (2 bytes) => 22 32
   0.471874	Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 50.000000
   0.476850	Report[get]: (3 bytes) => 23 00 00
   0.476875	Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 0.000000
   0.481850	Report[get]: (3 bytes) => 24 00 00
   0.481871	Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 0.000000
   0.486844	refresh_report_buffer: expected 3 bytes, but got 2 instead
   0.486859	Report[err]: (2 bytes) => 06 05
   0.486876	Path: UPS.iName, Type: Feature, ReportID: 0x06, Offset: 0, Size: 16, Value: 5.000000
   0.491864	Report[get]: (2 bytes) => 25 01
   0.491897	Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x25, Offset: 0, Size: 8, Value: 1.000000
   0.496944	Report[get]: (3 bytes) => 26 0c 00
   0.496971	Path: UPS.PresentStatus.Charging, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0.000000
   0.496985	Report[buf]: (3 bytes) => 26 0c 00
   0.497002	Path: UPS.PresentStatus.Discharging, Type: Feature, ReportID: 0x26, Offset: 1, Size: 1, Value: 0.000000
   0.497016	Report[buf]: (3 bytes) => 26 0c 00
   0.497032	Path: UPS.PresentStatus.ACPresent, Type: Feature, ReportID: 0x26, Offset: 2, Size: 1, Value: 1.000000
   0.497046	Report[buf]: (3 bytes) => 26 0c 00
   0.497062	Path: UPS.PresentStatus.BatteryPresent, Type: Feature, ReportID: 0x26, Offset: 3, Size: 1, Value: 1.000000
   0.497076	Report[buf]: (3 bytes) => 26 0c 00
   0.497092	Path: UPS.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x26, Offset: 4, Size: 1, Value: 0.000000
   0.497105	Report[buf]: (3 bytes) => 26 0c 00
   0.497121	Path: UPS.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x26, Offset: 5, Size: 1, Value: 0.000000
   0.497135	Report[buf]: (3 bytes) => 26 0c 00
   0.497151	Path: UPS.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x26, Offset: 6, Size: 1, Value: 0.000000
   0.497164	Report[buf]: (3 bytes) => 26 0c 00
   0.497180	Path: UPS.PresentStatus.VoltageNotRegulated, Type: Feature, ReportID: 0x26, Offset: 7, Size: 1, Value: 0.000000
   0.497194	Report[buf]: (3 bytes) => 26 0c 00
   0.497209	Path: UPS.PresentStatus.ShutdownRequested, Type: Feature, ReportID: 0x26, Offset: 8, Size: 1, Value: 0.000000
   0.497223	Report[buf]: (3 bytes) => 26 0c 00
   0.497238	Path: UPS.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x26, Offset: 9, Size: 1, Value: 0.000000
   0.497252	Report[buf]: (3 bytes) => 26 0c 00
   0.497268	Path: UPS.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x26, Offset: 10, Size: 1, Value: 0.000000
   0.497281	Report[buf]: (3 bytes) => 26 0c 00
   0.497297	Path: UPS.PresentStatus.Overload, Type: Feature, ReportID: 0x26, Offset: 11, Size: 1, Value: 0.000000
   0.497310	Report[buf]: (3 bytes) => 26 0c 00
   0.497325	Path: UPS.PresentStatus.Boost, Type: Feature, ReportID: 0x26, Offset: 12, Size: 1, Value: 0.000000
   0.497339	Report[buf]: (3 bytes) => 26 0c 00
   0.497354	Path: UPS.PresentStatus.Buck, Type: Feature, ReportID: 0x26, Offset: 13, Size: 1, Value: 0.000000
   0.497368	Report[buf]: (3 bytes) => 26 0c 00
   0.497383	Path: UPS.PresentStatus.Tested, Type: Feature, ReportID: 0x26, Offset: 14, Size: 1, Value: 0.000000
   0.497396	Report[buf]: (3 bytes) => 26 0c 00
   0.497412	Path: UPS.PresentStatus.POWERCOM3, Type: Feature, ReportID: 0x26, Offset: 15, Size: 1, Value: 0.000000
   0.501872	Report[get]: (2 bytes) => 27 00
   0.501898	Path: UPS.ShutdownImminent, Type: Feature, ReportID: 0x27, Offset: 0, Size: 8, Value: 0.000000
   0.508931	Report[get]: (19 bytes) => 28 17 10 00 64 6d 6d 32 ff 32 00 00 00 00 4b 28
   0.508959	 00 00 00
   0.508986	Path: UPS.POWERCOM1, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 23.000000
   0.511896	Can't retrieve Report 41: Broken pipe
   0.512155	Path: UPS.POWERCOM2, Type: Input, ReportID: 0x29, Offset: 0, Size: 8
   0.514867	Can't retrieve Report 41: Broken pipe
   0.514883	Path: UPS.POWERCOM2, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8
   0.514921	Report descriptor retrieved (Reportlen = 720)
   0.514931	Found HID device
   0.514941	Detected a UPS: POWERCOM Co.,LTD /  UPS  BNT--500AP FW7.A6 
   0.514980	Report[buf]: (2 bytes) => 25 01
   0.514998	Path: UPS.AudibleAlarmControl, Type: Feature, ReportID: 0x25, Offset: 0, Size: 8, Value: 1.000000
   0.515027	Report[buf]: (3 bytes) => 19 dc 00
   0.515043	Path: UPS.Battery.ConfigVoltage, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 220.000000
   0.515072	Report[buf]: (3 bytes) => 1b 00 00
   0.515085	Path: UPS.Battery.DelayBeforeStartup, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 0.000000
   0.515112	Report[buf]: (2 bytes) => 16 01
   0.515125	Path: UPS.Battery.Initialized, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 1.000000
   0.515155	Report[buf]: (3 bytes) => 17 4e 3b
   0.515170	Path: UPS.Battery.ManufacturerDate, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 15182.000000
   0.515202	Report[buf]: (2 bytes) => 18 64
   0.515216	Path: UPS.Battery.RemainingCapacity, Type: Feature, ReportID: 0x18, Offset: 0, Size: 8, Value: 100.000000
   0.515658	Report[buf]: (2 bytes) => 15 01
   0.515677	Path: UPS.Battery.Test, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 1.000000
   0.515709	Report[buf]: (3 bytes) => 1a da 00
   0.515724	Path: UPS.Battery.Voltage, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 16, Value: 218.000000
   0.515755	Report[buf]: (3 bytes) => 06 05 00
   0.515767	Path: UPS.iName, Type: Feature, ReportID: 0x06, Offset: 0, Size: 16, Value: 5.000000
   0.515798	Report[buf]: (3 bytes) => 1c dc 00
   0.515811	Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 220.000000
   0.515842	Report[buf]: (2 bytes) => 1e 32
   0.515855	Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 50.000000
   0.515887	Report[buf]: (3 bytes) => 1d da 00
   0.515900	Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 218.000000
   0.515933	Report[buf]: (3 bytes) => 20 dc 00
   0.515947	Path: UPS.Output.ConfigVoltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 220.000000
   0.515981	Report[buf]: (3 bytes) => 23 00 00
   0.515993	Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x23, Offset: 0, Size: 16, Value: 0.000000
   0.516027	Report[buf]: (3 bytes) => 24 00 00
   0.516040	Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x24, Offset: 0, Size: 16, Value: 0.000000
   0.516072	Report[buf]: (2 bytes) => 22 32
   0.516085	Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 50.000000
   0.516120	Report[buf]: (2 bytes) => 1f 00
   0.516132	Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 0.000000
   0.516167	Report[buf]: (3 bytes) => 21 da 00
   0.516180	Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x21, Offset: 0, Size: 16, Value: 218.000000
   0.516227	Report[buf]: (19 bytes) => 28 17 10 00 64 6d 6d 32 ff 32 00 00 00 00 4b 28
   0.516239	 00 00 00
   0.516252	Path: UPS.POWERCOM1, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 23.000000
   0.518877	Can't retrieve Report 41: Broken pipe
   0.518893	Can't initialize data from HID UPS

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to