Hi all, As requested by upsdrvctl, I'm reporting on my results connecting a Tripp Lite UPS (G1010USB). This server is running on Ubuntu Lucid, nut version is 2.4.3-1ubuntu3.1. With ups.conf: [ups] driver = usbhid-ups port = auto Results: # upsdrvctl start Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 This TrippLite device (09ae:2010) is not (or perhaps not yet) supported by usbhid-ups. Please make sure you have an up-to-date version of NUT. If this does not fix the problem, try running the driver with the '-x productid=2010' option. Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. No matching HID UPS found Driver failed to start (exit status=1) With ups.conf: [ups] driver = usbhid-ups port = auto productid = 2010 Results: # upsdrvctl start Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Can't claim USB device [09ae:2010]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) With ups.conf: user = root [ups] driver = usbhid-ups port = auto productid = 2010 Results: # upsdrvctl start ups Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using subdriver: TrippLite HID 0.4 I am still trying to work through some permissions issues though at this time. Namely: Aug 21 13:01:26 lemmankinan upsd[26183]: listening on 127.0.0.1 port 3493 Aug 21 13:01:26 lemmankinan upsd[26183]: listening on ::1 port 3493 Aug 21 13:01:26 lemmankinan upsd[26183]: Can't connect to UPS [ups] (usbhid-ups-ups): Permission denied Aug 21 13:01:26 lemmankinan upsd[26184]: Startup successful
On 08/21/2011 01:04 PM, Matt Behrens wrote:> Hi all, > > As requested by upsdrvctl, I'm reporting on my results connecting a > Tripp Lite UPS (G1010USB). This server is running on Ubuntu Lucid, > nut version is 2.4.3-1ubuntu3.1.By way of update, I found this message http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-February/006657.html and added these lines to 52-nut-usbups.rules ATTR{idVendor}=="09ae", ATTR{idProduct}=="2010", MODE="664", GROUP="nut" # e.g. TrippLite G1010USB which permitted me to remove "user = root" from usb.conf and solved the permission issue. I needed to keep "product = 2010" though.