Hi Richard, 2009/7/6 Richard Scobie <rich...@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/
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser