[Nut-upsuser] SUSE 10.0 and MGE Ellipse
fkamogee at yahoo.com
Tue Jan 17 15:02:11 UTC 2006
I spent some time on it this weekend. I deciphered the
release note to mean we need to use udev rules and/or
the hwup mechanism. I tried with udev rules and got
close: I managed to write a rule that set the
permissions on /dev/usbdevB.D, in the same rule that
adds a "symlink" at /proc/bus/usb/BBB/DDD; however, I
had no success at setting the permissions on
As for the hwup mechanism, I don't have the first clue
about that. For now I'll sit back and give you a
chance to chat with Novell.
--- Paul Mogren <fkamogee at yahoo.com> wrote:
> I just remembered, there was something in the SUSE
> release notes concerning hotplug... and indeed it
> appear to be relevant! Unfortunately, I don't know
> enough about it to translate it into a solution:
> Hotplug Events Handled by the udev Daemon
> Hotplug events are now completely handled by the
> daemon (udevd). We do not use the event multiplexer
> system in /etc/hotplug.d and /etc/dev.d anymore.
> Instead udevd calls all hotplug helper tools
> according to its rules. Udev rules and helper tools
> are provided by udev and various other packages.
> --- Arnaud Quette <aquette.dev at gmail.com> wrote:
> > 2006/1/13, Paul Mogren <fkamogee at yahoo.com>:
> > >
> > > Greetings Arnaud and others,
> > >
> > Hi Paul,
> > I've been using NUT with Gentoo Linux for a couple
> > of years now. I recently
> > > installed SUSE Linux 10.0 and I'm having
> > difficulty getting it to
> > > recognize my UPS (MGE Ellipse).
> > >
> > > I tried the MGE-PSP package, but the GUI crashes
> > immediately on startup. I
> > > decided to get just NUT running correctly before
> > worrying about that. I
> > > uninstalled MGE-PSP and am left wtih the NUT
> > 2.0.2-4 package from MGE.
> > >
> > I also found a minor ABI incompatibility between
> > glibmm 2.4 (linked with
> > PSP) and 2.8 (shipped with suse 10) which lead to
> > that crash.
> > Simply rebuilding the packages on suse 10 did the
> > trick...
> > This thread from June/July 2005 shed some light on
> > the problem:
> > >
> > >
> > > For me, hotplug is not calling the libhidups
> > script to the correct
> > > permissions on the USB device. If I fix it
> > manually (e.g. by running
> > > "ACTION=add DEVICE=/proc/bus/usb/002/002
> > > /etc/hotplug/usb/libhidups"), NUT works fine.
> > However, the permissions are
> > > reset on reboot. Same if I unplug and reconnect
> > the USB cable, a new device
> > > is created with the wrong permissions
> > (root:root/0644).
> > >
> > > I suppose I could write myself an init script to
> > fix the permissions
> > > before NUT starts, but I'd rather just get
> > to do what is expected of
> > > it. Any ideas?
> > >
> > quite franckly, I've searched and not found
> > working fine.
> > The only solution I've found, while waiting for
> > better, is to start nut as
> > root (to do this, I was really out of solution).
> > This is a udev system,
> > without the old hotplug support, and which seems
> > broken to me. Anyhow, I've
> > got to investigate and contact our (MGE) SuSE /
> > Novell partner.
> > I've just released these packages internally for
> > qualification tests, so
> > these should be out in about a week).
> > Thanks for your report,
> > Arnaud
> > --
> > Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
> > Network UPS Tools (NUT) Project Leader -
> > http://www.networkupstools.org/
> > Debian Developer -
> > http://people.debian.org/~aquette/
> > OpenSource Developer -
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Nut-upsuser