Arnaud,

Thanks for getting back on this one quickly.  Much appreciated.

> just a question: have plugged your UPS USB cord before or after having
> installed nut?
> the udev script is there to do the job, but I've recently made a
> change to the package to fire up the udev restart upon install.
> Otherwise, if the UPS USB cord was already plugged in, the device is
> not reachable for the nut user... QED

To be honest I cannot remember.  I suspect I plugged all the hardware
in, and then found I didn't have nut installed, so installed it.  In the
past I had an APC Smart UPS and was using apcupsd (on a serial cable).
There has been one Ubuntu upgrade (Edgy -> Feisty) in between my
installing the hardware and nut, and actually getting round to seeing
how to get nut working.

I have yet to understand when the /dev/bus/XXX/YYY changes -- the XXX is
always the same but the YYY changes on each removal and reinsert of the
cable (to be expected) but also when I stop and restart upsd.
After /etc/init.d/nut stop, I sometimes have to go in and check the YYY
and if it has changed set the group permission.  Once
done /etc/init.d/nut start appears to do all the right things, and upsc
gives me a status report.

Now all I have to do is find out how to put all the actual actions in
place.  Actually though my biggest problem is that I am getting a `data
stale' report every 2-3s:

May 31 07:07:37 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:37 balin upsd[27902]: UPS [balin] data is no longer stale
May 31 07:07:39 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:39 balin upsd[27902]: UPS [balin] data is no longer stale
May 31 07:07:41 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:41 balin upsd[27902]: UPS [balin] data is no longer stale
May 31 07:07:44 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:44 balin upsd[27902]: UPS [balin] data is no longer stale
May 31 07:07:46 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:46 balin upsd[27902]: UPS [balin] data is no longer stale
May 31 07:07:48 balin upsd[27902]: Data for UPS [balin] is stale - check
driver
May 31 07:07:48 balin upsd[27902]: UPS [balin] data is no longer stale

> > This may be just that the Nut documentation isn't good enough, but I
> > thought I would report this as it is definitely not the case that Ubuntu
> > "just works".
> 
> side notes:
> - yeah, nut doc is a mess. I've tried several time to launch a project
> to make a good docbook doc, but each time, the doc writers have
> silently gone...

Do people still use Docbook/XML for authoring?  I thought that had died.

> - the HAL support is also coming with 2.2.0 (for USB only). This means
> that having the package (nut-hal-drivers) installed (and I'll lobby
> for an inclusion in the base system), you don't have to configure nor
> do anything apart plugging your UPS USB cord once. Then, HAL and
> Gnome-Power-manager fires up and do the job... I have feisty packages
> underhand if you're interested in (and I'm interested in feedback ;-))

I am prone to working close to the bleeding edge, but I cannot get
involved in experiments that involve actual downtime -- I have deadlines
to get books to publishers!  I have a standard Ubuntu 7.04 Feisty Fawn
installation, and am happy to try running software (as long as it won't
damage the UPS or the machine :-) and report back observations.

-- 
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             [EMAIL PROTECTED]

-- 
Incorrect group for USB device in NUT
https://bugs.launchpad.net/bugs/117519
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to