[Nut-upsuser] Ippon device does not work

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Sat Sep 13 09:40:56 UTC 2008


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.

> 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.

--
  Alexander



More information about the Nut-upsuser mailing list