Fwd: Re: [Nut-upsuser] Problems suse 9.3, ellipse premium 500

rimabel at upvnet.upv.es rimabel at upvnet.upv.es
Thu Feb 16 10:23:39 UTC 2006


Hi Arnaud,

It works using S12ups without moving to S22ups.
I have tried in 2 new PC with Suse 9.3.
The only thing is that path of lsusb is /sbin/lsusb like this:

if [ "`/sbin/lsusb -d 0x463:`" ] ; then
#/etc/init.d/hotplug force-reload => not working!
                export ACTION="add"
                export TYPE="usb"
                export DEVICE="/proc/bus/usb/`/sbin/lsusb -d 0x463:| cut -d' '
-f2`/`/sbin/lsusb -d 0x463:| cut -d' ' -f4 |cut -d':' -f1`"
                /etc/hotplug/usb/libhidups > /dev/null 2>&1

       fi

Best regards.


> 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/
>



More information about the Nut-upsuser mailing list