Hi Has anyone got a Compaq(/HP) T700 UPS to work with the BCMXCP driver? I've built yesterday's CVS of NUT 2.1 on one of my FreeBSD systems but chown root:wheel /dev/cuaa0 /usr/local/libexec/upsdrvctl -u root start gives: -- Network UPS Tools - UPS driver controller 2.1.0 Network UPS Tools - BCMXCP UPS driver 0.10 (2.1.0) Communications with UPS lost: Error executing command Communications with UPS lost: Error executing command Communications with UPS lost: Error executing command Communications with UPS lost: Error executing command Communications with UPS lost: Error executing command Can't find the UPS on port /dev/cuaa0! Driver failed to start (exit status=1) -- I tried several values for baud_rate but with the same result. ups.conf contains: -- [compaq] driver = bcmxcp port = /dev/cuaa0 desc = "Compaq T700h" -- I'm assuming that the UPS and cable are OK since Windows XP detects the presence of a Powerware UPS. Any suggestions or pointers would be appreciated Regards Bernard -- Dr Bernard J. Treves Brown, Research Fellow Chemical Engineering and Analytical Science, University of Manchester, P.O. Box 88, Manchester. M60 1QD UK Email: B.J.Treves.Brown@manchester.ac.uk Tel: +44 (0) 161-306 8900 Fax: +44 (0) 161-306 4896
Bernard J. Treves Brown wrote:>Hi > >Has anyone got a Compaq(/HP) T700 UPS to work with the BCMXCP >driver? I've built yesterday's CVS of NUT 2.1 on one of my FreeBSD systems but >chown root:wheel /dev/cuaa0 >/usr/local/libexec/upsdrvctl -u root start >gives: > >-- >Network UPS Tools - UPS driver controller 2.1.0 >Network UPS Tools - BCMXCP UPS driver 0.10 (2.1.0) > >Communications with UPS lost: Error executing command >Communications with UPS lost: Error executing command >Communications with UPS lost: Error executing command >Communications with UPS lost: Error executing command >Communications with UPS lost: Error executing command >Can't find the UPS on port /dev/cuaa0! >Driver failed to start (exit status=1) >-- > >I tried several values for baud_rate but with the same result. > >ups.conf contains: > >-- >[compaq] > driver = bcmxcp > port = /dev/cuaa0 > desc = "Compaq T700h" >-- > >I'm assuming that the UPS and cable are OK since Windows XP detects >the presence of a Powerware UPS. > >I am not one of the experts, but you aren't running freebsd-6.0+ are you? if so, you'll want to use /dev/cuad0
Hi Further to my email last Thursday I now have my Compaq T700h more-or-less working with NUT on FreeBSD 5.4. Many thanks to Kjell Claesson for suggesting the upscode2 driver rather than BCMXCP. /usr/local/libexec/nut/upsdrvctl start works with no errors using this ups.conf: - it takes about 20 seconds. ---- [compaq] ??????? driver = upscode2 ??????? port = /dev/cuaa0 ??????? desc = "Compaq T700h" ??????? manufacturer = "Compaq" ??????? input_timeout = 5 ??????? use_pre_lf = yes ----- I said it more-or-less worked... # /usr/local/sbin/upsd Network UPS Tools upsd 2.1.0 Connected to UPS [compaq]: compaq Synchronizing........ giving up Initially I got occasional comments in /var/log/messages about stale data (about 1/hour) but setting MAXAGE 30 in upsd.conf seems to have fixed that. However the MAXAGE change didn?t make any difference to the "Synchronizing" problem - is the synchronization with slave systems (I don?t have any) or with the UPS driver? Although upsd apparently is not synchronized, upsmon starts, although it logs the message Poll UPS [compaq@localhost] failed - Variable not supported by UPS. Suggestions welcome for these nits but essentially the system seems to work. Regards Bernard -- Dr Bernard J. Treves Brown, Research Fellow Chemical Engineering and Analytical Science, University of Manchester, P.O. Box 88, Manchester. M60 1QD UK Email: B.J.Treves.Brown@manchester.ac.uk Tel: +44 (0) 161-306 8900 Fax: +44 (0) 161-306 4896