Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Find / Probe APCUPSD device type

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 703 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jeffboyce
      last edited by

      Greetings -

      I am setting up the APCUPSD service on my gateway box that is connected to a Smart-UPS 1000XL via serial cable (940-0024C).  I am fairly familiar with using apcupsd, but I am having a problem figuring out how to define the device.  I have APCSMART for my UPS Type since I have a serial cable model.  I looked in dmesg after plugging in the serial cable and starting APCUPSD, but I don't see any reference to the UPS model being recognized, and therefore doesn't list the /dev/*** type.  Do I need to reboot in order to get it to recognize it?  Is there a way to probe it so that a device type is assigned without needing a reboot?  APC status appears to work, just has a comm lost error, which I am assuming is because it doesn't know the device to bind to.

      Jeff

      1 Reply Last reply Reply Quote 0
      • D
        dbaio
        last edited by

        Try this way:

        UPSCABLE: 940-0024C
        UPSTYPE: apcsmart
        DEVICE: /dev/cuau0

        Regards.

        –
        Danilo G. Baio (dbaio)

        1 Reply Last reply Reply Quote 0
        • J
          jeffboyce
          last edited by

          Thanks.  The device parameter you provided was the only thing I was missing.  APC status is now populated and appears to have the correct information.  What I find odd, is that even after rebooting my system last night /dev/cuau0 still does not show in dmesg.  I tried probing the hardware a few other way also and still could never find reference to the APC unit being connected.

          Jeff

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.