Hi list, I?ve spend a LOT of time reading and trying many versions, from Fink to Brew and also compiling source. OSX 10.11.3 NUT: v2.7.4 Driver: nutdrv_atcl_usb I have the same problem that has been reported, that Mac OSX grabs the USB device so NUT can?t use it. 0.001924 Starting UPS: UDups 0.001956 1 remaining attempts 0.001966 exec: /sw/lib/nut/nutdrv_atcl_usb -a UDups -u root Network UPS Tools - 'ATCL FOR UPS' USB driver 1.1 (2.7.4) Warning: This is an experimental driver. Some features may not function correctly. Communications with UPS lost: Can't open USB device, retrying ... Communications with UPS lost: Can't open USB device, retrying ... Communications with UPS lost: Can't open USB device, retrying ... Unable to find ATCL FOR UPS I know there has been discussion of 10.11.x having some USB issues, but I?ve also seen a few posts that people have got this working (but not said how) The ?fudge? of using a dummy kext no longer works as its not singed, so 10.11 won?t load it. I realise I won?t get much in the way of reporting from this driver which is fine, just the OL OB status I can capture and the automate reporting it back. So, does anyone has a definitive guide on how to get this working on OSX, I don?t like giving up on things and not getting them working! Thanks in advance. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20160401/0b2eb1b3/attachment.html>
On Apr 1, 2016, at 6:56 AM, ldnjak at gmail.com wrote:> > I know there has been discussion of 10.11.x having some USB issues, but I?ve also seen a few posts that people have got this working (but not said how)Would you post a few of those links? If nothing else, it might help others searching for info on this.> The ?fudge? of using a dummy kext no longer works as its not singed, so 10.11 won?t load it.I looked to see what apcupsd is doing, but they sign their kext now.> I realise I won?t get much in the way of reporting from this driver which is fine, just the OL OB status I can capture and the automate reporting it back. > > So, does anyone has a definitive guide on how to get this working on OSX, I don?t like giving up on things and not getting them working!In the short term, what about using an embedded processor like a Raspberry Pi or a BeagleBone Black? We have talked about making the USB backend a bit more flexible (to be able to use native HID code such as the OS X interfaces), but that will take a fair amount of design and testing. -- Charles Lepple clepple at gmail
> We have talked about making the USB backend a bit more flexible (to be able to use native HID code such as the OS X interfaces), but that will take a fair amount of design and testing.This is one of the libraries that might be useful for connecting to an UPS on OS X without kexts: http://www.signal11.us/oss/hidapi/ Using TestGUI.app, I was able to get some basic information back from a CyberPower UPS on 10.10. A shortcut for testing is to clone the repository, check out an old version, and run the embedded binary: $ git clone https://github.com/signal11/hidapi.git ... $ cd hidapi $ git checkout hidapi-0.7.0 ... $ open testgui/TestGUI.app Choose your UPS from the list, and click Connect. It should not be necessary to send reports or feature requests to the UPS - a sequence of 8-byte hex values should show up in the bottom box in a few seconds. -- Charles Lepple clepple at gmail