Formula

apcupsd

3.14.14

Daemon for controlling APC UPSes

Install

brew install apcupsd

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
Apple SiliconGolden Gate3.14.14File
SHA-2566aac153f13de084f92795e666eb7a25608edef9eaa1e44890704c84506f48fda
Apple SiliconTahoe3.14.14File
SHA-256b3ee569355dc3304f2efdf334b2b130088427c6cb9001213c73837ec7ef26160
Apple SiliconSequoia3.14.14File
SHA-25642e5ae7b28e6a629784dc2fde07477671a8348544e1472de2fd27ddf88a55dc5
Apple SiliconSonoma3.14.14File
SHA-2565a906ee35f2ec26d466dab2060b61af39dd43297e9580f804fba78f7f1e1bb33
Apple SiliconVentura3.14.14File
SHA-256d09fad7812d162e402914ee0fdf8e5bd91593dfc1a5050258eb6ba2296ef767d
Apple SiliconMonterey3.14.14File
SHA-256a6cf4c78394837233cb366da2697b0c80a69d5191b09b5aba0125d40fcdb48a5
Apple SiliconBig Sur3.14.14File
SHA-256891644e5123fc8fd644cf88809642334f07093f7dae656c3f65d276e90a2b6bf
IntelSonoma3.14.14File
SHA-256d38f2c3404c9d08bd7bbe480cd8acf70153bf7486ee01da4b71d31f05acccc71
IntelVentura3.14.14File
SHA-256bb3971d7d541206fc672a8d01410674a3a7d8abac848f8e8049589369d1b081f
IntelMonterey3.14.14File
SHA-256e1b0cba1a14c977d8a7faad52c9d72080b745f7b3a49557a5cebe8171bcbc9a1
IntelBig Sur3.14.14File
SHA-2561c425f1d6db43a760e4d068ae8ef193c3ca32a3157564989ba1a6aa2ce44a2c7
ARM64Linux3.14.14File
SHA-2562e4b840420d4e7b2712118ca0e9d789e0d6c1f44f54ea6bb49eca03b5548aef5
x86_64Linux3.14.14File
SHA-256d393e850548713a383f89d2375fdbd895eae93c063c97b7e16cd767c881d983e

Dependencies

  • gd
  • libusb-compat

Package data

Caveats

For apcupsd to be able to communicate with UPSes connected via USB,
the kernel extension must be installed by the root user:

  sudo cp -pR $HOMEBREW_CELLAR/apcupsd/3.14.14/Library/Extensions/ApcupsdDummy.kext /System/Library/Extensions/
  sudo chown -R root:wheel /System/Library/Extensions/ApcupsdDummy.kext
  sudo touch /System/Library/Extensions/

  Note: The kernel extension currently does not work as expected.

  You will have to unplug and plug the USB cable back in after each
  reboot in order for apcupsd to be able to connect to the UPS.

To load apcupsd at startup, activate the included Launch Daemon:

  sudo cp $HOMEBREW_CELLAR/apcupsd/3.14.14/lib/Library/LaunchDaemons/org.apcupsd.apcupsd.plist /Library/LaunchDaemons
  sudo chmod 644 /Library/LaunchDaemons/org.apcupsd.apcupsd.plist
  sudo launchctl load -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist

If this is an upgrade and you already have the Launch Daemon loaded, you
have to unload the Launch Daemon before reinstalling it:

  sudo launchctl unload -w /Library/LaunchDaemons/org.apcupsd.apcupsd.plist
  sudo rm /Library/LaunchDaemons/org.apcupsd.apcupsd.plist