[Nut-upsuser] Usbhip-ups going wild
antoine.gatineau at alcatel-lucent.com
Fri Jul 31 13:26:36 UTC 2009
I might ask a stupid question but isn't hal used to manage the UPS device
and connection through udev rules?
I though that hal was mostly usefull with usb...
In the nut-hal document, it is said that HAL "allows NUT drivers to feed the
HAL system, which will itself feeds
applications such as the Gnome Power Manager"
Does that mean hal is not used for managing the battery itself but sees the
nut driver as a "pseudo real battery"? In this case, indeed, I do not need
I use upsmon for power management.
De : Charles Lepple [mailto:clepple at gmail.com]
Envoyé : vendredi 31 juillet 2009 15:08
À : Antoine Gatineau
Cc : 'nut-upsuser'
Objet : Re: [Nut-upsuser] Usbhip-ups going wild
On Jul 31, 2009, at 9:03 AM, Antoine Gatineau wrote:
> Indeed, nut depends on some packages not the distribution itself.
> You are surely right.
> Anyway, here are the links :
> RHEL 4 : ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/
> RHEL 5 : nut-2.4.1 found only on this one
I will take a look later when my Linux systems are booted.
> On rpmfind.net, nut-2.4.1 is on available for recent fedora, doesn't
> work with RHEL4 or 5...
> FYI, in RHEL 4, I have a dependency issue when compiling nut-2.4.1 :
> ./configure --with-name=ups --with-group=nut --with-usb --with-hal
> (hal-devel is installed)
> Configure: error: "libhal not found, required for HAL support"
> But libhal is located in /usr/lib (.so and .a)
> I just tried it out. That is why I concluded nut-2.4.1 was not
> compliant with RHEL 4.
Ah, right - it may depend on a certain minimum version of HAL. I forgot
about that part.
However, you probably don't need HAL if you are using the usbhid-ups driver.
Any problems if you remove "--with-hal" from the configure line?
> -----Message d'origine-----
> De : Charles Lepple [mailto:clepple at gmail.com] Envoyé : vendredi 31
> juillet 2009 13:53 À : Antoine Gatineau Cc : nut-upsuser Objet : Re:
> [Nut-upsuser] Usbhip-ups going wild
> On Fri, Jul 31, 2009 at 4:04 AM, Antoine
> Gatineau<antoine.gatineau at alcatel-lucent.com> wrote:
>> Well I have tried to upgrade the nut drivers but it can't compile on
>> RHEL4 due to dependencies.
>> Newer nut require RHEL5. Am I right?
> Nothing in NUT itself depends on RHEL5, but the RPM spec file might be
> written to require versions of packages only in RHEL5.
> Do you have URLs for the SRPMs for RHEL4 and 5? We might be able to
> help backport.
> - Charles Lepple
More information about the Nut-upsuser