Hello,
I have two SMS PowerVision PV2200 BIFX, that came with a serial port, I used
a serial - usb conversor to conect it to my pc
it recognized as:
lsusb -s 001:005 -vvv
Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x067b Prolific Technology, Inc.
  idProduct          0x2303 PL2303 Serial Port
  bcdDevice            4.00
  iManufacturer           1 Prolific Technology Inc.
  iProduct                2 USB-Serial Controller D
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
I tried to use megatec driver on the device /dev/ttyUSB0
/lib/nut/megatec -a apc -DDDDDD gives this output
Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec]
Carlos Rodrigues (c) 2003-2008
debug level is '6'
Starting UPS detection process...
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.
it doesn't recognize the UPS,
I've tried another drivers and a lot of google search... and got nothing
What can I do to discover what driver or how to set this UPS?
Thank you all
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100709/cd45c91d/attachment-0001.htm>
Citeren Wagner <wagnerspi op gmail.com>:> Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec] > Carlos Rodrigues (c) 2003-2008 > > debug level is '6' > Starting UPS detection process... > Asking for UPS status [Q1]... > Q1 => FAILED [timeout] > Asking for UPS status [Q1]... > Q1 => FAILED [timeout] > Asking for UPS status [Q1]... > Q1 => FAILED [timeout] > Asking for UPS status [Q1]... > Q1 => FAILED [timeout] > Asking for UPS status [Q1]... > Q1 => FAILED [timeout] > 5 out of 5 detection attempts failed (minimum failures: 2). > Megatec protocol UPS not detected. > > it doesn't recognize the UPS, > > I've tried another drivers and a lot of google search... and got nothing > > What can I do to discover what driver or how to set this UPS?You need to do two things: 1) Subscribe to this mailing list. You need to be subscribed to this list in order to post messages. Don't reply to me in private, I won't respond to private messages unless a consultancy fee is involved. I've allowed this one message through, future ones will be rejected. 2) Upgrade NUT to version 2.4.3 (or the development version). The version you're using now is too old and the driver has only limited debugging capabilities. In an up-to-date NUT version you'll find the blazer_ser driver which is the successor of the megatec driver. If it fails to detect the UPS, run it with debug level 3 (-DDD, *not* higher) and post the output here. Best regards, Arjen -- Please keep list traffic on the list
> I have two SMS PowerVision PV2200 BIFX, that came with a serial port, I > used > a serial - usb conversor to conect it to my pc >Hello, According to the driver you are trying to use a USB driver on a serial port system. Not sure if the NUT drivers support this. Does your system have the drivers loaded for the converter? If your system can see the USB device AND the serial port then NUT needs a serial driver. Doug