[Nut-upsdev] NUT on Windows

Alexey Loukianov mooroon2 at mail.ru
Mon Jan 18 02:21:44 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

18.01.2010 05:03, Charles Lepple wrote:
> On Jan 17, 2010, at 8:31 PM, Alexey Loukianov wrote:

> You might check to see if WinNUT uses any of the NUT core code, or if  
> any of the build system could help port the rest of NUT.

WinNUT is monitor client only so it don't talk to USPes directly. Will try to
search google for cygwin port of libusb and NUT to Windows. Looks like windows
support it is not the frequently requested thing :-D.


> The thing is, many of the devices that NUT supports are USB HID Class.  
> The easiest way to access HID Class devices in Windows is not to try  
> and talk HID protocol directly the way that we do with libusb, but to  
> use the Windows HID APIs.

I hadn't had any experience with utilizing USB devices under Windows but it
seems to me that in case there are any working windows ports of libusb, its API
should be almost the same as it is for any other operating system. There's no
point in porting common library to another platform and changing API's
drastically along the way. It then would be easier to create a totally new
library with a different API that integrates best into target operating system.

- -- 
Best regards,
Alexey Loukianov                          mailto:mooroon2 at mail.ru
System Engineer,                            Mob.:+7(926)218-1320
*nix Specialist

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLU8W4AAoJEPB9BOdTkBUL9MYH/08DsRGdyqMkHWSdiYREbst9
4/ZJGcarIy4rZHSF+U8VfjTlFJeqno9E71rgDdJpNu93NXsg+U6EQM/lOdFkBdtt
K4D/CImSgoQaMQg077G7TRxnuwffqd1XO7KnjoqChiaXTUuugJACLwtOUZxzcKhX
FPjFYmxTL5MCa+vDXGouUwk0hm7D30cxGZ72xs3ESx/XBKvmOt17tfFcS2vf8zDV
Rxq0D9oiu6LiMC5SPP0v187bApQDBxoqdbc9lQWg8bnkZHhOqBEs5jiBk5NLLnoB
xyPyUF0W0PQztYD7TOHTP5rfNlYRMXQrffms8JJ4exe3Rp2O2/CYXBCMb7/h4+c=
=nPJh
-----END PGP SIGNATURE-----



More information about the Nut-upsdev mailing list