I thought I'd share this as eBuyer in the UK is selling some low cost UPSs that are quite painful to get working with Ubuntu 8.04.
This is a continuation of http://ubuntuforums.org/showthread.php?t=698095 which is unfortunately frozen (would be good if old threads could be continued as this isn't specific to an Ubuntu version really).
The first step is easy: apt-get install nut.
It took a long time to discover the magic incantation to get this USB UPS working - the model is Plexus 650VA USB, details are at http://www.ebuyer.com/product/130478. lsusb -v starts like this:
Note the Fry's Electronics - the same basic UPS is resold by Belkin etc.Code:Bus 001 Device 003: 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
Anyway, the /etc/nut/ups.conf file requires something like this at least in my Ubuntu 8.04 setup. Note that the vendorid and productid match the output of lsusb above. The subdriver was guessed from the /etc/udev/rules.d/52* file, where the Krauler driver has the same vendorid and productid - however that's not essential to get the driver to communicate with UPS.
I haven't done any real testing yet, but this at least enables NUT to communicate with the UPS.Code:[plexus] driver = megatec_usb vendorid = 0001 productid = 0000 subdriver = krauler desc = "Plexus V 650VA USB" # port = /dev/usb/hiddev0 port = auto
Does anyone else have this or a similar UPS working with NUT?
Bookmarks