[Nut-upsuser] HP R3000 XR (BCMXCP) serial connection problem: e7!!! and e2!!!
Robert Grønning
slimg at iggu.org
Thu Jul 1 13:40:11 UTC 2010
UPS: HP R3000 XR with HP UPS Management Module
What I Want:
I just want the UPS to shut down the client called "tor" before the UPS
power drains out, I'd prefer to use a direct serial cable instead of
network, in case the network doesn't work.
I'll manage the UPS trough the ethernet using the built-in HTTP
webinterface in the HP UPS Management Module.
I've created a DB9-RJ45 cable according to the spec (called "-RJ-45 Serial
1-5 (5-Port)") released by Brian Vo
in this forumthread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1277983799644+28353475&threadId=1320596
So this is how my cable look like now:
DB9-3 <---> RJ45-4
DB9-2 <---> RJ45-5
DB9-5 <---> RJ45-6
This cable is connected between port2 on the HP UPS Management Module, and
the onboard DB9 connector on a server running Ubuntu 10.04 and NUT 2.4.3
In the HP UPS Management Module, I've set up a client called "tor" in
load1, and assigned serial port2 to it with a shutdown time of 2 minutes.
This is my nut configuration in /etc/nut/ups.conf :
[aasgaard]
driver = bcmxcp
port = /dev/ttyS0
This is what happens when i try to start the driver:
-----------START-----------
robert at tor:~$ sudo upsdrvctl start
Attempting to autodect baudrate
Communications with UPS lost: Receive error (Requested only mode
command): e7!!!
Communications with UPS lost: Receive error (Requested only mode
command): e2!!!
Can't connect to the UPS on port /dev/ttyS0!
Driver failed to start (exit status=1)
-----------STOP-----------
I've also tried replacing this cable with a regular ethernet cable, and
the original HP 432734-001 (AF401A) RJ45-DB9 adapter, this is the result I
get:
-----------START-----------
robert at tor:~$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - BCMXCP UPS driver 0.23 (2.4.3)
RS-232 communication subdriver 0.17
Attempting to autodect baudrate
Can't connect to the UPS on port /dev/ttyS0!
Driver failed to start (exit status=1)
-----------STOP-----------
Can anyone in any way help me toward making this work?
More information about the Nut-upsuser
mailing list