On Dec 13, 2018, at 9:47 PM, André Hänsel <[email protected]> wrote:
> 
> Hi list, I seem to need another pair of eyes.
> 
> Here's my ups.conf:
> 
> [myups]
>       driver = usbhid-ups
>       port = auto
>       vendor = 051d
>       product = 0002
>       serial = 4B1717P25055

It's subtle, but "vendor" matches the vendor *string*, and "vendorid" matches 
the hex USB ID. Same for "product" vs "productid". Ref: 
https://networkupstools.org/docs/man/usbhid-ups.html

Note that you only need enough options to uniquely match an UPS, so the serial 
string is probably sufficient.
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to