Hi Richard,<br><br><div class="gmail_quote">2009/7/6 Richard Scobie <span dir="ltr">&lt;<a href="mailto:richard@sauce.co.nz">richard@sauce.co.nz</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have been running a Smart-UPS RT 3000 VA using nut successfully over the 940-0095B cable for a couple of years.<br>
<br>
I have just received a second unit, but it is slightly different in 3 ways that I have found so far.<br>
<br>
1. It&#39;s a Smart-UPS RT 3000 XL<br>
<br>
2. The 940-0095B cable now uses an RJ45 connector at the UPS end.<br>
</blockquote><div><br>if you have the cable schema, I can post it on the cable section of the website...<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

3. It now requires a baud rate of 9600 instead of the 2400 used previously.<br>
<br>
Can anyone tell me if modifying drivers/apcsmart.c<br>
<br>
void upsdrv_initups(void)<br>
{<br>
        char    *cable;<br>
<br>
        upsfd = ser_open(device_path);<br>
        ser_set_speed(upsfd, device_path, B2400);<br>
<br>
to<br>
<br>
void upsdrv_initups(void)<br>
{<br>
        char    *cable;<br>
<br>
        upsfd = ser_open(device_path);<br>
        ser_set_speed(upsfd, device_path, B9600);<br>
<br>
all that is required in order to get nut to talk to it, or will other things need changing?<br>
</blockquote><div><br>yep, that should be sufficient. have you tried this change?<br>I can check for automating this detection but I need a driver debug output to validate it first.<br>can you send me the result of:<br>/path/to/apcsmart -DDD -a &lt;upsname&gt;<br>
</div></div><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br><br>