[Nut-upsdev] [PATCH] few additions to the nut-usbups.rules

Stanislav Brabec sbrabec at suse.cz
Fri Nov 4 16:30:24 UTC 2011


Arnaud Quette wrote:

> One thing that may be the solution is to have more advanced rules for
> these specific devices, that includes the device strings
> (manufacturer / device name, ...) that would avoid false positive.
> But before being able to do so, we'll need lsusb samples from such
> devices!
> 
> what is sure is that we still support these buggy devices and we'll
> continue to do so.
> but, we should only make it easier to these minority of users, and not
> create trouble to the majority.
> supporting buggy devices is one thing. Making it look like everything
> is perfect under the sun is another!

This is an output of Krauler UP-M500VA. If you need more, feel free to
ask.

# lsusb -v -s 7:2

Bus 007 Device 002: ID 0001:0000 Fry's Electronics 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0001 Fry's Electronics
  idProduct          0x0000 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9                                             
          bDescriptorType        33                                             
          bcdHID               1.00                                             
          bCountryCode            0 Not supported                               
          bNumDescriptors         1                                             
          bDescriptorType        34 Report                                      
          wDescriptorLength     624                                             
         Report Descriptors:                                                    
           ** UNAVAILABLE **                                                    
      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              10                                               
Device Status:     0x0000
  (Bus Powered)

https://bugzilla.novell.com/show_bug.cgi?id=719292

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec at suse.cz
Lihovarská 1060/12                            tel: +49 911 7405384547
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/




More information about the Nut-upsdev mailing list