[Nut-upsuser] Re: bcmxcp_usb "Can't open POWERWARE USB
Ken Yee
kenkyee at yahoo.com
Sun Apr 16 13:24:23 UTC 2006
--- Kjell Claesson <kjell.claesson at telia.com> wrote:
> 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
I think it's safer to remove the lines for
nut 2.04. I have a different iProduct value,
so if anyone else has a different Powerware UPS,
you'll just end up adding product values for
each one and new ones will take a while to be
supported :-P
Here's my lsusb -v (my product# is 38):
Bus 002 Device 005: ID 06da:0002 Phoenixtec Power Co.,
Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface
level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x06da Phoenixtec Power Co., Ltd
idProduct 0x0002
bcdDevice 0.06
iManufacturer 4
iProduct 38
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
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 20
ken
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Nut-upsuser
mailing list