hello everyone,<br>I've been testing the NUT solution as opposed to the undocumented LanSafe application to control my Eaton UPS.<br><br>I am on a Slackware 13.37 system with a 2.6.37.6 kernel. NUT version is 2.4.3 .<br>
I installed the tarball by compiling it directly on my system (as a slackbuild package).<br>The UPS is an Eaton Powerware 9155, but I don't know how to obtain the manufacturing date. The unit was bought sometime in 2006-2007 though.<br>
<br>The unit has a serial interface to communicate with a pc, and I am using a usb-serial converter to connect it there. dmesg shows:<br><br>usb 6-2: new full speed USB device using uhci_hcd and address 3<br>usb 6-2: New USB device found, idVendor=067b, idProduct=2303<br>
usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>usb 6-2: Product: USB-Serial Controller<br>usb 6-2: Manufacturer: Prolific Technology Inc.<br>pl2303 6-2:1.0: pl2303 converter detected<br>usb 6-2: pl2303 converter now attached to ttyUSB0<br>
<br>This converter appears to the system as /dev/ttyUSB0. But I presume for all practical purposes I should assume that this is just another serial port (correct me if that's wrong).<br><br>My ups.conf looks line:<br>
<br> [DSAups]<br>        driver = bcmxcp<br>        port = /dev/ttyUSB0<br>        desc = "Eaton Powerware 9155"<br><br>I have ALSO attempted to run the drivers: bcmxcp-usb, upscode2, usbhid-ups (just in case the /dev/ttyUSB0 is actually a USB look-alike port rather than serial look-alike one) to no avail.<br>
<br>the debug output is the following:<br><br>root@samothraki:/usr/libexec/nut# ./bcmxcp -DDDDD -a DSAups<br>Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3)<br>RS-232 communication subdriver 0.17<br>   0.000000     send_to_all: SETINFO driver.parameter.port "/dev/ttyUSB0"<br>
   0.000035     debug level is '5'<br>   0.008369     Attempting to autodect baudrate<br>   1.603672     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>   2.604114     Receive error (PW_COMMAND_START_BYTE): 0!!!<br>
<br>   3.604528     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>   3.604547     No response from UPS on /dev/ttyUSB0 with baudrate 1200<br>   5.199170     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>   6.200268     Receive error (PW_COMMAND_START_BYTE): 0!!!<br>
<br>   7.201363     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>   7.201386     No response from UPS on /dev/ttyUSB0 with baudrate 2400<br>   8.796693     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>   9.797796     Receive error (PW_COMMAND_START_BYTE): 0!!!<br>
<br>  10.798900     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>  10.798924     No response from UPS on /dev/ttyUSB0 with baudrate 4800<br>  12.394722     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>  13.395824     Receive error (PW_COMMAND_START_BYTE): 0!!!<br>
<br>  14.396925     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>  14.396949     No response from UPS on /dev/ttyUSB0 with baudrate 9600<br>  15.052002     Communications with UPS lost: checksum error!<br>  15.084000     Communications with UPS lost: Not the right sequence received fe!!!<br>
<br>  16.084278     Receive error (PW_COMMAND_START_BYTE): 0!!!<br><br>  16.084306     No response from UPS on /dev/ttyUSB0 with baudrate 19200<br>  16.084312     Can't connect to the UPS on port /dev/ttyUSB0!<br><br>
root@samothraki:/usr/libexec/nut#<br><br><br>Looks fairly dead to me as if theere was smth wrong with the cables. So I installed a windows server 2008 virtual machine (on virtualbox) and attached the /dev/ttyUSB0 to the virtual machine. There I installed the LanSafe application provided by Eaton and voila, the system was working.<br>
<br>So there is something else going on here, directly on the host, which I can't understand.<br>Any ideas?<br><br>Thank you in advance for your help<br>Nass<br><br>