Hi all, I?ve a UPS Liebert GXT3 500-3000VA with USB port. I?ve install NUT version 2.2.2 from repository packages for Debian Lenny. Linux kernel 2.6.26 I?ve try to use usbhid-ups driver in ups.conf [liebert] driver=usbhid-ups port=/dev/usb/hiddev0 Debian get the usb: # lsusb -v Bus 001 Device 002: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x10af Liebert Corp. idProduct 0x0008 PowerSure Interactive UPS bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 OTG Descriptor: bLength 3 bDescriptorType 9 bmAttributes 0x00 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 37 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 5 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 260 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 32 cannot read device status, Protocol error (71) When I use: # ./usbhid-ups -a liebert -DDDD Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) debug level is '4' upsdrv_initups... Checking device (1D6B/0002) (005/001) - VendorID: 1d6b - ProductID: 0002 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 005 Trying to match device Device does not match - skipping Checking device (1D6B/0001) (004/001) - VendorID: 1d6b - ProductID: 0001 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 004 Trying to match device Device does not match - skipping Checking device (1D6B/0001) (003/001) - VendorID: 1d6b - ProductID: 0001 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 003 Trying to match device Device does not match - skipping Checking device (1D6B/0001) (002/001) - VendorID: 1d6b - ProductID: 0001 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 002 Trying to match device Device does not match - skipping Checking device (10AF/0008) (001/002) - VendorID: 10af - ProductID: 0008 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 001 Trying to match device Device does not match - skipping Checking device (1D6B/0001) (001/001) - VendorID: 1d6b - ProductID: 0001 - 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 HID UPS found # upsdrvctl start Network UPS Tools - UPS driver controller 2.2.2 Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) No matching HID UPS found Driver failed to start (exit status=1) That means the usbhid-ups driver don?t recognize my device? Any help? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110530/30fdc829/attachment.html>
On May 30, 2011, at 4:28 PM, Juan Pablo Valles wrote:> I?ve a UPS Liebert GXT3 500-3000VA with USB port. > I?ve install NUT version 2.2.2 from repository packages for Debian > Lenny.It is possible that the version of NUT from Squeeze (2.4.3) could work with this UPS, but nobody has reported any results from testing this model yet. You might be able to just install the .deb from Squeeze on top of Lenny, but no guarantees there (be sure you have backups). You would need to add "productid = 0008" to ups.conf, since the driver was only tested with older Liebert equipment.
Charles, I?ve install Debian Squeeze and NUT 2.6.0 from sources, and compiled with usb option. Linux kernel 2.6.32 #lsusb -v Bus 003 Device 002: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x10af Liebert Corp. idProduct 0x0008 PowerSure Interactive UPS bcdDevice 0.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 OTG Descriptor: bLength 3 bDescriptorType 9 bmAttributes 0x00 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 37 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 5 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 260 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 32 ups.conf [liebert] driver=usbhid-ups port=/dev/usb/hiddev0 productid=0008 when i use: # ./usbhid-ups -a liebert -uroot -DDDD 0.173287 Checking device (10AF/0008) (002/004) 0.176911 - VendorID: 10af 0.176931 - ProductID: 0008 0.176942 - Manufacturer: unknown 0.176952 - Product: unknown 0.176962 - Serial Number: unknown 0.176973 - Bus: 002 0.176983 Trying to match device 0.177054 Device matches 0.178799 Unable to get HID descriptor (error sending control message: Protocol error) 0.178818 i=0, extra[i]=09, extra[i+1]=21 0.178835 HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 04 01 0.178847 HID descriptor length 260 0.179805 Unable to get Report descriptor: Protocol error The device matches but is unable to get HID descriptor. Any idea? Thanks for the answer Charles. 2011/5/30 Charles Lepple <clepple at gmail.com>> On May 30, 2011, at 4:28 PM, Juan Pablo Valles wrote: > > I?ve a UPS Liebert GXT3 500-3000VA with USB port. >> I?ve install NUT version 2.2.2 from repository packages for Debian Lenny. >> > > It is possible that the version of NUT from Squeeze (2.4.3) could work with > this UPS, but nobody has reported any results from testing this model yet. > You might be able to just install the .deb from Squeeze on top of Lenny, but > no guarantees there (be sure you have backups). > > You would need to add "productid = 0008" to ups.conf, since the driver was > only tested with older Liebert equipment.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110531/c0d487a5/attachment.html>