[Nut-upsuser] Network UPS Tools version 2.6.3 released
nelg at linuxsolutions.co.nz
Fri Jan 6 22:56:36 UTC 2012
On Sat, 07 Jan 2012, Arnaud Quette wrote:
> 2012/1/6 Charles Lepple <clepple at gmail.com>
> > On Jan 6, 2012, at 6:42 AM, Arnaud Quette wrote:
> > > 2012/1/6 Glen Ogilvie <nelg at linuxsolutions.co.nz>
> > [...]
> > >> The entry I am using is:
> > >>
> > >> [nutdev1]
> > >> driver = "blazer_usb"
> > >> port = "auto"
> > >> vendorid = "0001"
> > >> productid = "0000"
> > >> bus = "001"
> > >> langid_fix = "0x0409"
> > [...]
> > > note that mentioning vendorid, productid and bus is only needed when
> > > you have multiple UPS on the same box.
> > > it's otherwise not useful.
You are correct, I can remove vendorid, productid and bus and the blazer_usb
driver still functions.
An alternative that also works for me is to set
bus = "00[1-2]"
as after reading the documentation, I noticed that the bus can be a regex.
> > At the beginning of the thread, Glen mentioned that he took the output of
> > nut_scanner and added the 'langid_fix' parameter. So if I am not
> > mistaken, it is nut_scanner which added the 'bus' parameter.
> fully right!
> this (adding the more possible match info) was something I asked Fred to
> do, since this should prevent issues with multiple similar devices.
Yes, it was nut-scanner that generated this, less the langid_fix line.
> But Glen's issue, with the changing bus number, is puzzling!
It does change, as today after bootup, it was back on to bus 001.
I have 2 usb buses, I think because I have a hub plugged in, although the
UPS has never been plugged into the hub.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the Nut-upsuser