I have been running a Smart-UPS RT 3000 VA using nut successfully over the 940-0095B cable for a couple of years. I have just received a second unit, but it is slightly different in 3 ways that I have found so far. 1. It's a Smart-UPS RT 3000 XL 2. The 940-0095B cable now uses an RJ45 connector at the UPS end. 3. It now requires a baud rate of 9600 instead of the 2400 used previously. Can anyone tell me if modifying drivers/apcsmart.c void upsdrv_initups(void) { char *cable; upsfd = ser_open(device_path); ser_set_speed(upsfd, device_path, B2400); to void upsdrv_initups(void) { char *cable; upsfd = ser_open(device_path); ser_set_speed(upsfd, device_path, B9600); all that is required in order to get nut to talk to it, or will other things need changing? Regards, Richard
Hi Richard, 2009/7/6 Richard Scobie <richard at sauce.co.nz>> I have been running a Smart-UPS RT 3000 VA using nut successfully over the > 940-0095B cable for a couple of years. > > I have just received a second unit, but it is slightly different in 3 ways > that I have found so far. > > 1. It's a Smart-UPS RT 3000 XL > > 2. The 940-0095B cable now uses an RJ45 connector at the UPS end. >if you have the cable schema, I can post it on the cable section of the website...> 3. It now requires a baud rate of 9600 instead of the 2400 used previously. > > Can anyone tell me if modifying drivers/apcsmart.c > > void upsdrv_initups(void) > { > char *cable; > > upsfd = ser_open(device_path); > ser_set_speed(upsfd, device_path, B2400); > > to > > void upsdrv_initups(void) > { > char *cable; > > upsfd = ser_open(device_path); > ser_set_speed(upsfd, device_path, B9600); > > all that is required in order to get nut to talk to it, or will other > things need changing? >yep, that should be sufficient. have you tried this change? I can check for automating this detection but I need a driver debug output to validate it first. can you send me the result of: /path/to/apcsmart -DDD -a <upsname> cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090707/60db9545/attachment.htm>
2009/7/8 Richard Scobie <richard at sauce.co.nz>> Arnaud Quette wrote: > > I'm not an apc knowlee (and really don't want to become, really!), but it >> may have something to do with the smart more detection (sending 'Y' or ESC >> then 'Y' it seems). >> >> have you seen anything with your hyperterm? >> you will possibly have to dig a bit to get more info. >> >> btw, I've found that: >> http://www.nabble.com/APC-Cable-940-1525-td20503786.html >> > > This link above is the key I think - this is exactly the UPS I have and > judging from the the comment "new SmartUPS units that use a new proprietary > undocumented protocol" and "however APC has refused to provide any protocol > details", things do not look good. > > I would be very happy to do what I can to provide more details, but this > UPS is in active service, so testing would have to be sporadic. > > Back to the APC software I guess... >you can still ask apc support to disclose info and cooperate with NUT! or exchange your unit for a NUT friendly (my guess... hem, Eaton for sure ;-) about the test, I've no clue apart from ESC + try every letter and check the result. Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090708/d0f13b5e/attachment.htm>
On Wednesday 15 July 2009, Richard Scobie wrote:>Arnaud Quette wrote: >> so your only solution seems to be an additional card... > >And no more purchases from APC. Prospective APC buyers should check >carefully beforehand. >Or use apcupsd instead? They even have a linux mailing list.>Regards, > >Richard > >_______________________________________________ >Nut-upsuser mailing list >Nut-upsuser at lists.alioth.debian.org >http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser-- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. <https://www.nrahq.org/nrabonus/accept-membership.asp> You can do more with a kind word and a gun than with just a kind word. - Al Capone