[Nut-upsuser] MGE Evolution, USB and linux

Rodrigo Ventura
2006-06-07T10:55:30Z

I have a MGE Evolution 3000 connected via USB to a linux server (HP
Proliant G3). The server is running kernel 2.4.30 and nut-2.0.3. But
before nut trying to connect to the UPS, I guess HID doesn't work as
long as I get a message like this in dmesg:

--------------------------------------------------
usb.c: new device strings: Mfr=4, Product=136, SerialNumber=50
usb.c: USB device number 2 default language ID 0x409
Manufacturer: MGE UPS SYSTEMS
Product: Evolution
SerialNumber: AF3G03062
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x463/0xffff) is not claimed by any active
driver.
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 0463:ffff
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0022
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   e0
  MaxPower            =   40mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   03:00:00
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0008
      bInterval           =   14
--------------------------------------------------

cat /proc/bus/usb/devices:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 4
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=f88bb000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0463 ProdID=ffff Rev= 1.00
S:  Manufacturer=MGE UPS SYSTEMS
S:  Product=Evolution
S:  SerialNumber=AF3G03062
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 40mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=20ms

So the kernel correctly identifies the device as a HID class, but the
hiddev dev refuses to "claim" the device.

What's happening here? How can I fix this?

Cheers,

Rodrigo Ventura