Hi Chris,<br><br><div class="gmail_quote">2008/5/22 Chris Cohen &lt;<a href="mailto:kildau-ml@gmx.de">kildau-ml@gmx.de</a>&gt;:<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="Ih2E3d">On Thursday 22 May 2008 16:07:08 you wrote:<br>
&gt; &gt;&gt; Weird. This is not something the driver can do, unless you<br>
&gt; &gt;&gt; specifically tell it to kill the power (-k). I see that you&#39;re<br>
&gt; &gt;&gt; using Linux 2.6.24-17-xen.<br>
&gt; &gt;<br>
&gt; &gt; I do. (Running Ubuntu Hardy LTS)<br>
&gt;<br>
&gt; The fact that you&#39;re able to run this driver on your desktop system<br>
&gt; without problems, leads me to believe that the problem is in Xen and<br>
&gt; not in either the driver and/or the UPS itself.<br>
&gt;<br>
&gt; A quick search via Google shows that USB support for anything other<br>
&gt; than a keyboard and mouse is experimental at best in Xen at the<br>
&gt; moment, so I think this may be where the problem is. Since I know<br>
&gt; crap about Xen (or any other virtualization software for that<br>
&gt; matter), I have no idea if and what can be done to correct this.<br>
&gt;<br>
</div>I just booted into a non-xen kernel (linux-image-2.6.24-17-server).<br>
Ran /lib/nut/usbhid-ups -a mgeups.<br>
The UPS shut down again and so did my entire network...<br>
The error message is still the same. So I don&#39;t think my problem is xen<br>
related?<br>
<div class="Ih2E3d"><br>
&gt; One thing that is worth checking, if this system is HAL enabled. In<br>
&gt; that case, something like &#39;hald-addon-hid-ups&#39; might be claiming the<br>
&gt; UPS and I have no idea how well this is handled (if at all).<br>
<br>
</div>HAL isn&#39;t installed. :)<br>
</blockquote><div><br>point taken.<br><br>can you send us a gzip&#39;ed trace (level 3) of the driver, in the shutdown context.<br></div></div><br>just to be sure: when you start the driver (and only the driver, no upsd/upsmon), does it immediately power off the UPS?<br clear="all">
<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - MGE Office Protection Systems - <a href="http://www.mgeops.com">http://www.mgeops.com</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://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>--<br>Conseiller Municipal - Saint Bernard du Touvet -<br>
<a href="http://www.SaintBernardDuTouvet.fr/">http://www.SaintBernardDuTouvet.fr/</a><br>en charge de la Communication, de l&#39;Informatique et des Technologies