[Nut-upsuser] APC SmartUPS 3000VA LCD not connecting

Zach La Celle lacelle at roboticresearch.com
Fri Feb 3 15:07:42 UTC 2012


Thank you guys for your responses.
- The Nut version I have installed (from the Ubuntu repositories) is 
2.4.3-1ubuntu3.1.
- The OS is Ubuntu server 10.04 LTS x64 with the 2.6.35-std210-amd64 kernel.
- Driver output:
root at www:/etc/nut# /lib/nut/apcsmart -DDDDD -a rack1ups
Network UPS Tools - APC Smart protocol driver 2.03 (2.4.3)
APC command table version 2.1
    0.000000     send_to_all: SETINFO driver.parameter.port "/dev/ttyS0"
    0.000070     debug level is '5'
    0.000712     send_to_all: SETINFO device.type "ups"
    0.000725     send_to_all: SETINFO driver.version "2.4.3"
    0.000732     send_to_all: SETINFO driver.version.internal "2.03"
    0.000739     send_to_all: SETINFO driver.name "apcsmart"
   35.029891     Unable to detect an APC Smart protocol UPS on port 
/dev/ttyS0
Check the cabling, port name or model name and try again

I'm looking on the NUT website and on Google, but I must be doing 
something wrong with the USB driver.  Here's the error output:

root at www:/etc/nut# /lib/nut/usbhid-ups -a rack1ups
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
Can't claim USB device [051d:0003]: could not detach kernel driver from 
interface 0: Operation not permitted

Here's my ups.conf:
[rack1ups]
   driver = usbhid-ups
   port = auto
#  vendor = "APC.*"
   vendorid=051d
#  product=".*Smart-UPS.*"
   productid=0003
   desc = "Rack 1 UPS"

If this helps, this is the dmesg output when the USB is plugged in...
[ 4042.800563] usb 5-1: New USB device found, idVendor=051d, idProduct=0003
[ 4042.800567] usb 5-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 4042.800570] usb 5-1: Product: Smart-UPS 3000 FW:UPS 06.5 / ID=18
[ 4042.800573] usb 5-1: Manufacturer: American Power Conversion
[ 4042.800575] usb 5-1: SerialNumber: ############
[ 4042.833625] generic-usb 0003:051D:0003.0006: hiddev96,hidraw4: USB 
HID v1.00 Device [American Power Conversion Smart-UPS 3000 FW:UPS 06.5 / 
ID=18] on usb-0000:00:1d.0-1/input0

Thanks!

-Zach

On 2/3/2012 3:44 AM, Arnaud Quette wrote:
> Zach,
>
> 2012/2/3 Zach La Celle<lacelle at roboticresearch.com>:
>> We recently had to replace an old APC SmartUPS 3000 with a newer 3000VA (the
>> 2U one).  It has both serial and USB in the back (with an RJ-45 on the end
>> of the serial cable).
>>
>> I can't get the apcsmart driver to connect.  I figured it should work the
>> exact same as the old UPS, with /dev/ttyS0 as the port (I'm using the same
>> port on the server that the last one was plugged into).  I even tried the
>> USB driver (usbhid-ups) using the port=auto, but it complained about
>> unsupported UPS.
>>
>> Any ideas about connecting this new UPS?
> apart from the good advice from George (Ross), we need the following
> info to be able to help you (both need root privileges):
>
> - the nut version used,
> - the operating system, and version, you're running,
> - drivers debug output:
> $ /path/to/driver -DDDDD -a<devname>
>
> - and for the USB side:
> $ lsusb -v -d051d:<productID>
>
> AFAICT, the serial protocol has changed (and is not published nor
> reverse engineered), but USB should work (minus a possible missing
> supported productID).
>
> cheers,
> Arnaud




More information about the Nut-upsuser mailing list