Hi there,

Le Saturday 24 May 2008 15:41:09 Arjen de Korte, vous avez écrit :
>
> Try if setting the lines
> ser_set_dtr(upsfd, 0);
> ser_set_rts(upsfd, 1);
> in upsdrv_initups() in 'megatec.c' helps.

Thank you Arjen, it solves the issue and the Megatec driver immedately sees my 
UPS with this.

Strange enough, the original megatec.c had exactly the (not working) 
contrary :

ser_set_dtr(upsfd, 1);
ser_set_rts(upsfd, 0);

...a bug ?

Best regards.

-- 
Michel Bouissou <[EMAIL PROTECTED]> OpenPGP ID 0xEB04D09C

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

Reply via email to