<br><br><div class="gmail_quote">2009/4/6 Brandon Metcalf <span dir="ltr"><<a href="mailto:brandon@geronimoalloys.com">brandon@geronimoalloys.com</a>></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 <<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> wrote:<br>
> Hi Brandon,<br>
><br>
> 2009/4/6 Brandon Metcalf <<a href="mailto:brandon@geronimoalloys.com">brandon@geronimoalloys.com</a>><br>
><br>
> > Just built and installed nut 2.4.1 with a usb.conf that looks like<br>
> ><br>
><br>
> first, have you rebuilt from nut source or deb source?<br>
> if you've gone for #1, you should have prefered to backport the 2.4.1<br>
> 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'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>
> [trippb]<br>
> > driver = usbhid-ups<br>
> > port = auto<br>
> > desc = "Tripp Lite SmartPro 2200RMXL2U"<br>
> ><br>
> > The OS is Ubuntu 8.04.2 with kernel version 2.6.24.<br>
> ><br>
> > When trying to start the driver I get<br>
> ><br>
> > $ sudo ./upsdrvctl start<br>
> > Network UPS Tools - UPS driver controller 2.4.1<br>
> > Network UPS Tools - Generic HID driver 0.34 (2.4.1)<br>
> > USB communication driver 0.31<br>
> > Can't claim USB device [09ae:3012]: could not detach kernel driver from<br>
> > interface 0: Operation not permitted<br>
> > Driver failed to start (exit status=1)<br>
> ><br>
> > The UPS is detected when connected. From the output of dmesg<br>
> ><br>
> > [689484.575866] hiddev96hidraw2: USB HID v1.10 Device [Tripp Lite TRIPP<br>
> > LITE SMART2200RMXL2U ] on usb-0000:00:03.0-2<br>
> ><br>
> > lsusb also lists the UPS.<br>
> ><br>
> > Any ideas?<br>
> ><br>
><br>
> this might be due to:<br>
> - the missing udev rule file in /etc/udev/rules.d (52-nut-usbups.rules),<br>
> - or its application. I've noticed that the udev patch from SJR only apply<br>
> the rules upon an unplug/replug of the UPS' USB cord.<br>
<br>
</div>OK. I definitely don't have the rules in place. Where can I get a copy? It'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&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>