On Jun 21, 2014, at 10:21 AM, Bossard <[email protected]> wrote:

> On Sun, Jun 15, 2014 at 10:19 AM, Charles Lepple <[email protected]> wrote:
>> usbhid-ups -u root -x productid=2010 -DD -a <UPS-name>
> 
> Hello Charles,
> 
> Sorry it took me so long to post:
> 
> (The output of:)  /lib/nut/usbhid-ups -u root -x productid=2010 -DD -a 
> tripplite 
> 
> Network UPS Tools - Generic HID driver 0.34 (2.4.3)
> 
> USB communication driver 0.31
> 
>    0.000000   debug level is '2'
>    0.000700   upsdrv_initups...
>    0.130746   Checking device (1D6B/0001) (005/001)
>    0.130824   - VendorID: 1d6b
>    0.130836   - ProductID: 0001
>    0.130845   - Manufacturer: Linux 2.6.32-5-686 uhci_hcd

^ What Linux distribution are you running?

>    0.148284   Checking device (09AE/2010) (002/113)
>    0.181081   - VendorID: 09ae
>    0.181104   - ProductID: 2010
>    0.181114   - Manufacturer: Tripp Lite 
>    0.181124   - Product: Tripp Lite UPS
>    0.181135   - Serial Number: unknown
>    0.181145   - Bus: 002
>    0.181154   Trying to match device
>    0.181242   Device does not match - skipping

I really don't see how this could happen when specifying that productid option.

I don't remember any recent bug fixes that could cause things to work 
differently if you add "productid=2010" to the ups.conf file, but that was 
reported to work with 2.4.3 in this email:

  http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-March/006695.html

That email also confirms that the 2010 productid does, in fact, work 
out-of-the-box with 2.6.0.

Other than trying the ups.conf route, I would recommend getting a newer version 
of NUT (this version is over four years old), either through your 
distribution's "backports" system, or by building from source. Again, since you 
haven't mentioned what system you are running, I don't have any more specific 
recommendations than that.

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to