Christian Ruppert
2009-Aug-03 14:51 UTC
[Nut-upsuser] SmartUPS-600 problem with 940-0024C cable
Hey guys, I built my own 940-0024C cable as described here: http://www.networkupstools.org/cables/940-0024C.jpg My problem is that I can't receive anything. Sending (e.g. through minicom or my own application) works fine. Nut itself is not able to detect My UPS or anything else. <snip> [myups] driver = apcsmart port = /dev/ttyS0 cable = 940?0024C # also tested without cable option desc "apc test" </snip> # /lib/nut/apcsmart -a myups -D Network UPS Tools - APC Smart protocol driver 2.00 (2.4.1) APC command table version 2.0 debug level is '1' # some delay here.. Unable to detect an APC Smart protocol UPS on port /dev/ttyS0 Check the cabling, port name or model name and try again So as I said above, sending through My own app or minicom works fine but I'm not able to receive anything. I checked all wires again and again, connections is ok, pins are ok. Is there anybody who has the same UPS (mine is from 1990) and who is able to receive something? -- Regards, Christian Ruppert -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090803/1a7a70b3/attachment-0001.pgp>
Bob Blackwell
2009-Aug-03 17:29 UTC
[Nut-upsuser] SmartUPS-600 problem with 940-0024C cable
Information found in the FAQ section leads me to believe the cable description being used is incorrect. Try using cable = 940-0095B. The FAQ follows; Q: I have an APC Smart-UPS connected with a grey APC cable and it won't work. The Back-UPS type in the genericups driver works but then I don't get to use all the nifty features in there. Why doesn't the right driver work? A: The problem lies in your choice of cable. APC's grey cables generally only do "dumb" signalling - very basic yes/no info about the battery and line status. While that is sufficient to detect a low battery condition while on battery, you miss out on all the goodies that you paid for. Note that the 940-0095B happens to be a grey cable, but it is actually a dual mode cable and can be used in smart mode. If you have this cable, you need to edit your ups.conf to look like this: [myups] driver = apcsmart port = /dev/whatever cable = 940-0095B All other grey cables from APC are assumed to be "dumb". If your grey cable isn't the 940-0095B, the solution is to dump that cable and find one that supports APC's "smart" signalling. Typically these come with the UPS and are black. If your smart cable has wandered off, one can be built rather easily with some connectors and cable - there's no fancy wiring or resistors. See this URL for a handy diagram: http://random.networkupstools.org/cables/940-0024C.jpg -- Bob Blackwell Pickering, Ontario www.afticarr.com Organ donation can save a life. Please sign your organ donor card.