[Nut-upsuser] MGE Nova 1100 using newhidups on netBSD 3.0

Nevil Thatcher NevilTh at nat.com.au
Mon Feb 27 19:33:06 UTC 2006


Hi Arnaud,

Thanks for the reply

As suggested debug log with USB_DEBUG=3 and newhidups -DD

debug level is '2'
usb_set_debug: Setting debugging level to 3 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_devices: couldn't open device /dev/ugen0.00: Permission denied
usb_os_find_devices: Found /dev/ugen1 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7f7fffffd970 8 1000
usb_control_msg: 128 6 512 0 0x5185c0 34 1000
skipped 1 class/vendor specific interface descriptors
Checking device (0463/FFFF) (/dev/usb3//dev/ugen1)
usb_control_msg: 128 6 768 0 0x7f7fffffd8d0 255 1000
USB error: error sending control message: Input/output error
usb_control_msg: 128 6 768 0 0x7f7fffffd8d0 255 1000
USB error: error sending control message: Input/output error
- VendorID: 0463
- ProductID: ffff
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: /dev/usb3
Trying to match device
Device matches
usb_control_msg: 129 6 8448 0 0x7f7fffffdb30 9 4000
HID descriptor retrieved (Reportlen = 358)
usb_control_msg: 129 6 8704 0 0x7f7fffffdb90 358 4000
Report descriptor retrieved (Reportlen = 358)
Found HID device
Report Descriptor size = 358
Detected a UPS: unknown/unknown
Using subdriver: MGE HID 0.8
usb_control_msg: 161 1 779 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 11 (-5/5): Input/output error
Path: UPS.PowerConverter.PowerConverterID, Type: Feature
usb_control_msg: 161 1 779 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 11 (-5/5): Input/output error
Path: UPS.PowerConverter.Output.0084001d, Type: Feature
usb_control_msg: 161 1 782 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 14 (-5/5): Input/output error
Path: UPS.PowerConverter.Output.Voltage, Type: Feature
usb_control_msg: 161 1 781 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 13 (-5/5): Input/output error
Path: UPS.Flow.00ff0004.ConfigApparentPower, Type: Feature
usb_control_msg: 161 1 779 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 11 (-5/5): Input/output error
Path: UPS.PowerSummary.PowerSummaryID, Type: Feature
usb_control_msg: 161 1 779 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 11 (-5/5): Input/output error
Path: UPS.PowerSummary.FlowID, Type: Feature
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
Path: UPS.PowerSummary.CapacityMode, Type: Feature
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature
usb_control_msg: 161 1 784 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 16 (-5/5): Input/output error
Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature
usb_control_msg: 161 1 784 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 16 (-5/5): Input/output error
Path: UPS.PowerSummary.iManufacturer, Type: Feature
usb_control_msg: 161 1 784 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 16 (-5/5): Input/output error
Path: UPS.PowerSummary.iProduct, Type: Feature
usb_control_msg: 161 1 784 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 16 (-5/5): Input/output error
Path: UPS.PowerSummary.iSerialNumber, Type: Feature
usb_control_msg: 161 1 782 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 14 (-5/5): Input/output error
Path: UPS.PowerSummary.PercentLoad, Type: Feature
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
Path: UPS.PowerSummary.DesignCapacity, Type: Feature
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Path: UPS.PowerSummary.RemainingCapacity, Type: Feature
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Path: UPS.PowerSummary.RemainingCapacity, Type: Input
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Input
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.CommunicationLost, Type: Feature
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Good, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Input
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.OverLoad, Type: Feature
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature
usb_control_msg: 161 1 769 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 1 (-5/5): Input/output error
Path: UPS.PowerSummary.PresentStatus.Undefined, Type: Feature
usb_control_msg: 161 1 783 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 15 (-5/5): Input/output error
Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature
usb_control_msg: 161 1 785 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 17 (-5/5): Input/output error
Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature
entering identify_ups(0x0463, 0xffff)

Can't find object UPS.PowerSummary.iModel
usb_control_msg: 161 1 781 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 13 (-5/5): Input/output error
get_model_name(unknown, 0)

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: Protection Center 420
comparing with: Protection Center 500
comparing with: Protection Center 675
comparing with: Pulsar Evolution 500
comparing with: Pulsar Evolution 800
comparing with: Pulsar Evolution 1100
comparing with: Pulsar Evolution 1500
comparing with: Pulsar Evolution 2200
comparing with: Pulsar Evolution 3000
comparing with: Pulsar Evolution 3000 XL
comparing with: NOVA 600 AVR
comparing with: NOVA 1100 AVR
comparing with: Pulsar EXtreme 700C
comparing with: Pulsar EXtreme 1000C
comparing with: Pulsar EXtreme 1500C
comparing with: Pulsar EXtreme 1500C CLA
comparing with: Pulsar EXtreme 2200C
comparing with: Pulsar EXtreme 3200C
comparing with: Pulsar EX 700 RT
comparing with: Pulsar EX 1000 RT
comparing with: Pulsar EX 1500 RT
comparing with: Pulsar EX 2200 RT
comparing with: Pulsar EX 3200 RT
comparing with: EX 5 RT
comparing with: EX 7 RT
comparing with: EX 11 RT
comparing with: Galaxy 3000 10 kVA
comparing with: Galaxy 3000 15 kVA
comparing with: Galaxy 3000 20 kVA
comparing with: Galaxy 3000 30 kVA
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Can't find object UPS.PowerSummary.RemainingCapacityLimitSetting
usb_control_msg: 161 1 780 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 12 (-5/5): Input/output error
usb_control_msg: 161 1 790 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 22 (-5/5): Input/output error
Can't find object UPS.BatterySystem.Battery.Temperature
Can't find object UPS.PowerSummary.Voltage
Can't find object UPS.BatterySystem.ConfigVoltage
usb_control_msg: 161 1 782 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 14 (-5/5): Input/output error
usb_control_msg: 161 1 783 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 15 (-5/5): Input/output error
Can't find object UPS.PowerSummary.DelayBeforeReboot
usb_control_msg: 161 1 785 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 17 (-5/5): Input/output error
Can't find object UPS.BatterySystem.Battery.Test
Can't find object UPS.BatterySystem.Battery.TestPeriod
Can't find object UPS.PowerSummary.Temperature
usb_control_msg: 161 1 781 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 13 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Buck
Can't find object UPS.PowerConverter.Input.[1].PresentStatus.Boost
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
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.LowVoltageTransfer
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.HighVoltageTransfer
Can't find object UPS.PowerConverter.Output.HighVoltageBuckTransfer
usb_control_msg: 161 1 782 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 14 (-5/5): Input/output error
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.[1].OutletID
Can't find object UPS.OutletSystem.Outlet.[1].OutletID
Can't find object UPS.OutletSystem.Outlet.[1].PresentStatus.Switchable
Can't find object UPS.OutletSystem.Outlet.[2].OutletID
Can't find object UPS.OutletSystem.Outlet.[2].OutletID
Can't find object UPS.OutletSystem.Outlet.[2].PresentStatus.Switchable
Can't find object UPS.OutletSystem.Outlet.[2].PresentStatus.SwitchOn/Off
usb_control_msg: 161 1 770 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 2 (-5/5): Input/output error
Can't find object UPS.OutletSystem.Outlet.[2].RemainingCapacityLimit
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
usb_control_msg: 161 1 783 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 15 (-5/5): Input/output error
usb_control_msg: 161 1 785 0 0x5160ac 8 4000
USB error: error sending control message: Input/output error
Can't retrieve Report 17 (-5/5): Input/output error
upsdrv_updateinfo...
dstate_init: sock /var/db/nut/newhidups-auto open on fd 5  
upsdrv_updateinfo...
Waiting for notifications...
USB error: error reading from interrupt endpoint /dev/ugen1.01: Input/output
error  <=== disconnect/reconnect USB cable
upsdrv_updateinfo...
upsdrv_updateinfo...
Waiting for notifications...
USB error: error setting timeout: Inappropriate ioctl for device
upsdrv_updateinfo...
Waiting for notifications...
USB error: error setting timeout: Inappropriate ioctl for device
upsdrv_updateinfo...
Waiting for notifications...
USB error: error setting timeout: Inappropriate ioctl for device
Signal 2: exiting
Closing device
usb_os_close: closing endpoint 6

After unplugging/replugging the USB cable it continues to work but only the
limited data set is returned. 

Thanks
Nevil 


-----Original Message-----
From: Arnaud Quette [mailto:aquette.dev at gmail.com] 
Sent: Tuesday, 28 February 2006 6:00 AM
To: Nevil Thatcher
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] MGE Nova 1100 using newhidups on netBSD 3.0

Hi Nevil,

2006/2/27, Nevil Thatcher <NevilTh at nat.com.au>:
>
>
>
> Have recently purchased a MGE Nova 1100 UPS and am trying to get running
on
> netBSD.

IIRC, you're the first report on netBSD...
so your participation will be required

> Built & installed libusb
> Built kernel with ugen device and uhid removed
> Build & install nut-2.0.3 with usb
> Chmod /dev/ugen1 etc to allow access by nut user.
> ...

fine

> ...
> Entering libusb_get_report
>
> Can't retrieve Report 11 (-5/5): Input/output error
> ...
> new connection on fd 7           ç======== unplug & reconnect USB cable
>
> upsdrv_updateinfo...
> ...
> I am fairly new to all this, have read all the FAQ's newsgroups but can
not
> find anything that seems to help.

the problem lies above in the I/O error. And is due to either libusb or
ugen.
but I don't yet know why, so we'll need to investigate together.

Does it continue to work after you've unplugged/replugged?
Does unplugging/replugging always solve the issue
a good thing would be to reproduce the error after having done an
"export USB_DEBUG=3" to get more verbose libusb feedback, and newhidups -DD.

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/




More information about the Nut-upsuser mailing list