[Nut-upsdev] Re: Belkin and newhidups (was: Belkin F6C550-AVR UPS)

zaid_aj at telus.net zaid_aj at telus.net
Fri Aug 5 20:08:43 UTC 2005


Hi,
I wasn't looking in the right file the first time, I found the 
models_names_t structure, and the entries I can't figure out what to put 
in them are:

typedef struct
{
	char	*iProduct;
	char	*iModel;   <---- 1
	int	comp_size;	
	char	*finalname;<---- 2
} models_name_t;

1. I can't seem to find the model number in the output of `lsusb -v`
2. Is this just a concatination of iProduct + iModel ?

Here's a quick copy+paste from the output of lsusb:

Bus 003 Device 003: ID 050d:0551 Belkin Components 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x050d Belkin Components
  idProduct          0x0551 
  bcdDevice            0.01
  iManufacturer           4 Belkin
  iProduct               18 UPS   
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0

    ......

I can see iProduct but not iModel, and for some odd reason, iSerial is 
just 0 but I don't think thats very important right now.

Any help is appreciated.

Zaid



More information about the Nut-upsdev mailing list