Bonjour Arnaud,

Le 28.03.2006 22:24:56, Arnaud Quette a écrit :
salut Jean Luc,

...

what about newhidups?
the above msg implies a driver problem...
It is still there.
But when I restart nut, I've a second instance created.



> I can restart nut and everything is running fine... for a while:

can you be a bit more precise (some minutes, hours, ?)
It can be one hour, 4 hours.
Generally I've it 2 or 3 times a day.


> [EMAIL PROTECTED] % sudo /etc/init.d/nut restart
         ~
> Restarting Network UPS Tools: (upsdrvctl failed) upsd upsmon.
> I've an error message at start (see "variable not supported"):

as it seems the driver is started, I wonder if we're not facing the
same crash as in:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354305
I've not any message of this type in the syslog

I've found that in syslog just before the "disconnected - check driver" message: kernel: usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 128 rq 6 len 255 ret -110 kernel: usb 2-2: usbfs: USBDEVFS_CONTROL failed cmd newhidups rqt 128 rq 6 len 255 ret -110


Lastly, please to also send back a trace of "newhidups -DD -a mgeups"
I've done that, but I'm not sure if I've to do it while there is a problem, while the system is running normally of while nut is stopped.
The attached file has beed captured just when I discoverred the problem.



Arnaud

Jean-Luc
debug level is '2'
Checking device (046D/08F0) (001/004)
- VendorID: 046d
- ProductID: 08f0
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0402/5635) (005/005)
- VendorID: 0402
- ProductID: 5635
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 005
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (005/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 005
Trying to match device
Device does not match - skipping
Checking device (0463/FFFF) (002/003)
- VendorID: 0463
- ProductID: ffff
- Manufacturer: MGE
- Product: ELLIPSE
- Serial Number: unknown
- Bus: 002
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 532)
Report descriptor retrieved (Reportlen = 532)
Found HID device
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

Report Descriptor size = 532
Detected a UPS: MGE/ELLIPSE
Using subdriver: MGE HID 0.8
Path: UPS.PowerConverter.PowerConverterID, Type: Feature, Value: 1.000000
Path: UPS.PowerConverter.Output.0084001d, Type: Feature, Value: 1.000000
Path: UPS.PowerConverter.Output.Voltage, Type: Feature, Value: 230.000000
Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, Value: 
184.000000
Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, Value: 
264.000000
Path: UPS.Flow.00ff0004.FlowID, Type: Feature, Value: 4.000000
Path: UPS.Flow.00ff0004.ConfigVoltage, Type: Feature, Value: 230.000000
Path: UPS.Flow.00ff0004.ConfigFrequency, Type: Feature, Value: 50.000000
Path: UPS.Flow.00ff0004.ConfigApparentPower, Type: Feature, Value: 800.000000
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.FlowID, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, Value: 2.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, Value: 30.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, Value: 32.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, Value: 4.000000
Path: UPS.PowerSummary.iProduct, Type: Feature, Value: 12.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PercentLoad, Type: Feature, Value: 22.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, Value: 100.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, Value: 100.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, Value: 1715.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, Value: 1715.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, Value: 
0.000000
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, Value: 0.000000
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, Value: -1.000000
Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, Value: -10.000000
Path: UPS.OutletSystem.OutletSystemID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0001.OutletID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0001.FlowID, Type: Feature, Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0001.PresentStatus.Switchable, Type: Feature, 
Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.OutletID, Type: Feature, Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.FlowID, Type: Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.Switchable, Type: Feature, 
Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.SwitchOn/Off, Type: Input, 
Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.SwitchOn/Off, Type: 
Feature, Value: 1.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.Undefined, Type: Input, 
Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.PresentStatus.Undefined, Type: Feature, 
Value: 0.000000
Path: UPS.OutletSystem.Outlet.00ff0002.RemainingCapacityLimit, Type: Feature, 
Value: 0.000000
entering identify_ups(0x0463, 0xffff)

Can't find object UPS.PowerSummary.iModel
get_model_name(ELLIPSE, 800)

comparing with: ellipse 300
comparing with: ellipse 500
comparing with: ellipse 650
comparing with: ellipse 800
Found ellipse 800

Can't find object UPS.PowerSummary.RemainingCapacityLimitSetting
Can't find object UPS.BatterySystem.Battery.Temperature
Can't find object UPS.PowerSummary.Voltage
Can't find object UPS.BatterySystem.ConfigVoltage
Can't find object UPS.PowerSummary.DelayBeforeReboot
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.TestPeriod
Can't find object UPS.PowerSummary.Temperature
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
process_status_info: !overload
process_status_info: !replacebatt
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Buck
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Boost
process_status_info: !off
Can't find object UPS.PowerConverter.Input.[1].Voltage
Can't find object UPS.PowerConverter.Input.[1].Frequency
Can't find object UPS.PowerConverter.Output.LowVoltageBoostTransfer
Can't find object UPS.PowerConverter.Output.HighVoltageBoostTransfer
Can't find object UPS.PowerConverter.Output.LowVoltageBuckTransfer
Can't find object UPS.PowerConverter.Output.HighVoltageBuckTransfer
Can't find object UPS.PowerConverter.Output.Current
Can't find object UPS.PowerConverter.Output.Frequency
Can't find object UPS.PowerSummary.ConfigVoltage
Can't find object UPS.PowerSummary.ConfigVoltage
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeShutdown
Can't find object UPS.OutletSystem.Outlet.[2].DelayBeforeStartup
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
Can't find object UPS.OutletSystem.Outlet.[3].OutletID
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.Switchable
Can't find object UPS.OutletSystem.Outlet.[3].PresentStatus.SwitchOn/Off
Can't find object UPS.OutletSystem.Outlet.[3].RemainingCapacityLimit
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeShutdown
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeStartup
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
upsdrv_updateinfo...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
process_status_info: !overload
process_status_info: !replacebatt
process_status_info: !off
dstate_init: sock /var/run/nut/newhidups-auto open on fd 5
upsdrv_updateinfo...
Waiting for notifications...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
process_status_info: !shutdownimm
process_status_info: !lowbatt
Signal 2: exiting
Closing device

Attachment: pgpQlzgZSgpag.pgp
Description: PGP signature

Reply via email to