[Nut-upsdev] bcmxcp_usb / kernel 2.4.32-rc2

Kjell Claesson kjell.claesson at telia.com
Sat Nov 5 22:27:28 UTC 2005


Hi Kalle.

Yes this is normal ;-( The usblib that is used for the bcmxcp-usb driver
use interrupt endpoints, and this is not normal with the 2.4 usblib.

The usblib used with 2.4 is only able to do bulk-transfer and is not
usable with the bcmxcp-usb driver. You may find some patch for this
as i know something going on. But you have to search the net for
libusb and 2.4 kernal and interrupt endpoint.

Kjell


fre 2005-11-04 klockan 23:28 +0200 skrev Kalle Andersson:
> Hi,
> 
> I recently downgraded my kernel to 2.4 series (2.4.32-rc2). Now I can't 
> get nut running. It was fine with 2.6.14.
> 
> It say's:
> ---------------------
> # ./bcmxcp_usb -uroot AUTO
> Network UPS Tools - BCMXCP UPS driver 0.10 (2.1.0)
> 
> Can't reset POWERWARE USB endpoint
> Unable to find POWERWARE UPS device on USB bus
> 
> ...
> ---------------------
> 
> I've straced it in nut_usb.c usb_clear_halt()-function. If I comment it 
> out, it say's "Receive error (Request command): COMMAND: 31".
> 
> I have nut development branch of cvs. My UPS is Powerware 3105 with usb 
> cable. I'm running on Debian Sarge.
> 
> I've read the source files, libusb documentation, but I just can't 
> figure what's wrong. Please help.
> 
> --
> Kalle Andersson
> 
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev




More information about the Nut-upsdev mailing list