[Nut-upsuser] Plexus UPS 1000V - megatec_usb
Jason Pearce
jason at pearce.org.uk
Fri Dec 28 00:02:52 UTC 2007
Hi,
Just purchashed this UPS.
The megatec_usb driver appears to be communicating with the UPS -
however, the ups.status field always states "off"
/usr/local/ups/bin/megatec_usb -a plexus -DD
Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]
Carlos Rodrigues (c) 2003-2007
Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007
debug level is '2'
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (116F/C108) (001/003)
- VendorID: 116f
- ProductID: c108
- 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 (0001/0000) (001/002)
- VendorID: 0001
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
Starting UPS detection process...
Asking for UPS status [Q1]...
Q1 => OK [(234.0 165.0 234.0 000 49.8 27.3 00.0 00001010]
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
0 out of 5 detection attempts failed (minimum failures: 2).
Asking for UPS information [I]...
I => OK [# UPS1000V VER1.04 ]
Megatec protocol UPS detected [ UPS1000V VER1.04].
Asking for UPS power ratings [F]...
F => OK [#230.0 005 23.50 50.0]
23.5V battery, interval [21.3V, 27.1V].
Done setting up the UPS.
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Calculated battery charge: 100.0%
dstate_init: sock /var/state/ups/megatec_usb-plexus open on fd 5
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 49.8 27.3 00.0 00001010]
Calculated battery charge: 100.0%
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Calculated battery charge: 100.0%
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 49.8 27.3 00.0 00001010]
Calculated battery charge: 100.0%
Asking for UPS status [Q1]...
Q1 => OK [(231.0 165.0 231.0 000 50.0 27.3 00.0 00001010]
Calculated battery charge: 100.0%
Asking for UPS status [Q1]...
Q1 => OK [(229.0 165.0 229.0 000 50.0 27.3 00.0 00001010]
Calculated battery charge: 100.0%
/usr/local/ups/bin/upsc plexus at localhost
battery.charge: 100.0
battery.voltage: 27.30
battery.voltage.nominal: 23.5
driver.name: megatec_usb
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/hiddev0
driver.version: 2.2.1
driver.version.internal: 1.5.9
input.frequency: 50.0
input.voltage: 229.0
input.voltage.fault: 165.0
input.voltage.maximum: 234.0
input.voltage.minimum: 229.0
output.voltage: 229.0
output.voltage.nominal: 230.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 0.0
ups.mfr:
ups.model: UPS1000V VER1.04
ups.serial: unknown
ups.status: OFF
ups.temperature: 0.0
Bus 001 Device 002: ID 0001:0000 Fry's Electronics
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0001 Fry's Electronics
idProduct 0x0000
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 624
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Any ideas ?
Regards,
Jason
More information about the Nut-upsuser
mailing list