<br><br><div><span class="gmail_quote">2006/2/10, <a href="mailto:rimabel@upvnet.upv.es">rimabel@upvnet.upv.es</a> <<a href="mailto:rimabel@upvnet.upv.es">rimabel@upvnet.upv.es</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Peter,<br><br>yes I know..but I must to use the UPS quickly<br>I can't wait Suse's solution.<br><br>Best regards.<br><br>...<br><br></blockquote></div><br>here is a more flexible solution I've applied at the end of PSP install, as the hotplug scripts weren't restartable:
<br> <br> if [ "`/usr/sbin/lsusb -d 0x463:`" ] ; then<br> #/etc/init.d/hotplug force-reload => not working!<br> export ACTION="add"<br> export TYPE="usb"
<br> export DEVICE="/proc/bus/usb/`/usr/sbin/lsusb -d 0x463:| cut -d' ' -f2`/`/usr/sbin/lsusb -d 0x463:| cut -d' ' -f4 | cut -d':' -f1`"<br> /etc/hotplug/usb/libhidups > /dev/null 2>&1
<br> fi<br><br>to be adapted a bit, and tested on your conf.<br><br clear="all">Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">
http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/
</a>