Erik Fichtner
2010-Apr-29 20:20 UTC
[Nut-upsuser] APC Smart-UPS Pro 1500 USB monitoring trouble
Hi there... nut 2.4.3 kicks an error at me when I try to talk to my UPS. machine is linux 2.4.21-32.ELsmp with libusb-0.1.8-3 package update. # /usr/local/ups/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using subdriver: APC HID 0.95 libusb_get_interrupt: error submitting URB: Invalid argument lsusb -v says this about it: Bus 001 Device 003: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500 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 Back-UPS Pro 500/1000/1500 bcdDevice 0.06 iManufacturer 3 American Power Conversion iProduct 1 Smart-UPS 1500 RM FW:617.3.D USB FW:1.5 iSerial 2 AS0607130999 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 Devices bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 33 bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 1040 cannot get report descriptor Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type none wMaxPacketSize 6 bInterval 100 Any ideas on what I should try next? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 186 bytes Desc: OpenPGP digital signature URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100429/d53866e5/attachment.pgp>
Arjen de Korte
2010-Apr-29 20:44 UTC
[Nut-upsuser] APC Smart-UPS Pro 1500 USB monitoring trouble
Citeren Erik Fichtner <emf1123 op gmail.com>:> Hi there... nut 2.4.3 kicks an error at me when I try > to talk to my UPS. machine is linux 2.4.21-32.ELsmp > with libusb-0.1.8-3 package update. > > # /usr/local/ups/bin/upsdrvctl start > Network UPS Tools - UPS driver controller 2.4.3 > Network UPS Tools - Generic HID driver 0.34 (2.4.3) > USB communication driver 0.31 > Using subdriver: APC HID 0.95 > libusb_get_interrupt: error submitting URB: Invalid argument[...]> Any ideas on what I should try next?You could try if applying the following patch helps: http://boxster.ghz.cc/projects/nut/changeset/2407 I don't have high hopes however. The USB support in 2.4 kernels is limited and your libusb version is really old too. You're probably better off by using a USB to serial converter that is supported by your kernel and using the serial port of the UPS with the apcsmart driver. Best regards, Arjen -- Please keep list traffic on the list