<div>Thanks Peter,&nbsp;Charles Lepple repsonded this morning and I got it all sorted out. I believe it&#39;s working now, I can execute &quot;upsc myups&quot; and it spits out all sorts of cool info. I have a question though:&nbsp;Does &quot;
battery.runtime&quot; get calculated based on the current load or is it just something that the manufacturer sets in the firmware for the model?&nbsp;I ask because the value I currently have for battery.runtime is 4800 and from what I read that is in seconds.&nbsp;I&#39;m basically running just a computer (no monitor) from the ports on this thing, does 80 minutes of runtime sound right?
</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>-Greg<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 2/7/07, <b class="gmail_sendername">Peter Selinger</b> &lt;<a href="mailto:selinger@mathstat.dal.ca">selinger@mathstat.dal.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">From the file INSTALL:<br><br>&nbsp;&nbsp; The setup for USB ports is slightly more complicated. Device files<br>&nbsp;&nbsp; for USB devices, such as /proc/bus/usb/002/001, are usually
<br>&nbsp;&nbsp; created &quot;on the fly&quot; when a device is plugged in, and disappear<br>&nbsp;&nbsp; when the device is disconnected.&nbsp;&nbsp;Moreover, the names of these<br>&nbsp;&nbsp; device files can change randomly. To set up the correct<br>&nbsp;&nbsp; permissions for the USB device, you may need to set up (operating
<br>&nbsp;&nbsp; system dependent) hotplugging scripts.&nbsp;&nbsp;Sample scripts and<br>&nbsp;&nbsp; information are provided in the scripts/hotplug and<br>&nbsp;&nbsp; scripts/udev directories. (If you want to try if a driver<br>&nbsp;&nbsp; works without setting up hotplugging, you can add the &quot;-u root&quot;
<br>&nbsp;&nbsp; option to upsd, upsmon, and drivers; this should allow you to<br>&nbsp;&nbsp; follow the below instructions. However, don&#39;t forget to set up the<br>&nbsp;&nbsp; correct permissions later!).<br><br>-- Peter<br><br>Greg Grotsky wrote:
<br>&gt;<br>&gt; --===============4326139097053175324==<br>&gt; Content-Type: multipart/alternative;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; boundary=&quot;----=_Part_10409_20474366.1170829092479&quot;<br>&gt;<br>&gt; ------=_Part_10409_20474366.1170829092479
<br>&gt; Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>&gt; Content-Transfer-Encoding: 7bit<br>&gt; Content-Disposition: inline<br>&gt;<br>&gt; So I just bought one of these fabulous CyberPower UPS devices from BestBuy
<br>&gt; hoping I could control it with my machine.&nbsp;&nbsp;Luckily, I found NUT!&nbsp;&nbsp;I&#39;ve got<br>&gt; the SVN sources and compiled and installed them but I haven&#39;t been able to<br>&gt; get it to recognize the usb AE550.<br>
&gt;<br>&gt; When I plug the usb cable in I see this in syslog:<br>&gt; Feb&nbsp;&nbsp;6 22:36:56 mythbox kernel: usb 1-1: new low speed USB device using<br>&gt; ohci_hcd and address 4<br>&gt; Feb&nbsp;&nbsp;6 22:36:56 mythbox kernel: usb 1-1: configuration #1 chosen from 1
<br>&gt; choice<br>&gt; Feb&nbsp;&nbsp;6 22:36:56 mythbox kernel: hiddev96: USB HID v1.10 Device [CPS UPS<br>&gt; AE550] on usb-0000:00:02.0-1<br>&gt;<br>&gt; I run lsusb and I see this:<br>&gt; $ lsusb<br>&gt; Bus 003 Device 001: ID 0000:0000
<br>&gt; Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc.<br>&gt; Bus 001 Device 001: ID 0000:0000<br>&gt; Bus 002 Device 002: ID 15c2:ffda SoundGraph Inc.<br>&gt; Bus 002 Device 001: ID 0000:0000<br>&gt;<br>&gt; My /usr/local/ups/etc/ups.conf file contains
<br>&gt; [CyberPower]<br>&gt;&nbsp;&nbsp;driver = usbhid-ups<br>&gt;&nbsp;&nbsp;port = auto<br>&gt; # vendor = &quot;Cyber Power Systems&quot;<br>&gt; # product = &quot;AE550&quot;<br>&gt; # vendorid = 0764<br>&gt; # productid = 0501<br>&gt;&nbsp;&nbsp;desc = &quot;MythBox&quot;
<br>&gt;<br>&gt; When I run upsdrvctl start I get this:<br>&gt; $ ./upsdrvctl start<br>&gt; Network UPS Tools - UPS driver controller 2.1.0<br>&gt; Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)
<br>&gt;<br>&gt; No matching HID UPS found<br>&gt; Driver failed to start (exit status=1)<br>&gt;<br>&gt;<br>&gt; I have tried everything in attempt to get this recognized.&nbsp;&nbsp;As you can see<br>&gt; in my conf file I tried supplying the values I recieved in lsusb and the
<br>&gt; vendor and product names.&nbsp;&nbsp;I&#39;ve tried doing that at the command line as well<br>&gt; running usbhid-ups -x vendor=CyberPower.&nbsp;&nbsp;I&#39;ve also tried supplying<br>&gt; usbhid-ups with the device name /dev/usb/hiddev0 or /dev/usbdev1.4_ep00 or
<br>&gt; /dev/usbdev1.4_ep81 (not sure what these are but I think they all represent<br>&gt; the ups).&nbsp;&nbsp;I&#39;ve created a user for the software to use and set the<br>&gt; permissions correctly.&nbsp;&nbsp;What am I missing??<br>&gt;
<br>&gt; BTW: I&#39;m running 64bit version of Debian.&nbsp;&nbsp;I didn&#39;t have any problems with<br>&gt; the compile or install.<br>&gt;<br>&gt; Thanks,<br>&gt; -Greg<br>&gt;<br>&gt; ------=_Part_10409_20474366.1170829092479<br>
&gt; Content-Type: text/html; charset=ISO-8859-1<br>&gt; Content-Transfer-Encoding: 7bit<br>&gt; Content-Disposition: inline<br>&gt;<br>&gt; So I just bought one of these fabulous CyberPower UPS devices from BestBuy hoping I could control it with my machine.&amp;nbsp; Luckily, I found NUT!&amp;nbsp; I&amp;#39;ve got the SVN sources and compiled and installed them but I haven&amp;#39;t been able to get it to recognize the usb AE550.
<br>&gt; &lt;br&gt;&lt;br&gt;When I plug the usb cable in I see this in syslog:&lt;br&gt;Feb&amp;nbsp; 6 22:36:56 mythbox kernel: usb 1-1: new low speed USB device using ohci_hcd and address 4&lt;br&gt;Feb&amp;nbsp; 6 22:36:56 mythbox kernel: usb 1-1: configuration #1 chosen from 1 choice
<br>&gt; &lt;br&gt;Feb&amp;nbsp; 6 22:36:56 mythbox kernel: hiddev96: USB HID v1.10 Device [CPS UPS AE550] on usb-0000:00:02.0-1&lt;br&gt;&lt;br&gt;I run lsusb and I see this:&lt;br&gt;$ lsusb&lt;br&gt;Bus 003 Device 001: ID 0000:0000&lt;br&gt;Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc.
<br>&gt; &lt;br&gt;Bus 001 Device 001: ID 0000:0000&lt;br&gt;Bus 002 Device 002: ID 15c2:ffda SoundGraph Inc.&lt;br&gt;Bus 002 Device 001: ID 0000:0000&lt;br&gt;&lt;br&gt;My /usr/local/ups/etc/ups.conf file contains&lt;br&gt;[CyberPower]&lt;br&gt;&amp;nbsp;driver = usbhid-ups&lt;br&gt;&amp;nbsp;port = auto
<br>&gt; &lt;br&gt;# vendor = &amp;quot;Cyber Power Systems&amp;quot;&lt;br&gt;# product = &amp;quot;AE550&amp;quot;&lt;br&gt;# vendorid = 0764&lt;br&gt;# productid = 0501&lt;br&gt;&amp;nbsp;desc = &amp;quot;MythBox&amp;quot;&lt;br&gt;&lt;br&gt;When I run upsdrvctl start I get this:&lt;br&gt;$ ./upsdrvctl start
<br>&gt; &lt;br&gt;Network UPS Tools - UPS driver controller 2.1.0&lt;br&gt;Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)&lt;br&gt;&lt;br&gt;No matching HID UPS found&lt;br&gt;Driver failed to start (exit status=1)&lt;br&gt;&lt;br&gt;&lt;br&gt;I have tried everything in attempt to get this recognized.&amp;nbsp; As you can see in my conf file I tried supplying the values I recieved in lsusb and the vendor and product names.&amp;nbsp; I&amp;#39;ve tried doing that at the command line as well running usbhid-ups -x vendor=CyberPower.&amp;nbsp; I&amp;#39;ve also tried supplying usbhid-ups with the device name /dev/usb/hiddev0 or /dev/usbdev1.4_ep00 or /dev/usbdev1.4_ep81 (not sure what these are but I think they all represent the ups).&amp;nbsp; I&amp;#39;ve created a user for the software to use and set the permissions correctly.&amp;nbsp; What am I missing??
<br>&gt; &lt;br&gt;&lt;br&gt;BTW: I&amp;#39;m running 64bit version of Debian.&amp;nbsp; I didn&amp;#39;t have any problems with the compile or install.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;-Greg&lt;br&gt;&lt;br&gt;<br>&gt;
<br>&gt; ------=_Part_10409_20474366.1170829092479--<br>&gt;<br>&gt;<br>&gt; --===============4326139097053175324==<br>&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>&gt; MIME-Version: 1.0<br>&gt; Content-Transfer-Encoding: 7bit
<br>&gt; Content-Disposition: inline<br>&gt;<br>&gt; _______________________________________________<br>&gt; Nut-upsdev mailing list<br>&gt; <a href="mailto:Nut-upsdev@lists.alioth.debian.org">Nut-upsdev@lists.alioth.debian.org
</a><br>&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev">http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev</a><br>&gt; --===============4326139097053175324==--<br>&gt;<br><br></blockquote>
</div><br>