Hi Chris,<br><br><div class="gmail_quote">2008/5/22 Chris Cohen <<a href="mailto:kildau-ml@gmx.de">kildau-ml@gmx.de</a>>:<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>
> >> Weird. This is not something the driver can do, unless you<br>
> >> specifically tell it to kill the power (-k). I see that you're<br>
> >> using Linux 2.6.24-17-xen.<br>
> ><br>
> > I do. (Running Ubuntu Hardy LTS)<br>
><br>
> The fact that you're able to run this driver on your desktop system<br>
> without problems, leads me to believe that the problem is in Xen and<br>
> not in either the driver and/or the UPS itself.<br>
><br>
> A quick search via Google shows that USB support for anything other<br>
> than a keyboard and mouse is experimental at best in Xen at the<br>
> moment, so I think this may be where the problem is. Since I know<br>
> crap about Xen (or any other virtualization software for that<br>
> matter), I have no idea if and what can be done to correct this.<br>
><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't think my problem is xen<br>
related?<br>
<div class="Ih2E3d"><br>
> One thing that is worth checking, if this system is HAL enabled. In<br>
> that case, something like 'hald-addon-hid-ups' might be claiming the<br>
> UPS and I have no idea how well this is handled (if at all).<br>
<br>
</div>HAL isn't installed. :)<br>
</blockquote><div><br>point taken.<br><br>can you send us a gzip'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&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'Informatique et des Technologies