2006/2/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
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="">                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/
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to