Skip to content

APC model BVK750M2 false indications of LB/RB #2942

Closed

Description

@invario

Currently have an APC model BVK750M2 purchased earlier this year connected to TrueNAS Core 13.3 (FreeBSD 13.3-RELEASE-P4) and from reading, it appears to be the same issue as #2347 and was addressed in PR #2565 but unfortunately it didn't cover my model #.

I'm going to tweak the usbhid-ups.c on my end and rebuild to see if the fix will work (likely) and then I should create a new PR I suppose?

Thanks in advance for any input/replies.

Activity

  1. added
    FreeNAS/TrueNASIssues related to NUT integration in FreeNAS or TrueNAS storage platform
    FreeBSDissues related to FreeBSD and its derivatives (including pfSense)
    Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)
    impacts-release-2.8.3Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks)
    on May 7, 2025
  2. added this to the 2.8.4 milestone on May 7, 2025
  3. jimklimov commented on May 7, 2025

    @jimklimov
    Member

    Yes, at least if this is the same issue - I suppose extending these lines should help (and a PR would be welcome after testing):

    		&&  (strstr(hd->Product, " BX") || strstr(hd->Product, "BX") == hd->Product)
    		&&  (hd->Product[productLen - 2] == 'M' && hd->Product[productLen - 1] == 'I')
    

    Also probably review that older PR to check what/where it changed, to bump the driver version, update mentions of "APC BXnnnMI/BXnnnnMI" with the newly handled pattern, and add a change note in NEWS.adoc (for planned v2.8.4 trail). Thanks!

  4. invario commented on May 7, 2025

    @invario
    ContributorAuthor

    Got it, working on it, thanks!

  5. invario commented on May 7, 2025

    @invario
    ContributorAuthor

    Created PR #2944, hopefully I did things right, or at least mostly right. :)

  6. invario commented on May 9, 2025

    @invario
    ContributorAuthor

    Have been using new usbhid-ups from PR #2944 and so far no more LB/RB messages!

  7. invario commented on May 9, 2025

    @invario
    ContributorAuthor

    Thanks for the merge! Closing as addressed by #2944

  8. invario commented on May 27, 2025

    @invario
    ContributorAuthor

    Just a quick note that today, after having not occurred for a long time, the problem occurred again. I had the following settings used, as was recommended:

    [ups]
    ...
    lbrb_log_delay_without_calibrating = 1
    onlinedischarge_calibration = 1
    

    I have since added lbrb_log_delay_sec=2 to see if that alleviates the problem.

    edit: disregard, the lbrb_log_delay_sec=2 setting wouldn't do anything since the driver automatically makes it 3 seconds when these models are detected. Hmm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APCFreeBSDissues related to FreeBSD and its derivatives (including pfSense)FreeNAS/TrueNASIssues related to NUT integration in FreeNAS or TrueNAS storage platformIncorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)USBimpacts-release-2.8.3Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks)

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions