[Nut-upsdev] Using USB CyberPower CPL550SL / AE550,

Peter Selinger selinger at mathstat.dal.ca
Wed Feb 7 21:14:49 CET 2007


>From the file INSTALL:

    The setup for USB ports is slightly more complicated. Device files
    for USB devices, such as /proc/bus/usb/002/001, are usually
    created "on the fly" when a device is plugged in, and disappear
    when the device is disconnected.  Moreover, the names of these
    device files can change randomly. To set up the correct
    permissions for the USB device, you may need to set up (operating
    system dependent) hotplugging scripts.  Sample scripts and
    information are provided in the scripts/hotplug and
    scripts/udev directories. (If you want to try if a driver
    works without setting up hotplugging, you can add the "-u root"
    option to upsd, upsmon, and drivers; this should allow you to
    follow the below instructions. However, don't forget to set up the
    correct permissions later!).

-- Peter

Greg Grotsky wrote:
> 
> --===============4326139097053175324==
> Content-Type: multipart/alternative; 
> 	boundary="----=_Part_10409_20474366.1170829092479"
> 
> ------=_Part_10409_20474366.1170829092479
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> So I just bought one of these fabulous CyberPower UPS devices from BestBuy
> hoping I could control it with my machine.  Luckily, I found NUT!  I've got
> the SVN sources and compiled and installed them but I haven't been able to
> get it to recognize the usb AE550.
> 
> When I plug the usb cable in I see this in syslog:
> Feb  6 22:36:56 mythbox kernel: usb 1-1: new low speed USB device using
> ohci_hcd and address 4
> Feb  6 22:36:56 mythbox kernel: usb 1-1: configuration #1 chosen from 1
> choice
> Feb  6 22:36:56 mythbox kernel: hiddev96: USB HID v1.10 Device [CPS UPS
> AE550] on usb-0000:00:02.0-1
> 
> I run lsusb and I see this:
> $ lsusb
> Bus 003 Device 001: ID 0000:0000
> Bus 001 Device 004: ID 0764:0501 Cyber Power System, Inc.
> Bus 001 Device 001: ID 0000:0000
> Bus 002 Device 002: ID 15c2:ffda SoundGraph Inc.
> Bus 002 Device 001: ID 0000:0000
> 
> My /usr/local/ups/etc/ups.conf file contains
> [CyberPower]
>  driver = usbhid-ups
>  port = auto
> # vendor = "Cyber Power Systems"
> # product = "AE550"
> # vendorid = 0764
> # productid = 0501
>  desc = "MythBox"
> 
> When I run upsdrvctl start I get this:
> $ ./upsdrvctl start
> Network UPS Tools - UPS driver controller 2.1.0
> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.1.0)
> 
> No matching HID UPS found
> Driver failed to start (exit status=1)
> 
> 
> I have tried everything in attempt to get this recognized.  As you can see
> in my conf file I tried supplying the values I recieved in lsusb and the
> vendor and product names.  I've tried doing that at the command line as well
> running usbhid-ups -x vendor=CyberPower.  I'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).  I've created a user for the software to use and set the
> permissions correctly.  What am I missing??
> 
> BTW: I'm running 64bit version of Debian.  I didn't have any problems with
> the compile or install.
> 
> Thanks,
> -Greg
> 
> ------=_Part_10409_20474366.1170829092479
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> So I just bought one of these fabulous CyberPower UPS devices from BestBuy hoping I could control it with my machine.  Luckily, I found NUT!  I've got the SVN sources and compiled and installed them but I haven't been able to get it to recognize the usb AE550.
> <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>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>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># 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>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>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>
> 
> ------=_Part_10409_20474366.1170829092479--
> 
> 
> --===============4326139097053175324==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
> --===============4326139097053175324==--
> 




More information about the Nut-upsdev mailing list