salut Antoine<br><br><div class="gmail_quote">2009/8/3 Antoine Gatineau <span dir="ltr"><<a href="mailto:antoine.gatineau@alcatel-lucent.com">antoine.gatineau@alcatel-lucent.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Thanks for the info.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I use the first approach. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">So, if I understood well, the nut-hal support (ie, the
--with-hal) is used only for the 2nd approach. Udev rules are dealt when using
--with-usb.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Is that correct?</font></span></div>
</div></blockquote><div><br>mostly! the udev rules are used in both cases...<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>
<div dir="ltr" align="left"></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">If so, I might be able to rebuild the nut-2.4.1 pachage for
RHEL4.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">For packaging help (I think I might need some for the next
stage ;-) ) do I continue this thread or use the nut-packaging list (or
both).</font></span></div>
</div></blockquote><div><br>no, continue using the present thread.<br>nut-packaging is not really active, and I've created it originally as a placeholder for packagers discussions (related to the NUT Packaging Standard - NPS - topic)<br>
<br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&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> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div dir="ltr" align="left"></div>
<br>
<div dir="ltr" lang="fr" align="left">
<hr>
<font face="Tahoma" size="2"><b>De :</b> Arnaud Quette
[mailto:<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>] <br><b>Envoyé :</b> vendredi 31 juillet 2009
21:41<br><b>À :</b> Antoine Gatineau<br><b>Cc :</b> Charles Lepple;
nut-upsuser<div><div></div><div class="h5"><br><b>Objet :</b> Re: [Nut-upsuser] Usbhip-ups going
wild<br></div></div></font><br></div><div><div></div><div class="h5">
<div></div>salut Antoine,<br><br>
<div class="gmail_quote">2009/7/31 Antoine Gatineau <span dir="ltr"><<a href="mailto:antoine.gatineau@alcatel-lucent.com" target="_blank">antoine.gatineau@alcatel-lucent.com</a>></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'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 "allows NUT drivers
to feed the<br>HAL system, which will itself feeds<br>applications such as the
Gnome Power Manager"<br>Does that mean hal is not used for managing the
battery itself but sees the<br>nut driver as a "pseudo real battery"? In
this case, indeed, I do not need<br>it.<br>I use upsmon for power
management.<br>
<div></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><br>-----Message d'origine-----<br>De : Charles Lepple
[mailto:<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>]<br></div>Envoyé :
vendredi 31 juillet 2009 15:08<br>
<div>
<div></div>
<div>À : Antoine Gatineau<br>Cc : 'nut-upsuser'<br>Objet : Re:
[Nut-upsuser] Usbhip-ups going wild<br><br>On Jul 31, 2009, at 9:03 AM,
Antoine Gatineau wrote:<br><br>> Indeed, nut depends on some packages not
the distribution itself.<br>> You are surely right.<br>><br>> Anyway,
here are the links :<br>> RHEL 4 : <a href="ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/" target="_blank">ftp://rpmfind.net/linux/EPEL/4ES/SRPMS/</a><br>>
nut-2.2.0-4.el4.src.rpm<br>> RHEL 5 : nut-2.4.1 found only on this
one<br>> <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&D - Eaton - <a href="http://www.eaton.com/mgeops" target="_blank">http://www.eaton.com/mgeops</a><br>
Network
UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian
Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free
Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br></div></div></div>
</blockquote></div><br>