[Nut-upsuser] Dynamix 1000 VA USB and NUT
Glen Ogilvie
nelg at linuxsolutions.co.nz
Sun Jun 5 08:33:31 UTC 2011
Hi Volker Kuhlmann and Richard Nelson,
As both of you are interested in where I got up to with getting my Dynamix
1000 VA UPS working with Linux, here is the details. It works.. But not too
well, as the driver still seems to need some work, and is not in the main nut
source as far as I know. It also seems to sometimes not respond when it
should.
The manufacture has uses the same format as the blazer_usb / megatec_usb
however,they have not correctly implemented the spec for handling the language
string is the USB protocol, so required some hacking of the driver to make it
work. Brian R. Smith wrote the attached patches, so credit goes to him. I've
attached both patch files. At the moment, I am using the libusb-dynamix.patch
( This was the first attempt). These patches patch different nut drivers. Don't
use them together. On my system, the second patch, blazer_usb.c.patch, which
should be a cleaner patch, did not seem to work, with messages about loosing
connection to my UPS.
I've built a mandriva RPM (if you would like it) and have a patch file for
nut-server 2.4.3.
My /etc/ups/ups.conf configuration is:
[myups]
driver = megatec_usb
port = auto
desc = "My UPS"
vendorid = 0001
productid = 0000
subdriver = krauler
With this, I get messages like:
"Jun 5 20:27:31 wizards megatec_usb[28806]: ser_send_pace: Device detached?
(error -5: error sending control message: Broken pipe)
Jun 5 20:27:31 wizards megatec_usb[28806]: Successfully reconnected"
In my logs every minute or two.
It does however, seem to work. See output below.
---------------------------------------
[root at wizards nelg]# upsc myups
battery.charge: 100.0
battery.voltage: 28.10
battery.voltage.nominal: 24.0
device.mfr: KEBO
device.model: UPS-1000VA VER 1.3
device.serial: unknown
device.type: ups
driver.name: megatec_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0000
driver.parameter.subdriver: krauler
driver.parameter.vendorid: 0001
driver.version: 2.4.3
driver.version.internal: 1.6
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 228.0
input.voltage.fault: 165.0
input.voltage.maximum: 233.0
input.voltage.minimum: 225.0
input.voltage.nominal: 240.0
output.voltage: 228.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 28.0
ups.mfr: KEBO
ups.model: UPS-1000VA VER 1.3
ups.serial: unknown
ups.status: OL
ups.type: standby
--------------------------
Regards
Glen Ogilvie
On Sat, 04 Jun 2011, you wrote:
> Hi Glen,
>
> I'm referring to
> http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-September/006227.
>html
>
> in which you mention that you have made some progress with the Dynamix
> 1000VA and NUT. May I ask what the current state of affairs is? I was
> foolish to buy the USB model, thinking it'd be easier, and it has a
> better display. But "easier" is relative here ;-)
>
> It seems to be most likely that the manufacturer bolted a proprietary
> USB interface (showing up as HID) onto a supported (by NUT) RS232
> interface.
>
> There are drivers on the CD for bsd and Linux, pretty old and I didn't
> try them.
>
> If ever you get anywhere with this I'd be interested too, if you're
> sharing.
>
> Thanks muchly,
>
> Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blazer_usb.c.patch
Type: text/x-patch
Size: 1370 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110605/c2abfee6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libusb-dynamix.patch
Type: text/x-patch
Size: 1312 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110605/c2abfee6/attachment-0001.bin>
More information about the Nut-upsuser
mailing list