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

Arnaud Quette aquette.dev at gmail.com
Tue Jul 7 20:00:00 UTC 2009


just to complete my previous request...

2009/7/7 Arnaud Quette <aquette.dev at gmail.com>

> 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>
>

both with and without your change applied.

Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090707/af42a724/attachment.htm>


More information about the Nut-upsuser mailing list