salut Antoine,<br><br><div class="gmail_quote">2009/7/31 Antoine Gatineau <span dir="ltr">&lt;<a href="mailto:antoine.gatineau@alcatel-lucent.com">antoine.gatineau@alcatel-lucent.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I might ask a stupid question but isn&#39;t hal used to manage the UPS device<br>
and connection through udev rules?<br>
I though that hal was mostly usefull with usb...<br>
<br>
In the nut-hal document, it is said that HAL &quot;allows NUT drivers to feed the<br>
HAL system, which will itself feeds<br>
applications such as the Gnome Power Manager&quot;<br>
Does that mean hal is not used for managing the battery itself but sees the<br>
nut driver as a &quot;pseudo real  battery&quot;? In this case, indeed, I do not need<br>
it.<br>
I use upsmon for power management.<br>
<div class="im"></div></blockquote><div><br>not at all. there are 2 approaches:<br>- the standard one, where you have a driver (usbhid-ups), upsd and upsmon.<br>udev only applies the device privileges rules.<br>- the Integrated Power Management approach, where NUT USB driver can feed data to HAL (instead of upsd), replacing the basic USB/HID support in HAL.<br>
Note that HAL is being superseded by DeviceKit and DeviceKit-power.<br>This approach will probably be abandonned...<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
-----Message d&#39;origine-----<br>
De : Charles Lepple [mailto:<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>]<br>
</div>Envoyé : vendredi 31 juillet 2009 15:08<br>
<div><div></div><div class="h5">À : Antoine Gatineau<br>
Cc : &#39;nut-upsuser&#39;<br>
Objet : Re: [Nut-upsuser] Usbhip-ups going wild<br>
<br>
On Jul 31, 2009, at 9:03 AM, Antoine Gatineau wrote:<br>
<br>
&gt; Indeed, nut depends on some packages not the distribution itself.<br>
&gt; You are surely right.<br>
&gt;<br>
&gt; Anyway, here are the links :<br>
&gt; RHEL 4 : <a href="ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/" target="_blank">ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/</a><br>
&gt; nut-2.2.0-4.el4.src.rpm<br>
&gt; RHEL 5 : nut-2.4.1 found only on this one<br>
&gt; <a href="http://wolfy.fedorapeople.org/nut/SRPM/" target="_blank">http://wolfy.fedorapeople.org/nut/SRPM/</a><br>
</div></div></blockquote><div><br>use that one.<br>install it and edit the spec.<br>modifying --with-all by --with-usb should be sufficient.<br></div></div><br clear="all">cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>