[Apcupsd-users] Mac OS X El Capitan (10.11) not compatible with apcupsd
Brought to you by:
adk0212
|
From: Kurtis R. <kr...@sk...> - 2015-08-07 03:41:18
|
I decided to install the Mac OS X El Capitan beta release. That broke a few things but the only one I haven't been able to fix is apcupsd. One problem is that /sbin is now locked down by the new "rootless" security initiative. That was easy enough to deal with by hand editing a couple of Makefiles and running "./configure --sbindir=/usr/local/sbin". The second problem is more problematic. OS X insists on opening the USB device for the UPS in exclusive mode which causes apsupsd to write this to stderr: libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access I attempted to disable powerd (and thus ioupsd) by running launchctl unload -w /System/Library/LaunchDaemons/com.apple.powerd.plist and rebooting. No change: apcupsd still reports the USB device is opened by another process in exclusive mode. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank |