<br><br><div class="gmail_quote">2009/8/10 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Aug 10, 2009, at 5:00 AM, Arnaud Quette wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"Can't claim the device" even if I run as root<br>
<br>
iirc, there was no detach_device() primitive outside of linux.<br>
</blockquote>
<br></div>
In older versions of Mac OS X (either 10.3 or 10.4) you could ignore the return code when claiming the device, and the two processes would simply interleave their requests to the device. I'm not sure if this still works in 10.5. Communicating with ioupsd, or disabling it, would probably be a better solution.<br>
</blockquote></div><br>sure. that was simply a temp. workaround<br clear="all"><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>