[Nut-upsdev] Megatec driver : Definitely a serial com setup issue !
Arjen de Korte
nut+devel at de-korte.org
Sat May 24 13:41:09 UTC 2008
> So in some manner the "sniffer" fixes nut's driver (in)ability to properly
> use the computers' serial port.
>
> This is completely reproductible and 100% consistent everytime.
>
> Uh, Uh... Any clue ?
Depending on the sniffer you're using, it may or may not pass on the
status of the modem control lines. Try if setting the lines
> ser_set_dtr(upsfd, 0);
> ser_set_rts(upsfd, 1);
in upsdrv_initups() in 'megatec.c' helps. You may need to fiddle around
with the values.
Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
More information about the Nut-upsdev
mailing list