RE: [Nut-upsuser] SOS : Help needed for UPS Centralion Blazer 2000VA USB
Hello, In order to try the ups monitoring, i've compiled the latest stable version of nut (2.0.3) This is the debug output I get from some drivers I've to test as Arnaud asks me : Test of the Blazer USB : Fixed owner for device /dev/usb/hiddev0 - nut:nut and chmod 0600 for tests # - with newhidups with port = auto : ns1:/usr/local/ups/bin# ./newhidups - -u nut -a blazer2000usb Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3) debug level is '4' Checking device (/) (003/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 003 Trying to match device Device does not match - skipping Checking device (0665/5161) (003/002) - VendorID: 0665 - ProductID: 5161 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 003 Trying to match device Device does not match - skipping Checking device (/) (002/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 002 Trying to match device Device does not match - skipping Checking device (/) (001/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 001 Trying to match device Device does not match - skipping No appropriate HID device found No matching USB/HID UPS found # - with bcmxcp_usb with port = /dev/usb/hiddev0 : ns1:/usr/local/ups/bin# ./bcmxcp_usb - -u nut -a blazer2000usb Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.3) debug level is '4' Can't open POWERWARE USB device, retrying ... Unable to find POWERWARE UPS device on USB bus Things to try: - Connect UPS device to USB bus - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf). See upsdrvctl(8) and ups.conf(5). Fatal error: unusable configuration # - with blazer with port = /dev/usb/hiddev0 : ns1:/usr/local/ups/bin# ./blazer - -u nut -a blazer2000usb Network UPS Tools - Blazer UPS driver 0.07 (2.0.3) debug level is '4' tcgetattr(/dev/usb/hiddev0): Invalid argument # - with blazer with port = /proc/bus/usb/003/002 : ns1:/usr/local/ups/bin# ./blazer - -u root -a blazer2000usb Network UPS Tools - Blazer UPS driver 0.07 (2.0.3) debug level is '4' tcgetattr(/proc/bus/usb/003/002): Inappropriate ioctl for device # - with bcmxp_usb with port = /proc/bus/usb/003/002 : ns1:/usr/local/ups/bin# ./bcmxcp_usb - -u root -a blazer2000usb Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.3) debug level is '4' Can't open POWERWARE USB device, retrying ... Can't open POWERWARE USB device, retrying ... Can't open POWERWARE USB device, retrying ... Can't open POWERWARE USB device Unable to find POWERWARE UPS device on USB bus Things to try: - Connect UPS device to USB bus - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf). See upsdrvctl(8) and ups.conf(5). Fatal error: unusable configuration # - with newhidups with port = /proc/bus/usb/003/002 : ns1:/usr/local/ups/bin# ./newhidups - -u root -a blazer2000usb Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3) debug level is '4' Checking device (/) (003/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: USB UHCI-alt Root Hub - Serial Number: d400 - Bus: 003 Trying to match device Device does not match - skipping Checking device (0665/5161) (003/002) - VendorID: 0665 - ProductID: 5161 - Manufacturer: Cypress Semiconductor # This is the ioctl of the usb - Product: USB to Serial - Serial Number: unknown - Bus: 003 Trying to match device Device does not match - skipping Checking device (/) (002/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: USB UHCI-alt Root Hub - Serial Number: d800 - Bus: 002 Trying to match device Device does not match - skipping Checking device (/) (001/001) - VendorID: - ProductID: - Manufacturer: unknown - Product: USB UHCI-alt Root Hub - Serial Number: dc00 - Bus: 001 Trying to match device Device does not match - skipping No appropriate HID device found No matching USB/HID UPS found I think that the newhidups driver can't see the ups because there's nothing to convert the io data of the cypress Serial-to-USB into an understandable data that can be managed after translation in a device like /dev/usb/hiddev0 for example. The system need something in order to read the io data of the Cypress Serial-to-USB what explain that when I do cat /dev/usb/hiddev0 and interrupt the AC power of the UPS, the system can't catch any data from the ups. Certainly a module driver is needed by the kernel, I'll contact Cypress Semiconductor in order to know if there's one. Best regards, Guillaume JAOUEN. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Carlos Rodrigues Envoyé : mercredi 12 avril 2006 02:29 À : Guillaume JAOUEN Cc : nut-upsuser@lists.alioth.debian.org Objet : Re: [Nut-upsuser] SOS : Help needed for UPS
Re: [Nut-upsuser] SOS : Help needed for UPS Centralion Blazer 2000VA USB
bonjour Guillaume, 2006/4/11, Guillaume JAOUEN [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hello, I leave a mail here because I can't find any solution in order to get the nut working with this UPS despite I search everywhere on the net. I've bought this UPS recently after that an MGE-UPS Ellipse 1200 USB burn. 2 questions: - what do you mean exactly by bum? - were unsatisfied with Ellipse, and more generally with MGE, to switch to another brand? I've those information about the UPS : Reseller link : http://www.alpha-power-technologie.com/images/GPi-usb.pdf In his catalogue, the product is called Global Power GPi-2000BZ This UPS has monitoring software called Winpower 2.0(http://www.ups-software-download.com/) which is developed by Centralion. My system is a Debian Sarge 3.1 with a 2.4.32 kernel and built-in HID USB support. (this kernel was working perfectly well with the MGE-UPS HID UPS Ellipse 1200 and nut driver newhidups) I've tried to set up winpower under debian but get an RMI server failure at boot. I also see that the setup script wasn't set correctly for Debian, even after fixed PATH variables and right rc.d scripts... So I went back on nut and tried to solve this problem. On the Centralion Web site I found an UPS that seems to be the same as mine (blazer 2000VA Spec. http://www.centralion.com/html/product/back-Product-ups-blazer1000-spec.htm and brochure http://www.centralion.com/dm-download/Blazer1-2K/Blazer1K-2K.zip) This UPS use megatec protocol over USB I think. Below are details catch from the console : When I plug the UPS on the USB port I get : # lsusb Bus 003 Device 005: ID 0665:5161 If I do cat /dev/usb/hiddev0 the system seems to be reading on the device but no characters appears on the console... If I unplug the UPS the cat /dev/usb/hiddev0 command stop working so I think the system see the UPS on this device. The usbview show me this on the device : USB to Serial Manufacturer: Cypress Semiconductor Speed: 1,5 Mb/s (low) USB Version: 1.10 Device Class: 00(ifc ) Device Subclass: 00 Device Protocol: 00 Maximum Default Endpoint Size: 8 Number of Configurations: 1 Vendor Id: 0665 Product Id: 5161 Revision Number:0.02 Config Number: 1 Number of Interfaces: 1 Attributes: 80 MaxPower Needed: 100mA Interface Number: 0 Name: hid Alternate Number: 0 Class: 03(HID ) Sub Class: 0 Protocol: 0 Number of Endpoints: 1 Endpoint Adderss: 81 Direction: in Attribute: 3 Type: Int. Max Packet Size: 8 Interval: 32ms If someone could help me, it'll be really nice, as I've tried newhidups - fentoups - energized drivers without success. for serial, there is a blazer driver that will be replaced by megatec (only available from subversion). for usb, you might try newhidups in generic mode (-x generic), with debug enabled (-DDD) Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - RD Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] SOS : Help needed for UPS Centralion Blazer 2000VA USB
Hi Carlos, 2006/4/12, Carlos Rodrigues [EMAIL PROTECTED]: That hardware doesn't have a serial port right? I think that UPS could be supported if only one could configure a ttyUSB with that serial-usb converter. I (temporarily) have a model with an USB port here, and I would like to see if I could get it to work with megatec/powermust without resorting to some HID/USB magic... The protocol used seems to be the same, so the only thing needed is to configure a emulated serial port. Anyone has any ideas? isn't bcmxcp_usb built on the same idea? iirc, they were just encaps'ing the serial protocol over usb (not sure about hid). Another example of strange hid approach is energizerups, but it's hiddev only. Anyway, all this might give you some ideas ;-) Arnaud ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
[Nut-upsuser] SOS : Help needed for UPS Centralion Blazer 2000VA USB
-BEGIN PGP SIGNED MESSAGE- Hello, I leave a mail here because I can't find any solution in order to get the nut working with this UPS despite I search everywhere on the net. I've bought this UPS recently after that an MGE-UPS Ellipse 1200 USB burn. I've those information about the UPS : Reseller link : http://www.alpha-power-technologie.com/images/GPi-usb.pdf In his catalogue, the product is called Global Power GPi-2000BZ This UPS has monitoring software called Winpower 2.0(http://www.ups-software-download.com/) which is developed by Centralion. My system is a Debian Sarge 3.1 with a 2.4.32 kernel and built-in HID USB support. (this kernel was working perfectly well with the MGE-UPS HID UPS Ellipse 1200 and nut driver newhidups) I've tried to set up winpower under debian but get an RMI server failure at boot. I also see that the setup script wasn't set correctly for Debian, even after fixed PATH variables and right rc.d scripts... So I went back on nut and tried to solve this problem. On the Centralion Web site I found an UPS that seems to be the same as mine (blazer 2000VA Spec. http://www.centralion.com/html/product/back-Product-ups-blazer1000-spec.htm and brochure http://www.centralion.com/dm-download/Blazer1-2K/Blazer1K-2K.zip) This UPS use megatec protocol over USB I think. Below are details catch from the console : When I plug the UPS on the USB port I get : # lsusb Bus 003 Device 005: ID 0665:5161 If I do cat /dev/usb/hiddev0 the system seems to be reading on the device but no characters appears on the console... If I unplug the UPS the cat /dev/usb/hiddev0 command stop working so I think the system see the UPS on this device. The usbview show me this on the device : USB to Serial Manufacturer: Cypress Semiconductor Speed: 1,5 Mb/s (low) USB Version: 1.10 Device Class: 00(ifc ) Device Subclass: 00 Device Protocol: 00 Maximum Default Endpoint Size: 8 Number of Configurations: 1 Vendor Id: 0665 Product Id: 5161 Revision Number:0.02 Config Number: 1 Number of Interfaces: 1 Attributes: 80 MaxPower Needed: 100mA Interface Number: 0 Name: hid Alternate Number: 0 Class: 03(HID ) Sub Class: 0 Protocol: 0 Number of Endpoints: 1 Endpoint Adderss: 81 Direction: in Attribute: 3 Type: Int. Max Packet Size: 8 Interval: 32ms If someone could help me, it'll be really nice, as I've tried newhidups - fentoups - energized drivers without success. I think my problem come from the USB to serial chipset from Cypress which is not included into newhidups but it's out of what I can manage. Best regards, Guillaume JAOUEN. -BEGIN PGP SIGNATURE- Version: PGP Desktop 9.0.2 (Build 2424) iQIVAwUBRDvh/IBhxpjgV9LlAQHhohAAjMCjEVWlbDSiCQohipHPVZ0sEplQX6Ef VhgwxadPwC1oPJ1HHlOiUelOAx1GQ9IDhxizBI7bGd4N5+njRbzRAw+aGZjXH4jA IPAoz9aNpEuirBunA1etk10o4eIiiYH3rAoCiWhDLzNnoIa7tAyr9RPVLR6ff4HY VzUDve6INIuKOzH1LaLvgYab3ZzzoG//A2eyoA03a7dRsXfgVwqL5nYYDXQdWVDm R/hru9NP14/SquT5I9jKjqoASnyJG0+p93b/7y3JvkC6ELARqNCzvQXozDlf8InE r0WOPiBh43lMH3OXTD6EF2/JViRfOG4Ybt0Cb+HO0BRQQ1MIeigjUIs17ivvZxFI KEvSV03LHhmbGPUqgiyCow6jRB1bxhaA8bDHj2GnyoYUfLFxsHtEbAJ9ZAQwygUA o88KxCRpvB9v4RRE+ZB4dJerlGPpZ42pUbtm+rxV3U9IDzaK85t83VJlJpeBczo9 8BlS9rtC21ocpi3B6fKo1FnEnSiGVozfmLzYi7lFruGNvu5iA38F6nFrp/p9mt8I ZC1OPzy0cXdXyDZHP3C7Kt4j/A+pyDTqA9H7y3Cy1x1YUWleqW/xMMcVLziKSMQp yXnbLytjJWmblRvQSdvc6+1IlKWZuiYKiOd4w/MOdDPdZTqL54pPkVyydzyfY8NN y749+rz/+aY= =Gya8 -END PGP SIGNATURE- ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser