[Nut-upsuser] energizerups and bestups -> megatec?

Dâniel Fraga fragabr at gmail.com
Sat Jul 7 00:58:25 UTC 2007


On Fri, 6 Jul 2007 19:33:07 +0100
"Carlos Rodrigues" <carlos.efr at mail.telepac.pt> wrote:

> And there's "energizerups"... How feasible is it to have "megatec_usb"
> obsolete this driver?

	Hi Carlos, could you help me with a megatec_usb problem?

	If I use one of thesse options (krauler or agiler) it returns
the following:

sudo ../bin/megatec_usb -u root -a tsshara -DD

Checking device (0483/0035) (001/003)
- VendorID: 0483
- ProductID: 0035
- Manufacturer: STMicroelectronics
- Product: ST7 RS232 USB BRIDGE
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
Starting UPS detection process...
Attempting to detect the UPS...
Sending "Q1" command...
Wrong answer to "Q1" command.
Attempting to detect the UPS...
Sending "Q1" command...
Wrong answer to "Q1" command.
Attempting to detect the UPS...
Sending "Q1" command...
Wrong answer to "Q1" command.
Attempting to detect the UPS...
Sending "Q1" command...
Wrong answer to "Q1" command.
Attempting to detect the UPS...
Sending "Q1" command...
Wrong answer to "Q1" command.
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.

	And then lsusb -v:

        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode           33 US
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      29
          Report Descriptor: (length is 29)
            Item(Global): Usage Page, data= [ 0x80 0xff ] 65408
                            (null)
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x08 ] 8
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Feature, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Input, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Local ): Usage, data= [ 0x02 ] 2
                            (null)
            Item(Main  ): Output, data= [ 0x82 ] 130
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:

	***

	Is possible to discover where's the problem? Thank you!


-- 



More information about the Nut-upsuser mailing list