On Mon, 16 Jul 2007, Charles Lepple wrote: > On 7/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> I recently purchased a Tripp Lite OmniSV1500XL and I've had no luck >> getting nut to work. > [...] >> # cat /opt/nut/etc/ups.conf >> [omni] >> driver = tripplite_usb >> port = /dev/hiddev0 >> >> # ll /dev/hiddev0 >> crw-rw-rw- 1 root root 180, 96 Jul 13 05:48 /dev/hiddev0 > > The permissions on /dev/hiddev* nodes are not relevant - all of the > NUT USB drivers (except energizerups) bypass that interface. The > drivers use libusb, which uses either /dev/bus/usb/*/* or > /proc/bus/usb/*/* (strace seems to indicate it is /dev/bus/usb on your > system). > > Check the scripts/udev directory for more details on how to fix this. >
Adding the udev rules fixed the problem Thanks >> # /opt/nut/bin/tripplite_usb -a omni >> Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.11 (2.2.0) >> Warning: This is an experimental driver. >> Some features may not function correctly. >> >> No matching USB/HID UPS found > > For testing, you can just add "-u root" to the command line. > > This is a piece of my messages log file The driver reconnects at random interval from a few minutes to a few hours How should I proceed to trouble shoot this Jul 17 03:29:19 rray2 tripplite_usb[8897]: Error reading L value: Device detached? (error 0: error sending control message: Operation not permitted) Jul 17 03:29:19 rray2 tripplite_usb[8897]: Reconnect attempt #1 Jul 17 03:29:19 rray2 tripplite_usb[8897]: Successfully reconnected Jul 17 03:29:19 rray2 tripplite_usb[8897]: Using OMNIVS 2001 protocol (2001) Jul 17 03:29:20 rray2 tripplite_usb[8897]: Unit ID not retrieved (not available on all models) Jul 17 05:22:02 rray2 tripplite_usb[8897]: Error reading L value: Device detached? (error 0: error sending control message: Operation not permitted) Jul 17 05:22:02 rray2 tripplite_usb[8897]: Reconnect attempt #1 Jul 17 05:22:02 rray2 tripplite_usb[8897]: Successfully reconnected Jul 17 05:22:02 rray2 tripplite_usb[8897]: Using OMNIVS 2001 protocol (2001) Jul 17 05:22:03 rray2 tripplite_usb[8897]: Unit ID not retrieved (not available on all models) Jul 17 05:22:33 rray2 tripplite_usb[8897]: Error reading S value: Device detached? (error 0: error sending control message: Operation not permitted) Jul 17 05:22:33 rray2 tripplite_usb[8897]: Reconnect attempt #1 Jul 17 05:22:33 rray2 tripplite_usb[8897]: Successfully reconnected Jul 17 05:22:33 rray2 tripplite_usb[8897]: Using OMNIVS 2001 protocol (2001) Jul 17 05:22:34 rray2 tripplite_usb[8897]: Could not retrieve status ... is this an OMNIVS model? Jul 17 05:22:34 rray2 upsd[8900]: Can't connect to UPS [omnisv1500xl] (tripplite_usb-omnisv1500xl): No such file or directory Jul 17 05:27:34 rray2 upsd[8900]: Can't connect to UPS [omnisv1500xl] (tripplite_usb-omnisv1500xl): No such file or directory Jul 17 05:32:34 rray2 upsd[8900]: Can't connect to UPS [omnisv1500xl] (tripplite_usb-omnisv1500xl): No such file or directory Jul 17 05:37:34 rray2 upsd[8900]: Can't connect to UPS [omnisv1500xl] (tripplite_usb-omnisv1500xl): No such file or directory _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

