Citeren Arjen de Korte <[email protected]>:

Also, the NXe has two serial ports, one 2400 baud (same as the GXT2), which is disabled when using the ethernet option and another at 9600 baud. The NUT driver assumes 2400 baud. To find how to implement this, will need to find an example NUT driver that uses differing serial baud rates, any suggestions?
The most reliable option is to default to 2400 baud, but allow to override this in the 'ups.conf' file to another baudrate. We have attempted autodetection in the past, but this takes more time (which we don't want if the system is on battery and we want to send it a shutdown command).

I just committed r2431, that adds the 'baudrate' option to 'ups.conf'. Add

    baudrate = 9600

if you want to override the default value (2400). Just in case, it supports 1200, 2400, 4800, 9600 and 19200. Let me know if I missed something here.

Best regards, Arjen
--
Please keep list traffic on the list


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to