[Nut-upsuser] Windows 2008 R2 USBHID-UPS VendorID & Serial

Charles Lepple clepple at gmail.com
Thu Sep 1 13:12:11 UTC 2011


On Aug 31, 2011, at 9:13 AM, Ian Wells wrote:

> Hi All,
>
> I’m trying to configure NUT 2.6.1 on Windows 2008 R2 to recognise  
> two APC Smart-UPS 3000 devices connected via USB cables.
>
> I have correctly installed libusb-win32, and run the driver wizard.
>
> In my ups.conf I have :-
>
> [Upper]
>        driver = usbhid-ups
>        port = auto
>        desc = "Upper Smart-UPS 3000"
>        vendorid = 051d
>        serial = “JS1011030553”

^ Does your configuration file have regular double-quotes (") or the  
"smart quotes" shown above? (“”)

>
> [Lower]
>        driver = usbhid-ups
>        port = auto
>        desc = "Lower Smart-UPS 3000"
>        vendorid = 051d
>        serial = "JS1011030544"
>
>
> However, this configuration cause the driver to crash.
> I have further identifed that inclusion of even a single instance of  
> the ‘vendorid’ or ‘serial’ entries will also cause the driver to  
> crash i.e. :-
>
> [Upper]
>        driver = usbhid-ups
>        port = auto
>        desc = "Upper Smart-UPS 3000"
> #      vendorid = 051d
>        serial = “JS1011030553”
>
> #[Lower]
> #      driver = usbhid-ups
> #      port = auto
> #      desc = "Lower Smart-UPS 3000"
> #      vendorid = 051d
> #      serial = "JS1011030544"
>
> Or
>
> [Upper]
>        driver = usbhid-ups
>        port = auto
>        desc = "Upper Smart-UPS 3000"
>        vendorid = 051d
> #      serial = “JS1011030553”
>
> #[Lower]
> #      driver = usbhid-ups
> #      port = auto
> #      desc = "Lower Smart-UPS 3000"
> #      vendorid = 051d
> #      serial = "JS1011030544"
>
> Can you let me know whether the driver on Windows _should_ be  
> capable of supporting two UPS devices in this way?

I CC'd Fred at Eaton, who is working on the Windows port. If the code  
is in place, maybe he has some suggestions for getting a crash dump to  
help debug this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110901/1cc0c073/attachment-0001.html>


More information about the Nut-upsuser mailing list