[Nut-upsuser] mge pc 675 does not work with usb-hidups

christophe christophe.dr at free.fr
Sun Dec 30 22:52:55 UTC 2007


Le samedi 29 décembre 2007 11:44, Arjen de Korte a écrit :
> > [...]
> post the results here,
> so that I can have a look what is going on.
>
> 	/usr/lib/ups/driver/usbhid-ups -u root -DD -a MGEpc675
>
> We're interested in the first 30 seconds of output from this command,
> after that you should Ctrl-C it to stop the driver.


Here you are :



[--root at xxxxxx 22:36:20 /home/christophe] /usr/lib/ups/driver/usbhid-ups -u 
root -DD -a MGEpc675
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.2.0-)

debug level is '2'
Checking device (0000/0000) (005/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.22.13-0.3-default ehci_hcd
- Product: EHCI Host Controller
- Serial Number: 0000:00:1d.7
- Bus: 005
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (004/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.22.13-0.3-default uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1d.3
- Bus: 004
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (003/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.22.13-0.3-default uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1d.2
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (0463/FFFF) (002/002)
- VendorID: 0463
- ProductID: ffff
- Manufacturer: MGE UPS SYSTEMS
- Product: PROTECTIONCENTER
- Serial Number: 1HJH260BA
- Bus: 002
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 769)
Report descriptor retrieved (Reportlen = 769)
Found HID device
Report Descriptor size = 769
Detected a UPS: MGE UPS SYSTEMS/PROTECTIONCENTER
Using subdriver: MGE HID 1.0
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, 
Offset: 0, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, 
Offset: 1, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 
0x01, Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: 
Feature, ReportID: 0x01, Offset: 3, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, ReportID: 0x01, 
Offset: 4, Size: 1, Value: 1.000000
Can't find object UPS.PowerSummary.PresentStatus.Undefined
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, ReportID: 0x01, 
Offset: 5, Size: 3
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x01, 
Offset: 0, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x01, 
Offset: 1, Size: 1, Value: 1.000000
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x01, 
Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, 
ReportID: 0x01, Offset: 3, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, ReportID: 0x01, 
Offset: 4, Size: 1, Value: 1.000000
Can't find object UPS.PowerSummary.PresentStatus.Undefined
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, ReportID: 0x01, 
Offset: 5, Size: 3
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, 
ReportID: 0x02, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x02, 
Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 
0x02, Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 
0x02, Offset: 3, Size: 1, Value: 0.000000
Can't find object UPS.PowerSummary.PresentStatus.Undefined
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature, ReportID: 0x02, 
Offset: 4, Size: 4
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 
0x02, Offset: 0, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x02, 
Offset: 1, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 
0x02, Offset: 2, Size: 1, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 
0x02, Offset: 3, Size: 1, Value: 0.000000
Can't find object UPS.PowerSummary.PresentStatus.Undefined
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input, ReportID: 0x02, 
Offset: 4, Size: 4
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature, 
ReportID: 0x0f, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input, ReportID: 
0x0f, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, 
Offset: 0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 
8, Size: 32, Value: 881.000000
Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 
0, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, 
Size: 32, Value: 881.000000
Path: UPS.PowerSummary.RemainingCapacityLimitSetting, Type: Feature, ReportID: 
0x22, Offset: 0, Size: 8, Value: 30.000000
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x22, Offset: 0, 
Size: 32, Value: 881.000000
Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x07, Offset: 0, 
Size: 8, Value: 42.000000
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x08, 
Offset: 0, Size: 8, Value: 30.000000
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, 
Offset: 0, Size: 32, Value: -1.000000
Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, 
Offset: 0, Size: 32, Value: -10.000000
Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0c, Offset: 0, 
Size: 8, Value: 2.000000
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x0c, 
Offset: 8, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0c, Offset: 
16, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0c, 
Offset: 24, Size: 8, Value: 100.000000
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x10, 
Offset: 0, Size: 8, Value: 5.000000
Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x10, Offset: 
8, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x10, Offset: 16, 
Size: 8, Value: 2.000000
Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x10, Offset: 
24, Size: 8, Value: 4.000000
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature, ReportID: 0x0b, Offset: 
0, Size: 8, Value: 1.000000
Path: UPS.PowerSummary.FlowID, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 
8, Value: 4.000000
Path: UPS.PowerSummary.iModel, Type: Feature, ReportID: 0x10, Offset: 32, 
Size: 8, Value: 3.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x1f, 
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.PowerSummary.AudibleAlarmControl, Type: Input, ReportID: 0x1f, 
Offset: 0, Size: 8, Value: 2.000000
Path: UPS.OutletSystem.OutletSystemID, Type: Feature, ReportID: 0x0b, Offset: 
16, Size: 8, Value: 1.000000
Path: UPS.OutletSystem.Outlet.[1].OutletID, Type: Feature, ReportID: 0x0b, 
Offset: 24, Size: 8, Value: 1.000000
Path: UPS.OutletSystem.Outlet.[1].FlowID, Type: Feature, ReportID: 0x0b, 
Offset: 32, Size: 8, Value: 4.000000
Path: UPS.OutletSystem.Outlet.[1].PresentStatus.Switchable, Type: Feature, 
ReportID: 0x0c, Offset: 32, Size: 8, Value: 0.000000
Path: UPS.OutletSystem.Outlet.[2].OutletID, Type: Feature, ReportID: 0x0b, 
Offset: 40, Size: 8, Value: 2.000000
Path: UPS.OutletSystem.Outlet.[2].FlowID, Type: Feature, ReportID: 0x0d, 
Offset: 0, Size: 8, Value: 1.000000
Path: UPS.OutletSystem.Outlet.[2].PresentStatus.Switchable, Type: Feature, 
ReportID: 0x0d, Offset: 8, Size: 8, Value: 0.000000
Path: UPS.Flow.[4].FlowID, Type: Feature, ReportID: 0x0b, Offset: 48, Size: 8, 
Value: 4.000000
Path: UPS.Flow.[4].ConfigFrequency, Type: Feature, ReportID: 0x0d, Offset: 16, 
Size: 8, Value: 50.000000
Path: UPS.Flow.[4].ConfigApparentPower, Type: Feature, ReportID: 0x0d, Offset: 
24, Size: 16, Value: 670.000000
Path: UPS.Flow.[4].ConfigVoltage, Type: Feature, ReportID: 0x12, Offset: 0, 
Size: 8, Value: 230.000000
Path: UPS.PowerConverter.PowerConverterID, Type: Feature, ReportID: 0x0b, 
Offset: 56, Size: 8, Value: 1.000000
Path: UPS.PowerConverter.Output.OutputID, Type: Feature, ReportID: 0x0b, 
Offset: 64, Size: 8, Value: 1.000000
Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x0e, 
Offset: 0, Size: 8, Value: 230.000000
Path: UPS.PowerConverter.Output.LowVoltageTransfer, Type: Feature, ReportID: 
0x13, Offset: 0, Size: 8, Value: 184.000000
Path: UPS.PowerConverter.Output.HighVoltageTransfer, Type: Feature, ReportID: 
0x13, Offset: 8, Size: 16, Value: 264.000000
Path: UPS.LCMSystem.LCMSystemID, Type: Feature, ReportID: 0x15, Offset: 0, 
Size: 8, Value: 1.000000
Path: UPS.LCMSystem.LCMAlarm.[1].Count, Type: Feature, ReportID: 0x16, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[1].LCMAlarmID, Type: Feature, ReportID: 0x15, 
Offset: 8, Size: 8, Value: 1.000000
Path: UPS.LCMSystem.LCMAlarm.[1].Mode, Type: Feature, ReportID: 0x18, Offset: 
0, Size: 8, Value: 1.000000
Path: UPS.LCMSystem.LCMAlarm.[1].Interval, Type: Feature, ReportID: 0x17, 
Offset: 0, Size: 24, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[1].Timer, Type: Feature, ReportID: 0x1a, Offset: 
0, Size: 24, Value: 52580000.000000
Path: UPS.LCMSystem.LCMAlarm.[1].PresentStatus.TimerExpired, Type: Feature, 
ReportID: 0x19, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[1].PresentStatus.TimerExpired, Type: Input, 
ReportID: 0x19, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[2].Count, Type: Feature, ReportID: 0x1b, Offset: 
0, Size: 8, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[2].LCMAlarmID, Type: Feature, ReportID: 0x15, 
Offset: 16, Size: 8, Value: 2.000000
Path: UPS.LCMSystem.LCMAlarm.[2].Mode, Type: Feature, ReportID: 0x1d, Offset: 
0, Size: 8, Value: 1.000000
Path: UPS.LCMSystem.LCMAlarm.[2].Interval, Type: Feature, ReportID: 0x1c, 
Offset: 0, Size: 24, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[2].Timer, Type: Feature, ReportID: 0x1e, Offset: 
0, Size: 24, Value: 115640000.000000
Path: UPS.LCMSystem.LCMAlarm.[2].PresentStatus.TimerExpired, Type: Feature, 
ReportID: 0x21, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.LCMSystem.LCMAlarm.[2].PresentStatus.TimerExpired, Type: Input, 
ReportID: 0x21, Offset: 0, Size: 8, Value: 0.000000
Path: UPS.BatterySystem.Battery.AudibleAlarmControl, Type: Feature, ReportID: 
0x20, Offset: 0, Size: 8, Value: 1.000000
get_model_name(PROTECTIONCENTER, 675)

comparing with: ellipse 300
comparing with: ellipse 500
comparing with: ellipse 650
comparing with: ellipse 800
comparing with: ellipse 1200
comparing with: ellipse premium 500
comparing with: ellipse premium 650
comparing with: ellipse premium 800
comparing with: ellipse premium 1200
comparing with: Ellipse 600
comparing with: Ellipse 750
comparing with: Ellipse 1000
comparing with: Ellipse 1500
comparing with: Ellipse MAX 600
comparing with: Ellipse MAX 850
comparing with: Ellipse MAX 1100
comparing with: Ellipse MAX 1500
comparing with: Protection Center 420
comparing with: Protection Center 500
comparing with: Protection Center 675
Found Protection Center 675

Can't find object UPS.PowerSummary.RestartLevel
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
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Buck
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Boost
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.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off
Can't find object UPS.OutletSystem.Outlet.[2].RemainingCapacityLimit
Can't find object UPS.OutletSystem.Outlet.[2].ShutdownTimer
Can't find object UPS.OutletSystem.Outlet.[2].StartupTimer
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].ShutdownTimer
Can't find object UPS.OutletSystem.Outlet.[3].StartupTimer
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.Test
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].DelayBeforeShutdown
Can't find object UPS.OutletSystem.Outlet.[3].DelayBeforeStartup
upsdrv_updateinfo...
dstate_init: sock /var/lib/ups/usbhid-ups-MGEpc675 open on fd 5
upsdrv_updateinfo...
Waiting for notifications...

=>Got 2 HID Objects...
battery.charge = 100
battery.runtime = 881
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
upsdrv_updateinfo...
Waiting for notifications...
Signal 2: exiting
Closing device



>[...]Chances are that it is just a permissions problem, so
> we should be able to work this out with only configuration changes.

I hope you're right.

-- 
christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20071230/30e4ad78/attachment.pgp 


More information about the Nut-upsuser mailing list