[Nut-upsdev] megatec over USB - using Andrey Lelikov's approach

Arjen de Korte arjen at de-korte.org
Sun Dec 31 15:29:37 CET 2006


Alexander I. Gordeev wrote:

> Well, thank you for comments! If I understand right I should modify
> Andrey's megatec_usb.c API to conform to one defined in serial.h and
> then at link time select over serial.o and serial_usb.o (or usb.o)?

I would prefer to name this serial_usb.o, since it is basically a serial
protocol over an USB interface.

> This way can possibly simplify merging too :)

Indeed and furthermore, we might be able to make this generic enough
that other drivers (with similar hardware) can use it too.

> Surely, it is sensible. So I begin to work on Andrey's code.

Great! Looking forward to the code!

Best regards, Arjen



More information about the Nut-upsdev mailing list