[Nut-upsuser] Zigor Ebro 650 compatibility

Martyn Hill martyn.joseph.hill at gmail.com
Wed Aug 8 09:07:17 UTC 2012


Arnaud Quette <aquette.dev <at> gmail.com> writes:

> 
> 2012/6/3 Chris Rees <crees <at> freebsd.org>:
> > Hi all,
> 
> Hi Chris,
> 
> > After some research I've found that this device should run with the
> > blazer_usb driver.
> >
> > Jun  3 16:15:38 pegasus kernel: ugen0.4: <vendor 0x0001> at usbus0
> > Jun  3 16:15:38 pegasus kernel: uhid0: <vendor 0x0001 product 0x0000,
> > class 0/0, rev 1.00/1.00, addr 4> on usbus0
> >
> > However, even after shoehorning it;
> >
> > [crees <at> pegasus]/usr/local/libexec/nut% sudo ./blazer_usb -a zigor
> > -DDDDDDDDD -x vendorid=0x0001 -x productid=0x0000 -x subdriver=krauler
> > Password:
> > Network UPS Tools - Megatec/Q1 protocol USB driver 0.04
> > (2.6.3-Unversioned directory)
> >   0.000000     send_to_all: SETINFO driver.parameter.vendorid "0x0001"
> >   0.000013     send_to_all: SETINFO driver.parameter.productid "0x0000"
> >   0.000018     send_to_all: SETINFO driver.parameter.subdriver "krauler"
> >   0.000020     debug level is '9'
> >   0.000874     language ID workaround enabled (using '0x409')
> >   0.001019     No appropriate HID device found
> >   0.001025     No supported devices found. Please check your device
> > availability with 'lsusb'
> > and make sure you have an up-to-date version of NUT. If this does not help,
> > try running the driver with at least 'subdriver', 'vendorid' 
and 'productid'
> > options specified. Please refer to the man page for details about these 
options
> > (man 8 blazer).
> >
> > This is on FreeBSD with NUT updated to 2.6.3 (I've modified the port).
> >

Hi Chris

Any chance you could share the FreeBSD port? Using the version (2.6.1) 
currently available in the ports tree, I can get a step closer than your tests 
above, but without the enhanced blazer_usb driver (0.0.4) in nut 2.6.3, I 
don't think I can get any further.


> > The UPS comes with UPSilon, but it's several years (!) old and I can't
> > even get it to install, let alone work.
> >
> > Have I sent enough info?  I'm willing to have a go at hacking the
> > driver, but having trouble getting started.
> >
> > Chris
> >
> > [crees <at> pegasus]/usr/local/libexec/nut% grep -v 
^# /usr/local/etc/nut/ups.conf
> >
> > [zigor]
> >        port = auto
> >        driver = blazer_usb
> >        langid_fix = 0x409
> >        desc = "Zigor UPS"
> >        vendorid = 0001
> >        productid = 0000
> 
> it's quite probably due to a permission issue.
> See "4) Permissions" on 
http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt
> 
> cheers,
> Arnaud

I got a little further than the above by ensuring that the default 'uucp' user 
configured in the FreeBSD port had RW access to the appropriate usb node, as 
per the advice above (thanks for linking it, Arnaud).

Regards,
Martyn Hill
London.







More information about the Nut-upsuser mailing list