Hi, I have just created a new branch concerning the porting of NUT to Windows. It is currently only in a "preversion for investigation" state. So do not expect too much if you manage to compile it (It is meant to be compiled with MinGW in a MSYS environment). Right now, I have managed to run upsd.exe communicating with dummy-ups.exe, netxml-ups.exe and usbhid-ups.exe drivers, and upsc.exe successfully get ups data from upsd.exe. Serial part of NUT still need serious porting effort before compiling, so use --without-serial with configure. As we are in investigation phase, we will be happy to read your feedback about this. Regards, Frederic Bohe --------------------------------------------------------------------------
On Mon, Oct 18, 2010 at 9:54 AM, Fr?d?ric Boh? <fredericbohe at eaton.com> wrote:> It is currently only in a "preversion for investigation" state. So do > not expect too much if you manage to compile it (It is meant to be > compiled with MinGW in a MSYS environment). > Right now, I have managed to run upsd.exe communicating with > dummy-ups.exe, netxml-ups.exe and usbhid-ups.exe drivers, and upsc.exeWhat libraries are needed to talk to USB UPSes? Also, for regression testing, I tried to compile the branch on a non-Windows builder: http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-lucid-x86/builds/6/steps/compile/logs/stdio Should there be wincompat.[ch] files in server/ as well as clients/? If so, could we put them both in common/? -- - Charles Lepple
On mar., 2010-10-19 at 21:22 -0400, Charles Lepple wrote:> On Mon, Oct 18, 2010 at 9:54 AM, Fr?d?ric Boh? <fredericbohe at eaton.com> wrote: > > It is currently only in a "preversion for investigation" state. So do > > not expect too much if you manage to compile it (It is meant to be > > compiled with MinGW in a MSYS environment). > > Right now, I have managed to run upsd.exe communicating with > > dummy-ups.exe, netxml-ups.exe and usbhid-ups.exe drivers, and upsc.exe > > What libraries are needed to talk to USB UPSes?You have to install a device driver from libusb-win32 for each USB device you want to talk to.> > Also, for regression testing, I tried to compile the branch on a > non-Windows builder: > > http://buildbot.networkupstools.org/public/nut/builders/Ubuntu-lucid-x86/builds/6/steps/compile/logs/stdio > > Should there be wincompat.[ch] files in server/ as well as clients/? > If so, could we put them both in common/? >done ! --------------------------------------------------------------------------