<br><br><div class="gmail_quote">2009/4/6 Brandon Metcalf <span dir="ltr">&lt;<a href="mailto:brandon@geronimoalloys.com">brandon@geronimoalloys.com</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>
----- Arnaud Quette &lt;<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>&gt; wrote:<br>
&gt; Hi Brandon,<br>
&gt;<br>
&gt; 2009/4/6 Brandon Metcalf &lt;<a href="mailto:brandon@geronimoalloys.com">brandon@geronimoalloys.com</a>&gt;<br>
&gt;<br>
&gt; &gt; Just built and installed nut 2.4.1 with a usb.conf that looks like<br>
&gt; &gt;<br>
&gt;<br>
&gt; first, have you rebuilt  from nut source or deb source?<br>
&gt; if you&#39;ve gone for #1, you should have prefered to backport the 2.4.1<br>
&gt; packages in jaunty to get the best integration...<br>
<br>
</div>I built it from the source downloaded from<br>
<br>
  <a href="http://www.networkupstools.org/source.html" target="_blank">http://www.networkupstools.org/source.html</a><br>
<br>
What do you mean by backport the packages in jaunty?  What is involved in doing this?<br>
<div class="im"></div></blockquote><div><br>- getting the source package (.dsc, .orig.tar.gz and .diff.gz) from here<br> <a href="http://packages.ubuntu.com/jaunty/nut">http://packages.ubuntu.com/jaunty/nut</a><br>- install the build toolchain (gcc, make, ...) andautotools-dev fakeroot dh-make build-essential devscripts<br>
- unpack the source package: dpkg-source -x *.dsc<br>- from the build dir: debuild -us -uc<br>- you&#39;ll be warned of the missing prerequisites<br>- once built successfully, your debs will be in the parent dir.<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>
&gt;  [trippb]<br>
&gt; &gt;    driver = usbhid-ups<br>
&gt; &gt;    port = auto<br>
&gt; &gt;    desc = &quot;Tripp Lite SmartPro 2200RMXL2U&quot;<br>
&gt; &gt;<br>
&gt; &gt; The OS is Ubuntu 8.04.2 with kernel version 2.6.24.<br>
&gt; &gt;<br>
&gt; &gt; When trying to start the driver I get<br>
&gt; &gt;<br>
&gt; &gt;  $ sudo ./upsdrvctl start<br>
&gt; &gt;  Network UPS Tools - UPS driver controller 2.4.1<br>
&gt; &gt;  Network UPS Tools - Generic HID driver 0.34 (2.4.1)<br>
&gt; &gt;  USB communication driver 0.31<br>
&gt; &gt;  Can&#39;t claim USB device [09ae:3012]: could not detach kernel driver from<br>
&gt; &gt; interface 0: Operation not permitted<br>
&gt; &gt;  Driver failed to start (exit status=1)<br>
&gt; &gt;<br>
&gt; &gt; The UPS is detected when connected.  From the output of dmesg<br>
&gt; &gt;<br>
&gt; &gt;  [689484.575866] hiddev96hidraw2: USB HID v1.10 Device [Tripp Lite  TRIPP<br>
&gt; &gt; LITE SMART2200RMXL2U ] on usb-0000:00:03.0-2<br>
&gt; &gt;<br>
&gt; &gt; lsusb also lists the UPS.<br>
&gt; &gt;<br>
&gt; &gt; Any ideas?<br>
&gt; &gt;<br>
&gt;<br>
&gt; this might be due to:<br>
&gt; - the missing udev rule file in /etc/udev/rules.d (52-nut-usbups.rules),<br>
&gt; - or its application. I&#39;ve noticed that the udev patch from SJR only apply<br>
&gt; the rules upon an unplug/replug of the UPS&#39; USB cord.<br>
<br>
</div>OK.  I definitely don&#39;t have the rules in place.  Where can I get a copy?  It&#39;s not included in the source.<br>
<div class="im"></div></blockquote><div><br>in nut source dir: scripts/udev/52-nut-usbups.rules<br> <br>cheers,<br>Arnaud<br></div></div>-- <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://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>