Powerware UPS Driver ReadMe File (UPSDriversReadMe.txt) The Powerware UPS driver allows Powerware UPSs that communicate via serial and USB to be connected to Windows computers. The driver has been thoroughly tested for system and device compatibility, and has passed Microsoft's WHQL certification process, making it a certified driver for WinXP. ***IMPORTANT*** Read section 8.0 "Known Issues" before installing this driver. *************** ----------------------------------------------------- Contents ----------------------------------------------------- 1.0 Powerware Driver Version and Compatible Devices 1.1 Powerware Driver Version 1.2 Compatible Devices (USB) 1.3 Compatible Devices (Serial) 2.0 Driver Support Files 3.0 Location of Installation / Driver Files: 4.0 Serially Connected (PnP) UPSs - Install / Upgrade / Uninstall 4.1 Purpose 4.2 Install 4.3 Upgrade 4.4 Uninstall 5.0 USB Connected UPSs - Install / Upgrade / Uninstall 5.1 Install 5.2 Upgrade 5.3 Uninstall 6.0 Frequently Asked Questions (FAQ) 7.0 Manually Removing Driver and INF files 8.0 Known Issues ----------------------------------------------------- ----------------------------------------------------- 1.0 UPS Driver Version and Compatible Devices ----------------------------------------------------- --------------------------- 1.1 UPS Driver Version --------------------------- Package Version............2.1.1 WinDrvr6.sys...............6.2.2.1 PwCoinst.dll...............1.1.0.2 WdReg.exe..................7/26/2004 WdReg16.exe................7/26/2004 --------------------------- 1.2 Compatible Devices (USB) --------------------------- - Powerware UPSs with built-in USB - X-slot USB Card (firmware v1.07 or higher required) --------------------------- 1.3 Compatible Devices (Serial) --------------------------- - Powerware UPSs with serial COM ports ----------------------------------------------------- 2.0 Driver Support Files ----------------------------------------------------- - PwSrlPnP.inf Installation file for serially-connected UPS devices (ie, installed on COM1 or COM2) Automatic Installation - PwdUSB.inf Installation file for USB-connected UPS devices Automatic Installation - ForUSBonWin98_ME.bat Batch file to complete USB UPS installation on Win98 or WinME Manual Installation - PwCoinst.dll Coinstaller DLL file Automatic Installation - Wdreg.exe, Wdreg16.exe WinDriver registration program Automatic Installation - WinDrvr6.sys Jungo WinDriver driver file Automatic Installation - WinDrvr6.cat WinDriver Catalog file Automatic Installation - WinDrvr6.inf Installation file for WinDrvr6.sys Automatic Installation - Uninstall_WinDriver_Win9x.bat Batch file that may be used to install WinDriver (Win98, WinME) Manual Uninstall - Uninstall_WinDriver_XP_2000.bat Batch file that may be used to install WinDriver (Win2000 and later) Manual Uninstall ----------------------------------------------------- 3.0 Location of Installation / Driver Files ----------------------------------------------------- When your operating system prompts you with an Add Hardware dialog box, you should reference the UPSDriver directory containing these INF files: * PwdUSB.inf for installing a Universal Serial Bus (USB) UPS * PwSrlPnp.inf for a serially-connected (PnP) UPS For example, if you are using the Software Suite CD, the path would be '[DriveLetter]:\UPSDriver' ----------------------------------------------------- 4.0 Serially-connected (PnP) UPSs Install / Upgrade / Uninstall ----------------------------------------------------- --------------------------- 4.1 Purpose --------------------------- Serially connected UPSs do not need any driver file, but the installation procedure satisfies Windows' requirement to register the device, so the "New Hardware Found" wizard will not reappear the next time the system boots up. --------------------------- 4.2 Install --------------------------- For new installations, where a Powerware UPS has not previously been installed on the PC system: If the New Hardware Wizard is not invoked automatically by your system, then from the Start menu, select Settings->Control Panel->Add New Hardware and follow the steps of the New Hardware Wizard, pointing it to the UPSDriver folder containing PwSrlPnp.inf. --------------------------- 4.3 Upgrade --------------------------- If you have previously installed a Serially-connected (PnP) UPS, there are no changes necessary. --------------------------- 4.4 Uninstall --------------------------- For Windows 2000: From the Start menu, select Settings->Control Panel->Add/Remove Hardware, and follow the steps to Remove the Powerware UPS device. For Win98: From the Start menu, select Settings->Control Panel->System, then push the "Device Manager" button; find the Powerware UPS in the Device List (as a Battery device) and Uninstall or Remove it. ----------------------------------------------------- 5.0 USB Connected UPSs Install / Upgrade / Uninstall ----------------------------------------------------- --------------------------- 5.1 Install --------------------------- These directions are for new installations, where a Powerware UPS has not previously been installed on the PC system. 1) Plug the USB cable into computer. The "Found New Hardware Wizard" appears. 2) If the New Hardware wizard asks "Can Windows connect to Windows Update to search for software?", select "No, not this time". 3) When the New Hardware wizard gives you a choice between "Install software automatically" and "from a list", you may do either. (The automatic method searches removeable media, like the installation CD.) 4) If automatic installation does not work or is not offered, provide the New Hardware wizard with the specific location of the UPSDriver folder containing the INF file PwdUSB.inf. Note: On Win2000 the you must browse for, and select, the specific INF file (PwdUSB.inf). On XP and above, you just browse for the directory containing the INF file. Win2000/XP/2003: 1) The coinstaller will be launched and the WinDriver driver file will be installed and registered automatically. 2) If the system tells you that you must reboot Windows when done, ignore the message. If you like, you can unplug and replug the USB cable and achieve the same affect as rebooting, as far as the USB driver is concerned. Win98/WinME: 1) You must perform one manual step to complete the installation. Browse for the UPSDriver folder and double-click the icon for batch file ForUSBonWin98_ME.bat; it will run the program to register the WinDriver. 2) If the system tells you that you must reboot Windows when done, ignore the message. If you like, you can unplug and replug the USB cable and achieve the same affect as rebooting, as far as the USB driver is concerned. -------------- How to tell that the installation succeeded -------------- 1) Start the Device Manager: * Win98: Start Menu->Settings->Control Panel->System->Device Manager button. * Win2000: Start Menu->Settings->Control Panel->System->Hardware->Device Manager button. * Or run the "Computer Management" program, which may appear on your PC under Start->Programs->Administrative Tools->Computer Management; select Device Manager from the list of tools. 2) Look for a device called "USB UPS" or "USB UPS (X-slot)" under the Battery group. Should be present with no warnings from Device Manager. 3) Look for a second (virtual) device called "WinDriver" under the System devices group. Again, should be present with no warnings from the Device Manager. -------------- Next Step -------------- Install the UPS application (e.g., LanSafe) by locating its Setup.exe and clicking on it. --------------------------- 5.2 Upgrade --------------------------- If you have previously installed a USB UPS with the PwUps.sys driver file, (e.g., for LanSafe 3) you must follow the Upgrade procedure. If you used the Windows Add Hardware functionality to reinstall your UPS and it automatically ran the LanSafe setup application, then your system is using the old driver. Use the Upgrade procedure to ensure your UPS will function properly. To perform this procedure, you need to get the New Hardware Wizard to run. We will "Reinstall" or "Upgrade" the driver, which will substitute the WinDriver for the existing PwUsb.sys driver. You can then leave the old PwUsb.sys file in place; it will not be loaded again and will not cause any harm by its presence. 1) Plug in the USB cable from the UPS. Since this is an upgrade, the New Hardware Wizard will probably not run automatically. 2) Start the Device Manager: * Win98: Start Menu->Settings->Control Panel->System->Device Manager button. * Win2000: Start Menu->Settings->Control Panel->System->Hardware->Device Manager button. * Or run the "Computer Management" program, which may appear on your PC under Start->Programs->Administrative Tools->Computer Management; select Device Manager from the list of tools. 3) Find the existing Powerware UPS device, usually under the Battery group. Right click on its icon, and select "Properties". 4) Switch to the "Driver" tab, and select the "Upgrade Driver" button. This launches the New Hardware Wizard. 5) Select the options to "Search for a better driver" and "Specify a location", then browse to the location of your USBDriver folder. Note: On Win2000 the you must browse for, and select, the specific INF file (PwdUSB.inf). On XP and above, you just browse for the directory containing the INF file. 6) The Wizard will then tell you that it already has a suitable driver installed, but has found other drivers. Select the option to choose one of the other drivers (eg, "Install one of the other drivers"). 7) It will then present a list that contains the PwdUSB.inf file in one entry; select that entry and continue with the installation. Win2000/XP/2003: 1) The coinstaller will be launched and the WinDriver driver file will be installed and registered automatically. 2) If the system tells you that you must reboot Windows when done, ignore the message. If you like, you can unplug and replug the USB cable and achieve the same affect as rebooting, as far as the USB driver is concerned. Win98/WinME: 1) You must perform one manual step to complete the installation. Browse for the UPSDriver folder and double-click the icon for batch file ForUSBonWin98_ME.bat; it will run the program to register the WinDriver. 2) If the system tells you that you must reboot Windows when done, ignore the message. If you like, you can unplug and replug the USB cable and achieve the same affect as rebooting, as far as the USB driver is concerned. --------------------------- 5.3 Uninstall --------------------------- There are two devices that can be removed: the USB UPS device in the Battery group, and the virtual WinDriver device in the System device group of the Device Manager. To remove the USB UPS device: * Win98: With the USB cable plugged in, find it with the Device Manager (see direction above). Right click on its icon and select "Uninstall" or "Remove". * Win2000: Unplug the USB Cable first. Select Start menu->Settings->Control Panel-> Add/Remove Hardware, and "Uninstall a Device". When it presents the list of devices, check the box for "Show Hidden Devices", and then scroll down through the list until you find "USB UPS"; select the device and hit the Remove button. * WinXP: With the USB Cable still plugged in, start the Device Manager. (Select Start menu->Settings->Control Panel->System->Hardware and hit the "Device Manager" button.) Open the "Batteries" folder, select the "USB UPS", and select the menu item for Action->Uninstall to remove the UPS device. Then unplug the USB cable. To remove the WinDriver virtual device: WARNING - WinDriver is a 3rd party generic USB/PCI driver that may be used by other vendors' hardware devices in your system. Remove it only if you are sure no other hardware devices require WinDriver to operate. If you are unsure, do not uninstall this file. * Win98/WinME: Browse to the UPSDriver folder and double-click on the Uninstall_WinDriver_Win9x.bat batch file. * Win2000/XP/2003: Browse to the UPSDriver folder and double-click on the Uninstall_WinDriver_XP_2000.bat batch file. * If the batch file fails to uninstall WinDriver, it is probably because the WinDrvr6.inf file has "Read-only" privileges. Follow this procedure: 1) Open a Command prompt (eg, Start->Programs->Accessories->Command Prompt) and change to the UPSDriver directory containing the batch and install files. 2) Run the batch file again (eg, "Uninstall_WinDriver_XP_2000.bat"). Note the line of the error report which tells you the location of the WinDrvr6.inf file. Eg, "INF copy for C:\WINNT\INF\WinDrvr6.INF cannot be deleted: Access is denied." 3) Using Windows Explorer, browse to that folder and find the WinDrvr6.inf file. Right click on it, and select "Properties" from the menu. 4) Uncheck the "Read-only" button. 5) Now rerun the batch file to remove the WinDriver device. 6) You can verify that WinDriver has been removed by opening the Device Manager (eg, Start menu->Settings->Control Panel->System->Hardware and hit the "Device Manager" button), opening the "System" folder, and checking that WinDriver is no longer listed among the System Devices. To remove all traces of the USB UPS installation: NOTE - This step is not normally necessary; Windows will hold onto install files for any device ever installed on a PC, but as long as it is never used on the system, this is not a problem. The only reason to perform this step is if an attempt at upgrading the device has failed and you wish to remove all traces of the original installation before reinstalling. * WinXP: 1) Follow the procedures above to uninstall the UPS and WinDriver devices. 2) Using Windows Explorer, open the \Winnt\INF folder. If you do not see the INF folder under \Winnt, then you need to change the Windows Explorer setting to enable you to see Hidden files. Find this setting under Tools->Folder Options->View->Advanced Settings and select "Show hidden files and folders". 3) Right-click on the INF folder, and select "Search". Set the file name pattern to "*.inf" and set the "word in file" to "PwdUsb" and hit the Search button. 4) The search results should show a file named "oemxx.inf" (where xx is some number). 5) Browse to this file using Windows Explorer. Select this oemxx.inf file and the corresponding oemxx.pnf file, and delete them. 6) In the same folder, find and delete WinDrvr6.inf and WinDrvr6.pnf if they haven't already been removed. 7) Browse to the \Winnt\System32\Drivers folder and find and delete the WinDrvr6.sys file. 8) Delete the contents of your original installation folder, if they are to be found on your hard drive. 9) Reboot the system to clear the memory contents. ----------------------------------------------------- 6.0 Frequently Asked Questions (FAQ) ----------------------------------------------------- --------------------------- 1) When do I need to install a UPS driver? --------------------------- For a serially-connected UPS, no driver is required. However, the installation process removes the "New Hardware Found" message that would otherwise occur every time you rebooted. For a USB UPS, the driver provides a means to communicate with the USB device and is absolutely required. --------------------------- 2) I just got a USB hub. Can I just unplug my UPS USB cable and plug it into my hub? --------------------------- Yes. The system will recognize your UPS at its "new" location automatically. --------------------------- 3) I ran one of the uninstall ".bat" files. Now, when I plug-in a USB UPS and install LanSafe, it cannot detect the UPS. How can I fix this? --------------------------- You must follow the procedure to Upgrade your UPS device; this will re-install and re- register the WinDriver virtual device. --------------------------- 4) How can I tell if the installation succeeded? --------------------------- A good check is provided in the "How to tell that the installation succeeded" procedure described above. --------------------------- 5) If I unplug the USB cable to the UPS and check with Device Manager, the UPS device is not present but the WinDriver device still is. Is this normal? --------------------------- Yes, this is normal operation. The WinDriver must be running before the UPS device is plugged in. --------------------------- 6) I have completed the installation of the drivers, and the Device Manager shows both the USB UPS and WinDriver devices, but LanSafe (or other application) still cannot communicate with the UPS. What else can I check? --------------------------- First, follow the procedure in the Known Issues section (8.0) below entitled "UPSs with X-Slot USB Card". If that does not work, unplug and replug the USB cable. If that does not help and your UPS is using an X-slot USB card, then use USBview to verify that the USB card is successfully talking to the UPS. You can obtain USBview.exe from http://www.usbman.com/WebDrivers/USBview/ or from the Microsoft Windows 98 Resource Kit. 1) Copy USBview.exe to your PC (no installation required). 2) Start USBview, and from the Options menu, select "Config Descriptors", then Refresh (F5) the display and click on the UPS device. If the USB card is able to get UPS data, it will show data like this: iManufacturer: 0x01 0x0409: "Powerware" iProduct: 0x02 0x0409: "XCP-USB UPS" iSerialNumber: 0x03 0x0409: "UU524A1030 " (*** your UPS's serial number ***) bNumConfigurations: 0x01 If the USB card is not able to get UPS data, it will look like this: iManufacturer: 0x01 0x0409: "Powerware" iProduct: 0x02 0x0409: "XCP-USB UPS" iSerialNumber: 0x03 (*** no S/N text given on the next line ***) bNumConfigurations: 0x01 3) If the USB card is not getting UPS data, try re-seating the X-slot card to get a better connection. Note: USBview does not rely on the WinDriver or USB UPS installation; it goes directly to the USB controller in the UPS. Consequently, even if the WinDriver or UPS devices are misconfigured or not installed, you can still get good results from USBview. ----------------------------------------------------- 7.0 Manually Removing Driver and INF files ----------------------------------------------------- Before you begin, you may find it useful to configure Windows Explorer so that it will: * Show hidden files (the INF folder will not be visible otherwise) * Show all file extensions 1) Perform the Uninstall procedures shown above. 2) To remove Powerware INF files: * Browse to the INF folder (eg, C:\WinNT\INF\ or C:\Windows\INF\) and Search for .inf files containing the text "Powerware". * Do NOT delete Battery.inf, which is a Microsoft system INF file. * Do delete the other INF file(s) found by this search, and their corresponding .PNF file(s). 3) To remove the WinDriver INF file: * WinDriver is a 3rd party generic USB/PCI driver that may be used by other vendors' hardware devices in your system. Remove it only if you are sure no other hardware devices require WinDriver to operate. If you are unsure, do not remove this file. * Browse to the INF folder (eg, C:\WinNT\INF\ or C:\Windows\INF\) and find the WinDrvr6.inf file. Delete it and the WinDrvr6.pnf file. 4) To remove the WinDrvr6.sys file: * This file should not be manually deleted, since it is a good idea to remove the registry entries for it as well. Use the batch files described in the section above on Uninstall. 5) To remove the coinstaller files, * Browse to the system folder (eg, C:\Winnt\System32) and find the PwCoinst.dll file. Delete it. * In the same folder you may find WdReg.exe or WdReg16.exe; delete them if found. 6) To remove the old PwUsb.sys driver: * Browse to the system folder which contains the drivers, e.g. C:\Windows\Systems32\Drivers\, and find the PwUsb.sys file and delete it. ----------------------------------------------------- 8.0 Known Issues ----------------------------------------------------- - Network-based installations The USB driver does not install correctly for networked-based installs. The USB driver cannot be installed correctly from Windows Update on-line. Use the CD or a local copy (on your hard drive) of the installation folder. ------------- - Windows 2003 (32 bit) with USB X-Slot Card A warning may appear stating that the WinDriver has not passed logo certification. If this happens, you may safely ignore the warning; click Continue to finish the installation. This driver package has been certified for WinXP. ------------- - Windows 2003 (64 bit) with USB X-Slot Card Driver installs but does not work. MS has been made aware of issues in USB support for 2003 Server, and will be fixing some in the 2003 Service Pack 1. ------------- - 5125 1.5 KVA Tower with X-Slot USB Card The UPS must be completely powered-down before installing the USB card, otherwise, the Windows driver will not work. ------------- - UPSs with X-Slot USB Card If you experience problems with the USB driver or other software packages communicating with a UPS via a USB X-slot card, you may need to reset your hardware. To reset the UPS: 1) Turn off equipment powered by the UPS. 2) Turn off the UPS from the front panel. 3) Unplug the UPS from its power source. 4) Wait for the UPS to completely power off (e.g. lights off, fan off, etc). 5) After the UPS has been off for a minute, plug it into a power source. 6) Turn the UPS on. 7) Start connected equipment. ------------- - USB UPS with Windows 2003 Under the following conditions, a USB-connected UPS for which the device installation was apparently successful, will be "re-discovered" as a new device on Windows 2003 Server systems. * The USB cable is detached and re-attached to either the same or a different USB port on the computer equipment. * The computer system is restarted after the driver is installed. If this "re-discovery" occurs (i.e., the New Hardware Found dialog re-appears) follow this procedure: 1) Click Cancel on the New Hardware Found Wizard. 2) Stop any power management software that may be using the driver (e.g., LanSafe). 3) Right-click the My Computer icon on the desktop and select Properties. 4) Click the Hardware tab. 5) Click the Device Manager button. 6) Click the + symbol next to the Battery item to view sub-items (Note: The UPS USB node will probably have a yellow warning symbol indicating a problem). 7) Right-click the USB UPS sub-item and select Properties (Note: The properties box indicates the UPS device is not properly configured). 8) Click the Reinstall button. 9) In the resulting New Hardware Wizard, make sure "Install the software automatically" is selected and click Next. 10) A warning may appear stating that the WinDriver has not passed logo certification. If this happens, click Continue. 11) If you are prompted for the location of the driver installation files, browse to the directory containing the installer for the driver and click OK. 12) Click Finish in the final dialog box of the wizard. 13) Start any power management software that you stopped in step 2.