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