apcupsd not working properly on Ubuntu 16.04 LTS-based 4.4 kernel

classic Classic list List threaded Threaded
3 messages Options
nls
Reply | Threaded
Open this post in threaded view
|

apcupsd not working properly on Ubuntu 16.04 LTS-based 4.4 kernel

nls
Hi,

I was using the daemon succesfully previously on an earlier Proxmox version that used the RH/OpenVZ kernel 2.6.32. I've recenty upgraded to their newer version which uses an Ubuntu 16.04 LTS kernel branch, 4.4.59-87, closely following upstream. On these new kernels I get this kind of output:

APC      : 001,028,0645
DATE     : 2017-05-04 15:42:17 +0200
HOSTNAME : x
VERSION  : 3.14.12 (29 March 2014) debian
UPSNAME  : x
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2017-05-04 15:42:15 +0200
MODEL    :
STATUS   : ONLINE
LOADPCT  : 0.0 Percent
BCHARGE  : 0.0 Percent
TIMELEFT : 0.0 Minutes
MBATTCHG : 40 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 900 Seconds
OUTPUTV  : 0.0 Volts
DWAKE    : 0 Seconds
LOTRANS  : 0.0 Volts
HITRANS  : 0.0 Volts
ALARMDEL : 30 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO :
END APC  : 2017-05-04 15:42:18 +0200

Many of the status values are not recognised. It makes the daemon with this model practically unusable. I'd happily provide more info if needed to debug this.

Thanks,
Chris


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
nls
Reply | Threaded
Open this post in threaded view
|

Re: apcupsd not working properly on Ubuntu 16.04 LTS-based 4.4 kernel

nls
I forgot to spec the UPS device model.

# dmesg | grep 'usb 1-1.6'
[14570.971851] usb 1-1.6: new low-speed USB device number 8 using ehci-pci
[14572.927443] usb 1-1.6: New USB device found, idVendor=0463, idProduct=ffff
[14572.927449] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[14572.927452] usb 1-1.6: Product: Ellipse ECO
[14572.927454] usb 1-1.6: Manufacturer: EATON
[14572.927456] usb 1-1.6: SerialNumber: 000000000


On Thu, May 4, 2017 at 4:02 PM, nls <[hidden email]> wrote:
Hi,

I was using the daemon succesfully previously on an earlier Proxmox version that used the RH/OpenVZ kernel 2.6.32. I've recenty upgraded to their newer version which uses an Ubuntu 16.04 LTS kernel branch, 4.4.59-87, closely following upstream. On these new kernels I get this kind of output:

APC      : 001,028,0645
DATE     : 2017-05-04 15:42:17 +0200
HOSTNAME : x
VERSION  : 3.14.12 (29 March 2014) debian
UPSNAME  : x
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2017-05-04 15:42:15 +0200
MODEL    :
STATUS   : ONLINE
LOADPCT  : 0.0 Percent
BCHARGE  : 0.0 Percent
TIMELEFT : 0.0 Minutes
MBATTCHG : 40 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 900 Seconds
OUTPUTV  : 0.0 Volts
DWAKE    : 0 Seconds
LOTRANS  : 0.0 Volts
HITRANS  : 0.0 Volts
ALARMDEL : 30 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO :
END APC  : 2017-05-04 15:42:18 +0200

Many of the status values are not recognised. It makes the daemon with this model practically unusable. I'd happily provide more info if needed to debug this.

Thanks,
Chris



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Reply | Threaded
Open this post in threaded view
|

Re: apcupsd not working properly on Ubuntu 16.04 LTS-based 4.4 kernel

Jernej Simončič-3
On Thursday, May 4, 2017, 16:05:25, nls wrote:

> [14572.927454] usb 1-1.6: Manufacturer: EATON

This is likely the reason - apcupsd is intended for APC UPSes, not
other brands.

--
< Jernej Simončič ><><><><>< http://eternallybored.org/ >

A Smith and Wesson beats four aces.
       -- Canada Bill Jones's Supplement


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users