<br><br><div class="gmail_quote">2009/8/10 Christian Huldt <span dir="ltr">&lt;<a href="mailto:christian@solvare.se">christian@solvare.se</a>&gt;</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"><br>
Christian Huldt<br>
<a href="mailto:christian@solvare.se" target="_blank">christian@solvare.se</a><br>
+46704612207<br>
<br>
<br>
<br></div>
9 aug 2009 kl. 21.55 skrev Charles Lepple:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Aug 9, 2009, at 9:25 AM, Christian Huldt 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;">
Is there some smart way of not having ioupsd claming the device on mac os x?<br>
</blockquote>
<br>
My only working Macs (at the moment) are laptops, so I haven&#39;t had to try this in a while. What errors do you get if you just try to run usbhid-ups?<br>
<br>
</blockquote>
<br></div>
&quot;Can&#39;t claim the device&quot; even if I run as root<div class="im"></div></blockquote><div><br>iirc, there was no detach_device() primitive outside of linux.<br>so your only chance might be to kill ioupsd as part of the NUT startup script.<br>
test this with caution though, since I don&#39;t know how ioupsd will behave (auto respawn, shutdown the system, ...?)<br> <br></div><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">
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Or having nut talk to ioupsd?<br>
</blockquote>
<br>
We don&#39;t have code for this, but it wouldn&#39;t be completely out of the question.<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
(/usr/ibexec/ioupsd is the builtin ups daemon, but I need the machine to tell the other machine about the UPS status, and ioupsd does not do networking AFAIK...)<br>
</blockquote>
<br>
Out of curiosity, which version of OS X are you using?<br>
</blockquote>
<br></div>
10.5.7 client<br>
<br>
I&#39;m not sure of the consequences of removing disabling ioupsd, but I would expect it to be restored by software updates at an unpredictable rate...<div><div></div><div class="h5">
</div></div></blockquote></div><br>quite probable! that&#39;s why I mentioned the &quot;kill hem all&quot; approach.<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;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>
<br>