[Nut-upsuser] Ippon device does not work

Charles Lepple clepple at gmail.com
Mon Sep 15 09:44:18 UTC 2008


---------- Forwarded message ----------
From: WhiteWind <whitearchey at gmail.com>
To: "Alexander I. Gordeev" <lasaine at lvk.cs.msu.su>
Date: Sun, 14 Sep 2008 22:12:45 +0800
Subject: Re: [Nut-upsuser] Ippon device does not work
On Sat, 13 Sep 2008 17:40:56 +0800, Alexander I. Gordeev
<lasaine at lvk.cs.msu.su> wrote:

> On Friday 12 September 2008 22:08:09 Авдиенко Михаил wrote:
>>
>> 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
>>
>
> What is the name of your OS?
> I think, this message means that glib library is not properly installed in
> your system. Or it is a bug :)
> If you don't need hal support you can add --without-hal to the ./configure
> options.

My OS is Slackware 12.0,
glib v1.2.10
glib2 v2.12.12

>> 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.
>
> So you have to upgrade.

Well, it compiles without hal, and I have some changes in `megatec_usb -a
ippon -DDD` output:

Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec_usb]
Carlos Rodrigues (c) 2003-2008

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]...
ser_get_line: Device detached? (error -110: No error)
==================================================
= device has been disconnected, try to reconnect =
==================================================
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
Successfully reconnected
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
ser_get_line: Device detached? (error -110: No error)
==================================================
= device has been disconnected, try to reconnect =
==================================================
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
Successfully reconnected
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
ser_get_line: Device detached? (error -110: No error)
==================================================
= device has been disconnected, try to reconnect =
==================================================
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
Successfully reconnected
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
ser_get_line: Device detached? (error -110: No error)
==================================================
= device has been disconnected, try to reconnect =
==================================================
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
Successfully reconnected
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
ser_get_line: Device detached? (error -110: No error)
==================================================
= device has been disconnected, try to reconnect =
==================================================
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
Successfully reconnected
Q1 => FAILED [timeout]
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.


More information about the Nut-upsuser mailing list