[Nut-upsuser] Ippon device does not work

Авдиенко Михаил whitewind at skysib.com
Fri Sep 12 18:08:09 UTC 2008


When i'm trying to compile v2.2.2 on my system, I got folowing error:

libnuthalmain.a(main-hal.o): In function `main':
main-hal.c:(.text+0x8f0): undefined reference to `g_timeout_add_seconds'
collect2: ld returned 1 exit status
make[1]: *** [hald-addon-usbhid-ups] Error 1
make[1]: Leaving directory `/usr/src/nut-2.2.2/drivers'
make: *** [all-recursive] Error 1

When I'm trying to start megatec_usb -a ippon -DDD after adding vendorid  
and subdriver to ups.conf I get the folowing:

Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]
Carlos Rodrigues (c) 2003-2007

Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c)  
2007

debug level is '3'
Checking device (06DA/0003) (1/3)
- VendorID: 06da
- ProductID: 0003
- Manufacturer: OMRON
- Product: USB UPS
- Serial Number: unknown
- Bus: 1
Trying to match device
Device matches
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.


On Fri, 12 Sep 2008 03:17:52 +0800, Alexander I. Gordeev  
<lasaine at lvk.cs.msu.su> wrote:

> В сообщении от Thursday 11 September 2008 09:37:30 Авдиенко Михаил  
> написал(а):
>> I have an UPS, that claims to be IPPon Back Power Pro 700. I'm trying to
>> connect it using USB.
>> lsusb -v says:
>>
>> Bus 1 Device 3: ID 06da:0003 Phoenixtec Power Co., Ltd
>> Device Descriptor:
>>    bLength                18
>>    bDescriptorType         1
>>    bcdUSB               1.10
>>    bDeviceClass            0 (Defined at Interface level)
>>    bDeviceSubClass         0
>>    bDeviceProtocol         0
>>    bMaxPacketSize0         8
>>    idVendor           0x06da Phoenixtec Power Co., Ltd
>>    idProduct          0x0003
>>    bcdDevice            4.00
>>    iManufacturer           3 OMRON
>>    iProduct                1 USB UPS
>>    iSerial                 0
>>    bNumConfigurations      1
>>    Configuration Descriptor:
>>      bLength                 9
>>      bDescriptorType         2
>>      wTotalLength           34
>>      bNumInterfaces          1
>>      bConfigurationValue     1
>>      iConfiguration          0
>>      bmAttributes         0xa0
>>        (Bus Powered)
>>        Remote Wakeup
>>      MaxPower              100mA
>>      Interface Descriptor:
>>        bLength                 9
>>        bDescriptorType         4
>>        bInterfaceNumber        0
>>        bAlternateSetting       0
>>        bNumEndpoints           1
>>        bInterfaceClass         3 Human Interface Devices
>>        bInterfaceSubClass      0 No Subclass
>>        bInterfaceProtocol      0 None
>>        iInterface              0
>>          HID Device Descriptor:
>>            bLength                 9
>>            bDescriptorType        33
>>            bcdHID               1.11
>>            bCountryCode            0 Not supported
>>            bNumDescriptors         1
>>            bDescriptorType        34 Report
>>            wDescriptorLength      27
>>           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              20
>> Device Status:     0x0000
>>    (Bus Powered)
>>
>> megatec_usb -a ippon -DDD says:
>>
>> Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]
>> Carlos Rodrigues (c) 2003-2007
>>
>> Serial-over-USB transport layer for Megatec protocol driver  
>> [megatec_usb]
>> Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c)
>> 2007
>>
>> debug level is '3'
>> Checking device (06DA/0003) (1/3)
>> - VendorID: 06da
>> - ProductID: 0003
>> - Manufacturer: OMRON
>> - Product: USB UPS
>> - Serial Number: unknown
>> - Bus: 1
>> Trying to match device
>> Device does not match - skipping
>> No appropriate HID device found
>> No supported devices found. Please check your device availability with
>> 'lsusb'
>> and make sure you have an up-to-date version of NUT. If this does not  
>> help,
>> try running the driver with at least 'vendorid' and 'subdriver' options
>> specified. Please refer to the man page for details about these options
>> (man 8 megatec_usb).
>> Please report your results to the NUT user's mailing list
>> <nut-upsuser at lists.alioth.debian.org>.
>>
>
> The best thing you can do is to upgrade to 2.2.2. If this is impossible  
> then
> just add these lines to the ups.conf:
>
> [ippon]
> 	...
> 	vendorid = 06da
> 	subdriver = agiler
>
> --
>   Alexander





More information about the Nut-upsuser mailing list