Fwd: Re: [Nut-upsuser] Problems suse 9.3, ellipse premium 500
Arnaud Quette
aquette.dev at gmail.com
Tue Feb 14 16:23:18 UTC 2006
2006/2/10, rimabel at upvnet.upv.es <rimabel at upvnet.upv.es>:
>
> Thanks Peter,
>
> yes I know..but I must to use the UPS quickly
> I can't wait Suse's solution.
>
> Best regards.
>
> ...
>
>
here is a more flexible solution I've applied at the end of PSP install, as
the hotplug scripts weren't restartable:
if [ "`/usr/sbin/lsusb -d 0x463:`" ] ; then
#/etc/init.d/hotplug force-reload => not working!
export ACTION="add"
export TYPE="usb"
export DEVICE="/proc/bus/usb/`/usr/sbin/lsusb -d 0x463:| cut
-d' ' -f2`/`/usr/sbin/lsusb -d 0x463:| cut -d' ' -f4 | cut -d':' -f1`"
/etc/hotplug/usb/libhidups > /dev/null 2>&1
fi
to be adapted a bit, and tested on your conf.
Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060214/1ac20bd5/attachment.htm
More information about the Nut-upsuser
mailing list