[Nut-upsuser] nut with hal on Fedora 8

Arnaud Quette aquette.dev at gmail.com
Thu Apr 3 07:16:49 UTC 2008


Hi,

please keep the list cc'ed for info...

2008/4/3, Amadeus W. M. <amadeus84 at verizon.net>:
> Thanks for the very informative answers. Please see below though.
>
>
>  > >  1) How do I actually check that my setup is working?
>  >
>  > when you plug your unit, you should see the hald-addon-usbhid-ups
>  > loaded (using ps)
>  >
>
>
> I don't see hald-addon-usbhid-ups, but
>
>  [root at phoenix ~]# ps auxfwww | grep hid
>  root      6733  0.0  0.6  12768 10500 ?        S    Mar30   0:01      \_
>  hald-addon-hid-ups: listening on /dev/hiddev0
>
>  Is this what you mean?

no, this is the "old" driver, provided by HAL.
this should be removed, and you might want to (re)move it in order not
to conflict with the nut one.

>  > >  2) Can I use some other client to show info about the ups?
>  >
>  > hal-device-manager and lshal
>  >
>
>
> Again, I assume you mean hal-device (no manager). Both hal-device and
>  lshal show CyberPower. Things like
>
>  info.product = 'CP1500 AVR UPS'  (string)
>
>  info.vendor = 'Cyber Power System, Inc.'  (string)
>
>  usb_device.product = 'CP1500 AVR UPS'  (string) (this is wrong, it's
>  actually CP825).
>
>  info.linux.driver = 'usbhid'  (string)
>
>  usb.vendor = 'Cyber Power System, Inc.'  (string)
>
>
>  etc. and a bunch of info which I assume describes the actual status of
>  the unit:
>
>
>  battery.charge_level.current = 100  (0x64)  (int)
>  battery.remaining_time = 1170  (0x492)  (int)
>  etc.
>
>  So I guess it's working then. Just hope it will actually shut down the
>  pc when the time comes.

there seems to be a regression, at least in the latest GPM (2.20/2.22)
http://bugzilla.gnome.org/show_bug.cgi?id=467967

so you might have a bad surprise here.

>  Excellent job! Thanks!

thanks
Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsuser mailing list