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 And here's the output of `/lib/nut/usbhid-ups -a myups -DDD`: 0.017467 Trying to match device 0.017479 Device does not match - skipping 0.017499 Checking device (051D/0002) (001/003) 0.094770 - VendorID: 051d 0.094822 - ProductID: 0002 0.094848 - Manufacturer: American Power Conversion 0.094858 - Product: Back-UPS CS 650 FW:817.v9.I USB FW:v9 0.094868 - Serial Number: 4B1717P25055 0.094877 - Bus: 001 0.094887 - Device release number: 0006 0.094905 Trying to match device 0.094928 Device does not match - skipping Shouldn't this match?
On Dec 13, 2018, at 9:47 PM, André Hänsel <andre at webkr.de> 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 = 4B1717P25055It'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.
Possibly Parallel Threads
- Why are files synced again and again when not using -a?
- What is the purpose of the upsmon setting in upsd.users?
- UPS is not turned off in slave-only configuration?
- What is the purpose of the upsmon setting in upsd.users?
- UPS is not turned off in slave-only configuration?