salut Antoine 2009/8/3 Antoine Gatineau <[email protected]>
> Thanks for the info. > > I use the first approach. > 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. > Is that correct? > mostly! the udev rules are used in both cases... > If so, I might be able to rebuild the nut-2.4.1 pachage for RHEL4. > 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). > no, continue using the present thread. 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) cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ > > ------------------------------ > *De :* Arnaud Quette [mailto:[email protected]] > *Envoyé :* vendredi 31 juillet 2009 21:41 > *À :* Antoine Gatineau > *Cc :* Charles Lepple; nut-upsuser > > *Objet :* Re: [Nut-upsuser] Usbhip-ups going wild > > salut Antoine, > > 2009/7/31 Antoine Gatineau <[email protected]> > >> 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 >> it. >> I use upsmon for power management. >> > > not at all. there are 2 approaches: > - the standard one, where you have a driver (usbhid-ups), upsd and upsmon. > udev only applies the device privileges rules. > - 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. > Note that HAL is being superseded by DeviceKit and DeviceKit-power. > This approach will probably be abandonned... > > >> -----Message d'origine----- >> De : Charles Lepple [mailto:[email protected]] >> 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/ >> > nut-2.2.0-4.el4.src.rpm >> > RHEL 5 : nut-2.4.1 found only on this one >> > http://wolfy.fedorapeople.org/nut/SRPM/ >> > > use that one. > install it and edit the spec. > modifying --with-all by --with-usb should be sufficient. > > cheers, > Arnaud > -- > Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ > Debian Developer - http://www.debian.org > Free Software Developer - http://arnaud.quette.free.fr/ > >
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

