Hi<br><br>Note that you need to subscribe to this list, in order to post...<br><br><div class="gmail_quote">2011/1/14 Jonathan Cunliffe <span dir="ltr">&lt;<a href="mailto:subscription@gadget.org.uk">subscription@gadget.org.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal" style="margin-bottom: 12pt;">
Hi,<br><br>Has anyone managed to get a Plexus UPS talking to their NAS. I&#39;ve followed the excellent instructions here <a href="http://forum.qnap.com/viewtopic.php?f=182&amp;t=35970&amp;start=0" target="_blank">http://forum.qnap.com/viewtopic.php?f=182&amp;t=35970&amp;start=0</a> but I&#39;m not there yet.<br>
</p></div></div></blockquote><div> (...) and you can get ever more compatibility with nut 2.6.0 ;-) (...)<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal" style="margin-bottom: 12pt;">When I manually start upsdrvctl without the UPS plugged in I get </p><p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> [~] # /usr/bin/upsdrvctl start</span></code><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><br>
<code>Network UPS Tools - UPS driver controller 2.4.1</code><br><code>Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)</code><br><code>Serial-over-USB transport layer 0.10</code><br><code>No supported devices found. Please check your device availability with &#39;lsusb&#39;</code><br>
<code>and make sure you have an up-to-date version of NUT. If this does not help,</code><br><code>try running the driver with at least &#39;vendorid&#39; and &#39;subdriver&#39; options</code><br><code>specified. Please refer to the man page for details about these options</code><br>
<code>(man 8 megatec_usb).</code><br><code>Please report your results to the NUT user&#39;s mailing list</code><br><code>&lt;<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>&gt;.</code><br>
<br><code>Driver failed to start (exit status=1)</code><br><code>[~] #</code></span></p><p class="MsoNormal"><br>When I plug the UPS in I get</p><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> [~] # /usr/bin/upsdrvctl start</span></code><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><br>
<code>Network UPS Tools - UPS driver controller 2.4.1</code><br><code>Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)</code><br><code>Serial-over-USB transport layer 0.10</code><br><code>Can&#39;t claim USB device [0001:0000]: could not detach kernel driver from interface 0: Operation not permitted</code><br>
<code>Driver failed to start (exit status=1)</code></span></p><p class="MsoNormal"><br><br>My ups.conf looks like this</p><p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> </span></code></p>
<p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> [qnapups]</span></code><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><br><code>        driver = usbhid-ups</code><br>
<code>        port = auto</code><br><code>        mfr = &quot;Plexus&quot;</code><br><code>        model = &quot;Plexus 500VA UPS&quot;</code><br><code>        desc = &quot;Workstation&quot;</code><br><code>        pollinterval=1</code><br>
<code>        ignoreoff</code></span></p><p class="MsoNormal"><br>lsusb shows before the UPS is plugged in</p><p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> </span></code></p><p class="MsoNormal" style="margin-left: 36pt;">
<code><span style="font-size: 10pt;"> [~] # lsusb</span></code><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><br><code>Bus 001 Device 003: ID 04a9:10b0 Canon, Inc.</code><br><code>Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc.</code><br>
<code>Bus 001 Device 001: ID 1d6b:0002</code></span></p><p class="MsoNormal"><br>And after</p><p class="MsoNormal" style="margin-left: 36pt;"><code><span style="font-size: 10pt;"> </span></code></p><p class="MsoNormal" style="margin-left: 36pt;">
<code><span style="font-size: 10pt;"> [~] # lsusb</span></code><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><br><code>Bus 001 Device 004: ID 0001:0000 Fry&#39;s Electronics</code><br><code>Bus 001 Device 003: ID 04a9:10b0 Canon, Inc.</code><br>
<code>Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc.</code><br><code>Bus 001 Device 001: ID 1d6b:0002</code></span></p><p class="MsoNormal"><br><br>Anyone any ideas...?<br><br>Thanks,<br></p></div></div></blockquote>
</div><br>you are missing the udev device permissions settings:<br><a href="http://www.networkupstools.org/docs/user-manual.chunked/ar01s05.html#Ownership">http://www.networkupstools.org/docs/user-manual.chunked/ar01s05.html#Ownership</a><br>
<br>if the file scripts/udev/52-nut-usbups.rules is not installed in /etc/udev/rules.d/, do so and refresh you udev configuration using &quot;udevadm trigger --action=change&quot;.<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>