[Nut-upsuser] Smart-UPS RT 3000 Baud Rate

Richard Scobie richard at sauce.co.nz
Mon Jul 6 04:24:49 UTC 2009


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



More information about the Nut-upsuser mailing list