[Nut-upsdev] 2.0.3-pre2: Spurious UPS UPS@localhost battery is
Charlie Brady
charlieb-nut-upsdev at e-smith.com
Thu Feb 9 01:00:23 UTC 2006
On Wed, 8 Feb 2006, Peter Selinger wrote:
> Here is what I need:
>
> 1) the output of "./newhidups -u root -DD -a UPS auto 2>&1 | grep
> Path" again, but with the attached patch applied, and
>
> 2) the output of "get_descriptor 005 003 1 0 0 128 0x22 0" (or
> equivalent, substitute own bus and device number instead of 005/003),
> from the attached program.
Mine attached here.
-------------- next part --------------
Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 1
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 2
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 4
Path: UPS.PowerSummary.iOEMInformation, Type: Feature, Value: 3
Path: UPS.PowerSummary.Rechargeable, Type: Feature, Value: 1
Path: UPS.PowerSummary.Charging, Type: Input, Value: 0
Path: UPS.PowerSummary.Charging, Type: Feature, Value: 0
Path: UPS.PowerSummary.Discharging, Type: Input, Value: 0
Path: UPS.PowerSummary.Discharging, Type: Feature, Value: 0
Path: UPS.PowerSummary.APCStatusFlag, Type: Input, Value: 8
Path: UPS.PowerSummary.APCStatusFlag, Type: Feature, Value: 8
Path: UPS.PowerSummary.ManufacturerDate, Type: Feature, Value: 11606
Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, Value: 1200
Path: UPS.PowerSummary.Voltage, Type: Feature, Value: 1358
Path: UPS.PowerSummary.iManufacturer, Type: Feature, Value: 3
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 100
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 100
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 720
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, Value: 720
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, Value: 100
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100
Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, Value: 50
Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, Value: 1
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, Value: 10
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, Value: 1
Path: UPS.PowerSummary.ACPresent, Type: Input, Value: 1
Path: UPS.PowerSummary.ACPresent, Type: Feature, Value: 1
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Input, Value: 0
Path: UPS.PowerSummary.BelowRemainingCapacityLimit, Type: Feature, Value: 0
Path: UPS.PowerSummary.ShutdownImminent, Type: Input, Value: 0
Path: UPS.PowerSummary.ShutdownImminent, Type: Feature, Value: 0
Path: UPS.PowerSummary.APCPanelTest, Type: Feature, Value: 0
Path: UPS.PowerSummary.APCBattReplaceDate, Type: Feature, Value: 1057282
Path: UPS.APCGeneralCollection.APCForceShutdown, Type: Feature, Value: 0
[root at test7 ~]# get_usb_descriptor 002 004 1 0 0 128 0x22 0
Bus 002 device 004 configuration 1 interface 0 altsetting 0 endpoint 128 descriptor 0x22 index 0:
05 84 09 04 a1 01 09 24 a1 00 85 01 09 fe 79 01 75 08 95 01 15 00 26 ff
00 b1 02 85 02 09 ff 79 02 b1 02 85 03 05 85 09 89 79 04 b1 02 85 04 09
8f 79 03 b1 02 85 05 09 8b 65 00 55 00 b1 02 85 06 09 44 81 82 09 44 b1
82 09 45 81 82 09 45 b1 82 06 86 ff 09 60 81 82 09 60 b1 82 85 07 05 85
09 85 75 10 95 01 15 00 27 ff ff 00 00 b1 02 85 08 05 84 09 40 67 21 d1
f0 00 55 05 15 00 27 fe ff 00 00 b1 02 85 09 09 30 b1 02 85 0a 09 fd 79
03 75 08 95 01 15 00 26 ff 00 b1 02 85 0b 05 85 09 2c b1 02 85 0c 09 66
75 18 95 01 67 01 10 10 00 55 00 15 00 27 fe ff ff 00 81 82 09 66 b1 82
09 68 75 10 95 01 66 01 10 55 00 15 00 27 fe ff 00 00 81 82 09 68 b1 82
85 0d 09 83 75 18 95 01 67 01 10 10 00 55 00 15 00 27 fe ff ff 00 b1 02
85 0e 09 67 b1 02 85 0f 09 8c b1 02 85 10 09 8e b1 02 85 11 09 29 b1 82
85 12 09 8d b1 02 85 13 09 d0 75 08 95 01 65 00 55 00 15 00 25 01 81 82
09 d0 b1 82 85 14 09 42 81 82 09 42 b1 82 05 84 09 69 81 82 09 69 b1 82
06 86 ff 85 35 09 72 b1 82 85 1c 09 16 75 18 95 01 15 00 27 ff ff ff 00
b1 82 c0 05 84 09 12 a1 00 c0 06 86 ff 09 03 a1 00 c0 09 05 a1 00 85 40
09 7c 75 08 95 01 15 00 25 01 b1 82 c0 c0
.......$......y.u.....&........y.........y.......y.......e.U......D...D.
..E...E......`...`........u.....'........... at g!...U...'.........0......y
.u.....&.........,.....fu...g....U...'.......f...hu...f..U...'.......h..
....u...g....U...'.........g.................)............u...e.U...%...
.......B...B.....i...i......5.r......u.....'...........................@
.|u.....%.....
[root at test7 ~]#
More information about the Nut-upsdev
mailing list