[Nut-upsuser] UPS Liebert GXT-3
Marcelo Roccasalva
roccas at gmail.com
Thu Feb 21 20:18:10 UTC 2013
On Thu, Feb 21, 2013 at 12:56 AM, Charles Lepple <clepple at gmail.com> wrote:
>
> On Feb 20, 2013, at 12:37 PM, Marcelo Roccasalva wrote:
>
> > I'm not sure what the udev rule is trying to achieve but I installed
> > the following rule:
> >
> > ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="10af",
> > ATTR{idProduct}=="0008", MODE="664", GROUP="dialout"
> >
> > to get the following device:
> >
> > crw-rw-r--. 1 root dialout 189, 385 Feb 20 14:27 /dev/bus/usb/004/002
>
> It's setting the Unix group to dialout, and setting those permissions. It appears to have worked, although we have another issue.
Excelent, it did...
> > 0.212098 Checking device (10AF/0008) (004/002)
> > 0.215980 - VendorID: 10af
> > 0.215993 - ProductID: 0008
> > 0.215999 - Manufacturer: unknown
> > 0.216006 - Product: unknown
> > 0.216012 - Serial Number: unknown
> > 0.216018 - Bus: 004
> > 0.216023 Trying to match device
> > 0.216068 Device matches
> > 0.217972 Unable to get HID descriptor (error sending control
> > message: Protocol error)
> > 0.217986 HID descriptor length 260
> > 0.218978 Unable to get Report descriptor: Protocol error
>
> ^ This is NUT checking your UPS, and not being able to get enough information to continue. Can you try running "lsusb -vvv -d 10af:0008" as root? We're looking for something more than "Report Descriptors: ** UNAVAILABLE **".
# lsusb -vvv -d 10af:0008
Bus 004 Device 002: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x10af Liebert Corp.
idProduct 0x0008 PowerSure Interactive UPS
bcdDevice 0.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
OTG Descriptor:
bLength 3
bDescriptorType 9
bmAttributes 0x00
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 37
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4
bmAttributes 0x40
(Missing must-be-set bit!)
Self Powered
MaxPower 0mA
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 5
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 260
Warning: incomplete report descriptor
Report Descriptor: (length is 99)
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): Collection, data=none
Vendor defined
Item(reserved): (null), data= [ 0x90 0x00 0x00 0x00 ] 144
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Global): (null), data= [ 0xbb 0x85 0xff 0x7f ] 2147452347
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(reserved): (null), data=none
Item(Main ): Feature, data= [ 0x95 0x84 ] 33941
Constant Array Relative No_Wrap Non_Linear
Preferred_State No_Null_Position Volatile Bitfield
Item(reserved): (null), data= [ 0x7f ] 127
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): Collection, data=none
Reserved for future use.
Item(reserved): (null), data= [ 0x90 0x00 0x00 0x00 ] 144
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Local ): String Maximum, data=none
Item(Global): Report Count, data= [ 0x95 0x84 0xad 0x7f ] 2142078101
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): Collection, data=none
Vendor defined
Item(reserved): (null), data= [ 0x90 0x00 0x00 0x00 ] 144
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Global): (null), data= [ 0xbb 0x85 0xff 0x7f ] 2147452347
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(reserved): (null), data= [ 0xb2 0x95 ] 38322
Item(Global): Report ID, data=none
Item(reserved): (null), data= [ 0x7f ] 127
Item(Main ): (null), data=none
Item(Main ): (null), data=none
Item(Main ): Collection, data=none
Reserved for future use.
Item(reserved): (null), data= [ 0x90 0x00 0x00 0x00 ] 144
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 32
Device Status: 0x0000
(Bus Powered)
--
Marcelo
"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)
More information about the Nut-upsuser
mailing list