Kjell Claesson wrote:> Then i have a problem. My computer is down due to a > faulty mainboard,Youch. I hate it when that heppens. Hope it wasn't because you got a power spike ;-) Let me or Georg know if you want us to run any debug code. Feels like a bcmxcp_usb driver bug to me since the bcmcxp serial driver works fine and all my other USB devices work fine (wifi adapter, memory card reader, etc.) ken __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Kjell Claesson
2006-Apr-13 23:02 UTC
[Nut-upsuser] Re: bcmxcp_usb "Can't open POWERWARE USB
Hi, The problem was reported to me by Charlie Garrison that helped me testing the 5115 usb. The first implementation was not done by powerware. So if you look at the code in drivers/nut_usb.c line 58. -------------------------------------------------- /* XXX Check for POWERWARE 3105 or 3110 ... other models??? */ if (dev->descriptor.bDeviceClass == USB_CLASS_PER_INTERFACE && (dev->descriptor.idVendor == 0x0592 || dev->descriptor.idVendor == 0x06da) && dev->descriptor.idProduct == 0x0002 && dev->descriptor.iManufacturer == 1 && dev->descriptor.iProduct == 2) return usb_open(dev); ----------------------------------------------------- It check the iManufacturer and iProduct code. This is not the same on the 5115 and 3110. So that is why it can't open the device. It should look like this. ---------------------------- dev->descriptor.iManufacturer == 4 dev->descriptor.iProduct == 24 ------------------------------- Or you may remove the lines like this ---------------------------------------- /* XXX Check for POWERWARE 3105 or 3110 ... other models??? */ if (dev->descriptor.bDeviceClass == USB_CLASS_PER_INTERFACE && (dev->descriptor.idVendor == 0x0592 || dev->descriptor.idVendor == 0x06da) && dev->descriptor.idProduct == 0x0002) return usb_open(dev); ----------------------------------------- Check this by lsusb -v And read the descriptor. This is from a 3105: ----------------------------------------- Bus 001 Device 002: ID 0592:0002 Powerware Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0592 Powerware Corp. idProduct 0x0002 bcdDevice 0.80 iManufacturer 1 Powerware iProduct 2 Powerware UPS iSerial 0 bNumConfigurations 1 ----------------------------------------- Now i'm back on my computer. And it was no spike. Just and old board that have been running for to long. Changed some capacitors that have started to leak. Regards Kjell tor 2006-04-13 klockan 07:49 -0700 skrev Ken Yee:> Kjell Claesson wrote: > > Then i have a problem. My computer is down due to a > > faulty mainboard, > > Youch. I hate it when that heppens. Hope it wasn't > because you got a power spike ;-) > > Let me or Georg know if you want us to run any debug > code. Feels like a bcmxcp_usb driver bug to me since > the bcmcxp serial driver works fine and all my other > USB devices work fine (wifi adapter, memory card > reader, etc.) > > ken > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
Maybe Matching Threads
- bcmxcp_usb "Can't open POWERWARE USB device"
- Nut fsd command ignored: bcmxcp_usb driver, Powerware 5105 UPS
- trying to use powerware 3110 USB with NUT
- bcmxcp_usb offers no runtime or serial # with a Powerware 5110/700va
- Powerware USB issue solved (bcmxcp_usb)