Hubert Krause
2009-Sep-24 12:36 UTC
[Nut-upsuser] nut is not working anymore after nut and kernel update
Hello, after an update I've got troubles with nut. It is not able to connect via usb to our UPS anymore. I dont know wether it is the nut update or the kernelupdate or both. In any case, it is difficult to get new rpms for CentOS. So if someone has an Idea, what I can try to solve this Problem: please help. Atached are relevant information. Best wishes, Hubert Krause My versions: Kernel: 2.6.18-164.el5 last working Kernel version: 2.6.18-128.1.6.el5 OS Version: CentOS release 5.3 (Final) nut version: nut 2.2.0 6.el5 Hardware is an APC Smart UPS 3000 RM dmesg is telling: drivers/usb/input/hid-core.c: control queue full Here is some debuging output: drivers/usb/input/hid-core.c: control queue full ups.conf: [smups] driver = usbhid-ups port = auto vendorid = 051D productid = 0002 desc = "smups" usbhid-ups -a smups -DDDDD: Checking device (051D/0002) (004/002) - VendorID: 051d - ProductID: 0002 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 004 Trying to match device Device matches Unable to get HID descriptor (error sending control message: Connection timed out) i=0, extra[i]=09, extra[i+1]=21 HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 28 04 HID descriptor retrieved (Reportlen = 1064) Unable to get Report descriptor (-110): Connection timed out No appropriate HID device found No matching HID UPS found lsusb -vvv: Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x051d American Power Conversion idProduct 0x0002 Uninterruptible Power Supply bcdDevice 0.06 iManufacturer 3 iProduct 1 iSerial 2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 11 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 30mA 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 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 1064 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0006 1x 6 bytes bInterval 100 -- Hubert Krause Risk & Fraud Division INFORM GmbH, Pascalstra?e 23, 52076 Aachen, Germany Phone: +49 24 08 - 94 56 188 E-Mail: hubert.krause at inform-ac.com, Web: http://www.inform-ac.com INFORM Institut fuer Operations Research und Management GmbH Registered AmtsG Aachen HRB1144 Gfhr. Adrian Weiler
Arnaud Quette
2009-Oct-09 20:51 UTC
[Nut-upsuser] nut is not working anymore after nut and kernel update
Hi Hubert, 2009/9/24 Hubert Krause <hubert.krause at inform-ac.com>> Hello, > > after an update I've got troubles with nut. It is not able to connect via > usb > to our UPS anymore. I dont know wether it is the nut update or the > kernelupdate or both. In any case, it is difficult to get new rpms for > CentOS. So if someone has an Idea, what I can try to solve this Problem: > please help. > > Atached are relevant information. > > Best wishes, > > Hubert Krause > > My versions: > > Kernel: > 2.6.18-164.el5 > > last working Kernel version: > 2.6.18-128.1.6.el5 > > OS Version: > CentOS release 5.3 (Final) > > nut version: > nut 2.2.0 6.el5 > > Hardware is an APC Smart UPS 3000 RM > > dmesg is telling: > > drivers/usb/input/hid-core.c: control queue full > ...Unable to get Report descriptor (-110): Connection timed out>this vaguely recall me something, but I can't find any trace. iirc, this was a USB bug fixed in a later kernel release. the only way to confirm is to either try the older kernel, or a newer. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20091009/c9aa52ef/attachment.htm>