Hi NUT Users,
One of my APC UPS is having battery issue and apparently we cannot change
battery in that UPS. (not super green?)
I have purchased an EATON UPS and added the ref in ups.conf
 
When restarting the driver, I got this error
 
>  0.030612     [D2] Checking device 2 of 10 (0463/FFFF)
>  0.287659     [D2] - VendorID: 0463
>  0.287853     [D2] - ProductID: ffff
>  0.287941     [D2] - Manufacturer: EATON
>  0.288023     [D2] - Product: 5S
>  0.288103     [D2] - Serial Number: unknown
>  0.288156     [D2] - Bus: 002
>  0.288205     [D2] - Device: unknown
>  0.288254     [D2] - Device release number: 0001
>  0.288303     [D2] Trying to match device
>  0.288352     [D2] match_function_subdriver (non-SHUT mode): matching a
device...
>  0.288406     [D3] match_function_regex: matching a device...
>  0.288509     [D2] match_function_regex: failed match of Device: (null)
>  0.288563     [D2] Device does not match - skipping
 
The UPS has been defined in ups.conf as:
[myups3]
?????? driver : usbhid-ups
?????? port = auto
?????? vendorid = 0463
?????? productid = ffff
?????? desc = "5S"
?????? bus = 002
?????? device = 014 
?????? pollonly
 
Here is the lsusb trace.
 
GNU nano 7.2                                     lsusb.trc2
  bcdUSB               1.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0463 MGE UPS Systems
  idProduct          0xffff UPS
  bcdDevice            0.01
  iManufacturer           1 EATON
  iProduct                2 5S
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     481
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              20
 
 
I wonder whether I did anything wrong.
Thanks for any advice you oculd share.
 
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230309/826e1502/attachment.htm>