Re: [Apcupsd-users] Windows Driver Issue
Brought to you by:
adk0212
From: Adam K. <akr...@ro...> - 2011-09-30 01:58:22
|
On Thu, Sep 29, 2011 at 9:37 PM, Michael Ribbons <mri...@ho...> wrote: > Operating System: Windows XP SP3 > APCUPSD Version: 3.14.10 (Installed from winapcupsd-3.14.10.exe) > UPS: HP T1500 G3 > Cable: USB > > Problem: Unable to install USB driver > > Hi, > Firstly I realise that my UPS isn't an APC branded device. I have > successfully configured apcupsd on linux for this UPS, so I'm assuming I can > do the same for windows. That's theoretically possible, but the apcupsd USB driver for Windows only has IDs in it for APC branded UPSes. That's why it's not working for you. Linux is much smarter than Windows and does not require you to specify the IDs which is why it is working for you. f course, no guarantees on non-APC branded equipment... > I ran the winapcupsd-3.14.10.exe installer before connecting the USB cable > from the UPS to the computer. > > After I connected the cable, windows detected the device, I now have two > entries in device manager: > > Batteries\HID UPS Battery > > Human Interface Devices\USB Human Interface Device > > Under properties this one says > Location: Location 0 (HP T1500 G3 UPS) > > If I try to update driver on either of these and point to c:\apcupsd\driver, > windows says "The specified location does not contain information about your > hardware". > > (Update Driver, Install from a list or specific location, Don't Search, Have > Disk, set path as c:\apcupsd\driver or c:\apcupsd\driver\i386) > > It looks to me as if Windows already has a driver for this UPS - Is this > driver compatible with apcupsd? No, the standard Windows driver will not work with apcupsd. What you need to do in order to make this work is figure out the Vendor and Product IDs (VID & PID) of your UPS. Once you know those you can modify the apcupsd.inf file to match them and it should work for you. I can walk you through that once you get the PID/VID. You can get the VID/PID on Linux by connecting the UPS and looking in "cat /proc/bus/usb/devices". You also may be able to find it in the Windows property dialog for the device on one of the tabs. --Adam |