Hello. I've been trying to got it work but haven't luck. I'm using NUT 2.6.0-1 under Windows XP with libusb driver installed (USB\VID_0D9F&PID_0004&REV_0001). I had tryed all options with such config: *PWCOM] driver = usbhid-ups port = auto vendorid = 0d9f desc = "Powercom BNT-800AP" type=BNT* * *Here is output from CMD:* c:\Program Files (x86)\NUT\bin>usbhid-ups.exe -DDDDD -a PWCOM Network UPS Tools - Generic HID driver 0.35 (2.6.1-3057:3116M) USB communication driver 0.31 0.000000 send_to_all: SETINFO driver.parameter.port "auto" 0.000000 debug level is '5' 0.010000 upsdrv_initups... 0.010000 Checking device (0D9F/0004) (bus-0/\\.\libusb0-0001--0x0d9f-0x00 04) 0.040000 - VendorID: 0d9f 0.050000 - ProductID: 0004 0.050000 - Manufacturer: POWERCOM Co.,LTD 0.050000 - Product: HID UPS Battery 0.050000 - Serial Number: 004-0D9F-000 0.060000 - Bus: bus-0 0.060000 Trying to match device 0.060000 This PowerCOM device (0d9f:0004) is not (or perhaps not yet) sup ported by usbhid-ups. Please make sure you have an up-to-date version of NUT. If this does not fix the problem, try running the driver with the '-x productid=0004' option. Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. 0.090000 Device does not match - skipping 0.090000 No appropriate HID device found 0.090000 No matching HID UPS found* Could you please advise me where my missconfiguration? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20111004/faf20350/attachment.html>
Hi Pavel, 2011/10/4 ????? ??????? <pavel.gumenyuk at gmail.com>:> Hello. > I've been trying to got it work but haven't luck. > I'm using NUT 2.6.0-1 under Windows XP with libusb driver installed > (USB\VID_0D9F&PID_0004&REV_0001). > I had tryed all options with? such config: > > PWCOM] > ??????? driver = usbhid-ups > ??????? port = auto > ??? ??? vendorid = 0d9f > ??????? desc = "Powercom BNT-800AP" > ????? type=BNTas per a previous report on Ubuntu, we know that this UPS is supported: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/753661 that being said, it seems I've not completed my actions and committed a patch for this new device ID. Fixed in the development version (trunk), r3265. Also note that the "type" option is supported by the "powercom" driver, not the "usbhid-ups" one. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
Hi Pavel, first, please keep the traffic on the list, since other users may be interested in these info... 2011/10/6 ????? ??????? <pavel.gumenyuk at gmail.com>:> Hi Arnaud, > Great news. So, it could be working. > It means that I need to get trunk version of compiled driver for windows, > isn't it? > Should I compile it with gcc or other C compiler? > Thank UI'll defer to Fred to answer on this one. the base is Mingw, but the Windows port is still on a separate branch (ie, not the trunk). whereas your fix is actually in the trunk... cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/> 2011/10/5 Arnaud Quette <aquette.dev at gmail.com> >> >> Hi Pavel, >> >> 2011/10/4 ????? ??????? <pavel.gumenyuk at gmail.com>: >> > Hello. >> > I've been trying to got it work but haven't luck. >> > I'm using NUT 2.6.0-1 under Windows XP with libusb driver installed >> > (USB\VID_0D9F&PID_0004&REV_0001). >> > I had tryed all options with? such config: >> > >> > PWCOM] >> > ??????? driver = usbhid-ups >> > ??????? port = auto >> > ??? ??? vendorid = 0d9f >> > ??????? desc = "Powercom BNT-800AP" >> > ????? type=BNT >> >> as per a previous report on Ubuntu, we know that this UPS is supported: >> https://bugs.launchpad.net/ubuntu/+source/nut/+bug/753661 >> >> that being said, it seems I've not completed my actions and committed >> a patch for this new device ID. >> Fixed in the development version (trunk), r3265. >> >> Also note that the "type" option is supported by the "powercom" >> driver, not the "usbhid-ups" one. >> >> cheers, >> Arnaud >> -- >> Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com >> Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ >> Debian Developer - http://www.debian.org >> Free Software Developer - http://arnaud.quette.free.fr/ > >