HÃ¥vard Rabbe
2012-Jul-18 22:35 UTC
[Nut-upsuser] Problem connecting to eaton ups. No matching HID UPS found. Driver failed to start(exit status=1)
Hi! Info OS: TinyCore Linux 4.5.6 NUT version: 2.6.4 NUT innstallation method: source tarball Device name: Eaton Ellipse ups eco 1600 usb din (EL1600USBDIN) /usr/local/ups/etc/ups.conf file: [eaton] driver = usbhid-ups port = auto When I run: root at Dalen:/usr/local/ups/bin/upsdrvctl start eaton I get this error message: Network UPS Tools - UPS driver controller 2.6.4 Network UPS Tools - Generic HID driver 0.37 (2.6.4) USB communication driver 0.31 No matching HID UPS found Driver failed to start (exit status=1) I then run usbhid-ups root at Dalen:/usr/local/ups/etc# /usr/local/ups/bin/usbhid-ups -u root -DD -a eaton Network UPS Tools - Generic HID driver 0.37 (2.6.4) USB communication driver 0.31 0.000000 debug level is '2' 0.001244 upsdrv_initups... 0.076965 Checking device (1D6B/0002) (001/001) 0.077890 - VendorID: 1d6b 0.078385 - ProductID: 0002 0.078756 - Manufacturer: Linux 3.0.3-tinycore ehci_hcd 0.079166 - Product: EHCI Host Controller 0.079544 - Serial Number: 0000:00:10.4 0.079946 - Bus: 001 0.080346 Trying to match device 0.080791 Device does not match - skipping 0.081272 Checking device (18A5/0302) (001/002) 0.082755 - VendorID: 18a5 0.083199 - ProductID: 0302 0.083640 - Manufacturer: Verbatim 0.084033 - Product: STORE N GO 0.084415 - Serial Number: 0000000000000580 0.084785 - Bus: 001 0.085185 Trying to match device 0.085505 Device does not match - skipping 0.085689 Checking device (1D6B/0001) (002/001) 0.086084 - VendorID: 1d6b 0.086437 - ProductID: 0001 0.086486 - Manufacturer: Linux 3.0.3-tinycore uhci_hcd 0.086629 - Product: UHCI Host Controller 0.086772 - Serial Number: 0000:00:10.0 0.086824 - Bus: 002 0.086998 Trying to match device 0.087055 Device does not match - skipping 0.087165 Checking device (1D6B/0001) (003/001) 0.087542 - VendorID: 1d6b 0.087908 - ProductID: 0001 0.088049 - Manufacturer: Linux 3.0.3-tinycore uhci_hcd 0.088192 - Product: UHCI Host Controller 0.088238 - Serial Number: 0000:00:10.1 0.088386 - Bus: 003 0.088431 Trying to match device 0.088585 Device does not match - skipping 0.088692 Checking device (0463/FFFF) (003/005) 0.543897 - VendorID: 0463 0.544300 - ProductID: ffff 0.544419 - Manufacturer: EATON 0.544627 - Product: Ellipse ECO 0.544675 - Serial Number: 000000000 0.544719 - Bus: 003 0.544783 Trying to match device 0.544927 Device matches 0.617937 HID descriptor length 909 3.849957 Report Descriptor size = 909 3.851661 Using subdriver: MGE HID 1.31 3.896977 Path: UPS.BatterySystem.Battery.AudibleAlarmControl, Type: Feature, ReportID: 0x20, Offset: 0, Size: 8, Value: 2 3.951969 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooHigh, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 0 3.952513 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooHigh, Type: Input, ReportID: 0x03, Offset: 0, Size: 8, Value: 0 3.952939 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooLow, Type: Feature, ReportID: 0x03, Offset: 8, Size: 8, Value: 0 3.953381 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooLow, Type: Input, ReportID: 0x03, Offset: 8, Size: 8, Value: 0 4.002973 Path: UPS.Flow.[4].ConfigApparentPower, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 1600 4.003390 Path: UPS.Flow.[4].ConfigFrequency, Type: Feature, ReportID: 0x0d, Offset: 16, Size: 8, Value: 50 4.048948 Path: UPS.Flow.[4].ConfigVoltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 8, Value: 230 4.128988 Path: UPS.Flow.[4].FlowID, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 4 4.204962 Path: UPS.HistorySystem.Event.[1].Code, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 0 4.258950 Path: UPS.HistorySystem.Event.[1].EventID, Type: Feature, ReportID: 0x17, Offset: 0, Size: 8, Value: 1 4.259415 Path: UPS.HistorySystem.Event.[2].Code, Type: Feature, ReportID: 0x18, Offset: 16, Size: 16, Value: 0 4.259601 Path: UPS.HistorySystem.Event.[2].EventID, Type: Feature, ReportID: 0x17, Offset: 8, Size: 8, Value: 2 4.259799 Path: UPS.HistorySystem.Event.[3].Code, Type: Feature, ReportID: 0x18, Offset: 32, Size: 16, Value: 0 4.259987 Path: UPS.HistorySystem.Event.[3].EventID, Type: Feature, ReportID: 0x17, Offset: 16, Size: 8, Value: 3 4.260183 Path: UPS.HistorySystem.Event.[4].Code, Type: Feature, ReportID: 0x18, Offset: 48, Size: 16, Value: 0 4.260352 Path: UPS.HistorySystem.Event.[4].EventID, Type: Feature, ReportID: 0x17, Offset: 24, Size: 8, Value: 4 4.260566 Path: UPS.HistorySystem.Event.[5].Code, Type: Feature, ReportID: 0x18, Offset: 64, Size: 16, Value: 0 4.260840 Path: UPS.HistorySystem.Event.[5].EventID, Type: Feature, ReportID: 0x17, Offset: 32, Size: 8, Value: 5 4.305961 Path: UPS.OutletSystem.Outlet.[1].ConfigApparentPower, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 25 4.306185 Path: UPS.OutletSystem.Outlet.[1].FlowID, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 8, Value: 4 4.306283 Path: UPS.OutletSystem.Outlet.[1].OutletID, Type: Feature, ReportID: 0x0b, Offset: 16, Size: 8, Value: 1 4.360964 Path: UPS.OutletSystem.Outlet.[1].PresentStatus.Switchable, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 0 4.408949 Path: UPS.OutletSystem.Outlet.[2].ECOControl, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 8, Value: 1 4.409151 Path: UPS.OutletSystem.Outlet.[2].FlowID, Type: Feature, ReportID: 0x0b, Offset: 24, Size: 8, Value: 1 4.409359 Path: UPS.OutletSystem.Outlet.[2].OutletID, Type: Feature, ReportID: 0x0b, Offset: 32, Size: 8, Value: 2 4.460957 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.Present, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 1 4.461151 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.Present, Type: Input, ReportID: 0x02, Offset: 0, Size: 8, Value: 1 4.505955 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.Switchable, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8, Value: 0 4.506060 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off, Type: Feature, ReportID: 0x02, Offset: 8, Size: 8, Value: 1 4.506266 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off, Type: Input, ReportID: 0x02, Offset: 8, Size: 8, Value: 1 4.506464 Path: UPS.OutletSystem.Outlet.[3].ECOControl, Type: Feature, ReportID: 0x0f, Offset: 8, Size: 8, Value: 0 4.506666 Path: UPS.OutletSystem.Outlet.[3].FlowID, Type: Feature, ReportID: 0x0b, Offset: 40, Size: 8, Value: 1 4.506868 Path: UPS.OutletSystem.Outlet.[3].OutletID, Type: Feature, ReportID: 0x0b, Offset: 48, Size: 8, Value: 3 4.507103 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.Present, Type: Feature, ReportID: 0x02, Offset: 16, Size: 8, Value: 1 4.507281 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.Present, Type: Input, ReportID: 0x02, Offset: 16, Size: 8, Value: 1 4.551959 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.Switchable, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 0 4.552166 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off, Type: Feature, ReportID: 0x02, Offset: 24, Size: 8, Value: 1 4.552376 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off, Type: Input, ReportID: 0x02, Offset: 24, Size: 8, Value: 1 4.552664 Path: UPS.OutletSystem.OutletSystemID, Type: Feature, ReportID: 0x0b, Offset: 56, Size: 8, Value: 1 4.552847 Path: UPS.PowerConverter.Inverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x03, Offset: 16, Size: 8, Value: 0 4.553038 Path: UPS.PowerConverter.Inverter.PresentStatus.InternalFailure, Type: Input, ReportID: 0x03, Offset: 16, Size: 8, Value: 0 4.599949 Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 0x13, Offset: 0, Size: 16, Value: 264 4.644947 Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 184 4.645147 Path: UPS.PowerConverter.Output.OutputID, Type: Feature, ReportID: 0x0b, Offset: 64, Size: 8, Value: 1 4.645315 Path: UPS.PowerConverter.Output.PresentStatus.ShortCircuit, Type: Feature, ReportID: 0x03, Offset: 24, Size: 8, Value: 0 4.645525 Path: UPS.PowerConverter.Output.PresentStatus.ShortCircuit, Type: Input, ReportID: 0x03, Offset: 24, Size: 8, Value: 0 4.689946 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 230 4.690142 Path: UPS.PowerConverter.PowerConverterID, Type: Feature, ReportID: 0x0b, Offset: 72, Size: 8, Value: 1 4.690380 Path: UPS.PowerConverter.Rectifier.PresentStatus.DCBusUnbalanced, Type: Feature, ReportID: 0x03, Offset: 32, Size: 8, Value: 0 4.690555 Path: UPS.PowerConverter.Rectifier.PresentStatus.DCBusUnbalanced, Type: Input, ReportID: 0x03, Offset: 32, Size: 8, Value: 0 4.734944 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 4.735037 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x0c, Offset: 8, Size: 8, Value: 1 4.735220 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0c, Offset: 16, Size: 8, Value: 2 4.779957 Path: UPS.PowerSummary.Country, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 0 4.831960 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 4.883949 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 4.884049 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0c, Offset: 24, Size: 8, Value: 100 4.884246 Path: UPS.PowerSummary.FlowID, Type: Feature, ReportID: 0x0b, Offset: 80, Size: 8, Value: 4 4.884438 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0c, Offset: 32, Size: 8, Value: 100 4.939947 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 5 4.940147 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x10, Offset: 8, Size: 8, Value: 1 4.940240 Path: UPS.PowerSummary.iModel, Type: Feature, ReportID: 0x10, Offset: 16, Size: 8, Value: 3 4.940440 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x10, Offset: 24, Size: 8, Value: 2 4.940627 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x10, Offset: 32, Size: 8, Value: 4 4.940728 Path: UPS.PowerSummary.iVersion, Type: Feature, ReportID: 0x10, Offset: 40, Size: 8, Value: 6 4.985946 Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 0 4.986141 Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, ReportID: 0x0b, Offset: 88, Size: 8, Value: 1 5.035951 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 5.036159 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 5.036236 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 5.036438 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 5.036537 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 2, Size: 1, Value: 1 5.036814 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x01, Offset: 2, Size: 1, Value: 1 5.037026 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, ReportID: 0x01, Offset: 3, Size: 1, Value: 0 5.037290 Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 0x01, Offset: 3, Size: 1, Value: 0 5.037479 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 4, Size: 1, Value: 0 5.037663 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x01, Offset: 4, Size: 1, Value: 0 5.037856 Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, ReportID: 0x01, Offset: 5, Size: 1, Value: 1 5.038055 Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, ReportID: 0x01, Offset: 5, Size: 1, Value: 1 5.038322 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x01, Offset: 6, Size: 1, Value: 0 5.038424 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x01, Offset: 6, Size: 1, Value: 0 5.038610 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x01, Offset: 7, Size: 1, Value: 0 5.038880 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x01, Offset: 7, Size: 1, Value: 0 5.039149 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 5.039251 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 5.039435 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x01, Offset: 16, Size: 8, Value: 0 5.039698 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x01, Offset: 16, Size: 8, Value: 0 5.094983 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 5.095243 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 5.139953 Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 20 5.184944 Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 20 5.185043 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 8, Size: 32, Value: 3000 5.185236 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 32, Value: 3000 5.307900 get_model_name(Ellipse ECO, 1600) 5.308205 comparing with: ellipse 300 5.308328 comparing with: ellipse 500 5.308524 comparing with: ellipse 650 5.308573 comparing with: ellipse 800 5.308617 comparing with: ellipse 1200 5.308766 comparing with: ellipse premium 500 5.308814 comparing with: ellipse premium 650 5.308955 comparing with: ellipse premium 800 5.309009 comparing with: ellipse premium 1200 5.309053 comparing with: Ellipse 600 5.309120 comparing with: Ellipse 750 5.309252 comparing with: Ellipse 1000 5.309398 comparing with: Ellipse 1500 5.309458 comparing with: (null) 5.309607 comparing with: (null) 5.309674 comparing with: (null) 5.309801 comparing with: (null) 5.309881 comparing with: Protection Center 420 5.310011 comparing with: Protection Center 500 5.310082 comparing with: Protection Center 675 5.310209 comparing with: (null) 5.310381 comparing with: (null) 5.310428 comparing with: (null) 5.310472 comparing with: (null) 5.310618 comparing with: (null) 5.310665 comparing with: (null) 5.310811 comparing with: (null) 5.311075 Report descriptor retrieved (Reportlen = 909) 5.311313 Found HID device 5.311385 Detected a UPS: EATON/Ellipse ECO 1600 5.311658 Path: UPS.PowerSummary.Country, Type: Feature, ReportID: 0x15, Offset: 0, Size: 8, Value: 0 5.312113 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 5.312427 Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature, ReportID: 0x22, Offset: 0, Size: 8, Value: 20 5.312922 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 8, Size: 32, Value: 3000 5.313737 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 5 5.437383 Path: UPS.PowerSummary.iVersion, Type: Feature, ReportID: 0x10, Offset: 40, Size: 8, Value: 6 5.542993 Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 0 5.543804 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 5.544318 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 5.544963 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.593939 Path: UPS.Flow.[4].ConfigApparentPower, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 16, Value: 1600 5.595256 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 5.595973 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 4, Size: 1, Value: 0 5.596473 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 2, Size: 1, Value: 1 5.597000 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 5.597727 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 5.598216 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x01, Offset: 7, Size: 1, Value: 0 5.599165 Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, ReportID: 0x01, Offset: 5, Size: 1, Value: 1 5.654954 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooHigh, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 0 5.655759 Path: UPS.BatterySystem.Charger.PresentStatus.VoltageTooLow, Type: Feature, ReportID: 0x03, Offset: 8, Size: 8, Value: 0 5.656349 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x01, Offset: 6, Size: 1, Value: 0 5.656931 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x01, Offset: 16, Size: 8, Value: 0 5.657735 Path: UPS.PowerConverter.Output.PresentStatus.ShortCircuit, Type: Feature, ReportID: 0x03, Offset: 24, Size: 8, Value: 0 5.659675 Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 184 5.660353 Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 0x13, Offset: 0, Size: 16, Value: 264 5.662563 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 8, Value: 230 5.707937 Path: UPS.Flow.[4].ConfigVoltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 8, Value: 230 5.709051 Path: UPS.Flow.[4].ConfigFrequency, Type: Feature, ReportID: 0x0d, Offset: 16, Size: 8, Value: 50 5.789942 Path: UPS.OutletSystem.Outlet.[1].OutletID, Type: Feature, ReportID: 0x0b, Offset: 16, Size: 8, Value: 1 5.790683 Path: UPS.OutletSystem.Outlet.[1].PresentStatus.Switchable, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 0 5.791213 Path: UPS.OutletSystem.Outlet.[1].ConfigApparentPower, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 25 5.792133 Path: UPS.OutletSystem.Outlet.[2].OutletID, Type: Feature, ReportID: 0x0b, Offset: 32, Size: 8, Value: 2 5.792768 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.Switchable, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8, Value: 0 5.793306 Path: UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off, Type: Feature, ReportID: 0x02, Offset: 8, Size: 8, Value: 1 5.794512 Path: UPS.OutletSystem.Outlet.[3].OutletID, Type: Feature, ReportID: 0x0b, Offset: 48, Size: 8, Value: 3 5.795141 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.Switchable, Type: Feature, ReportID: 0x16, Offset: 0, Size: 8, Value: 0 5.795784 Path: UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off, Type: Feature, ReportID: 0x02, Offset: 24, Size: 8, Value: 1 5.797041 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 5.797502 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 5.797994 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 5.798510 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.798975 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.799437 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.799898 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.800383 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, Offset: 0, Size: 8, Value: 2 5.801242 upsdrv_initinfo... 5.801644 upsdrv_updateinfo... 6.053933 libusb_get_interrupt: Connection timed out 6.054374 Got 0 HID objects... 6.054808 Quick update... 6.055247 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 6.055677 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 6.056102 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 6.056520 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 4, Size: 1, Value: 0 6.056968 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 2, Size: 1, Value: 1 6.057387 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 6.057993 dstate_init: sock /var/state/ups/usbhid-ups-eaton open on fd 7 6.058461 upsdrv_updateinfo... 6.310943 libusb_get_interrupt: Connection timed out 6.311443 Got 0 HID objects... 6.311827 Quick update... 6.363944 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 6.415936 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 6.465929 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 6.466287 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 4, Size: 1, Value: 0 6.466457 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 2, Size: 1, Value: 1 6.466626 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 8.060118 upsdrv_updateinfo... 8.311936 libusb_get_interrupt: Connection timed out 8.312133 Got 0 HID objects... It seems like the ups is detected, but not receiving any hid objects. I have no idea of how to debug this problem Does anyone have any ideas about whats wrong? path to driver: /usr/local/ups/bin/usbhid-ups -DD -a eaton Regards, H?vard Rabbe
Arnaud Quette
2012-Jul-19 09:03 UTC
[Nut-upsuser] Problem connecting to eaton ups. No matching HID UPS found. Driver failed to start(exit status=1)
2012/7/19 H?vard Rabbe <hrabbe at me.com>> Hi! >Hi H?vard, Info> OS: TinyCore Linux 4.5.6 > NUT version: 2.6.4 > NUT innstallation method: source tarball > Device name: Eaton Ellipse ups eco 1600 usb din (EL1600USBDIN) > > /usr/local/ups/etc/ups.conf file: > > [eaton] > driver = usbhid-ups > port = auto > > > When I run: > > root at Dalen:/usr/local/ups/bin/upsdrvctl start eaton > I get this error message: > > Network UPS Tools - UPS driver controller 2.6.4 > Network UPS Tools - Generic HID driver 0.37 (2.6.4) > USB communication driver 0.31 > No matching HID UPS found > Driver failed to start (exit status=1) > > > I then run usbhid-ups > > root at Dalen:/usr/local/ups/etc# /usr/local/ups/bin/usbhid-ups -u root -DD > -a eaton > Network UPS Tools - Generic HID driver 0.37 (2.6.4) > USB communication driver 0.31 > 0.000000 debug level is '2' > 0.001244 upsdrv_initups... > 0.076965 Checking device (1D6B/0002) (001/001) > 0.077890 - VendorID: 1d6b > 0.078385 - ProductID: 0002 > 0.078756 - Manufacturer: Linux 3.0.3-tinycore ehci_hcd > 0.079166 - Product: EHCI Host Controller > 0.079544 - Serial Number: 0000:00:10.4 > 0.079946 - Bus: 001 > 0.080346 Trying to match device > 0.080791 Device does not match - skipping > 0.081272 Checking device (18A5/0302) (001/002) > 0.082755 - VendorID: 18a5 > 0.083199 - ProductID: 0302 > 0.083640 - Manufacturer: Verbatim > 0.084033 - Product: STORE N GO > 0.084415 - Serial Number: 0000000000000580 > 0.084785 - Bus: 001 > 0.085185 Trying to match device > 0.085505 Device does not match - skipping > 0.085689 Checking device (1D6B/0001) (002/001) > 0.086084 - VendorID: 1d6b > 0.086437 - ProductID: 0001 > 0.086486 - Manufacturer: Linux 3.0.3-tinycore uhci_hcd > 0.086629 - Product: UHCI Host Controller > 0.086772 - Serial Number: 0000:00:10.0 > 0.086824 - Bus: 002 > 0.086998 Trying to match device > 0.087055 Device does not match - skipping > 0.087165 Checking device (1D6B/0001) (003/001) > 0.087542 - VendorID: 1d6b > 0.087908 - ProductID: 0001 > 0.088049 - Manufacturer: Linux 3.0.3-tinycore uhci_hcd > 0.088192 - Product: UHCI Host Controller > 0.088238 - Serial Number: 0000:00:10.1 > 0.088386 - Bus: 003 > 0.088431 Trying to match device > 0.088585 Device does not match - skipping > 0.088692 Checking device (0463/FFFF) (003/005) > 0.543897 - VendorID: 0463 > 0.544300 - ProductID: ffff > 0.544419 - Manufacturer: EATON > 0.544627 - Product: Ellipse ECO > 0.544675 - Serial Number: 000000000 > 0.544719 - Bus: 003 > 0.544783 Trying to match device > 0.544927 Device matches > 0.617937 HID descriptor length 909 > 3.849957 Report Descriptor size = 909 > 3.851661 Using subdriver: MGE HID 1.31 > 3.896977 Path: UPS.BatterySystem.Battery.AudibleAlarmControl, Type: > Feature, ReportID: 0x20, Offset: 0, Size: 8, Value: 2 > (...) >your first issue, above, is a privilege one. that is, the nut configured user has not enough rights to access the device in RW mode. this is addressed on Linux through udev, and the helper files found in scripts/udev, in the source tree. just copy scripts/udev/52-nut-usbups.rules to /lib/udev/rules.d, and call $ udevadm trigger --subsystem-match=usb --action=change then unplug/replug your UPS USB cord, and everything should be fixed. 8.060118 upsdrv_updateinfo...> 8.311936 libusb_get_interrupt: Connection timed out > 8.312133 Got 0 HID objects... > > > It seems like the ups is detected, but not receiving any hid objects. >nothing wrong there, it's just that the device has no change to report by itself, between the polling requests from the driver... cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120719/6201fac6/attachment.html>