bodhi Wrote:
-------------------------------------------------------
> @Dave & Ron,
> I'll include the requested config options in the
> next release. You can test it, then!
>
> @Dave,
> I saw some unchecked config switches under HID.
> Perhaps include them will cover your UPS. But out
> of curiousity, if you still have the older kernel
> files, could you get the output of this grep and
> post it here? (where config-3.xx.x-kirkwood-xx is
> that kernel config file):
>
I am running 3.13-tld2 release (fresh install, not an "upgrade" install) on a Pink POGO E02 device with a CyberPower UPS attached.
root@pogo2:~# uname -a
Linux pogo2 3.13.1-kirkwood-tld-2 #1 PREEMPT Tue Feb 4 03:19:07 PST 2014 armv5tel GNU/Linux
I boot this POGO from an attached USB key (the A-DATA device shown below).
root@pogo2:~# lsusb
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 001 Device 004: ID 125f:cb10 A-DATA Technology Co., Ltd.
I am using the "nut-client" and "nut-server" packages from the Debian "armel" repository; these packages might "behave differently" compared to the "apcupsd" package used by Dave. The only issue I encountered was with "ownership" of the USB port; an occasional problem encountered during the installation of the "nut" package.
This command fixed the "ownership" issue: chown -R root:nut /dev/bus/usb/001/003
For reference, this physical USB port (001/003) is located immediately above the AC power connector.
I use the "nut-server" package so that 3 separate Windows 7 physical machines can read the UPS status from this POGO using the Windows version of "nut"; all 3 are powered by this UPS. The Windows version (currently derived from NUT 2.6.5) of "nut" happens to work with some effort, but I have yet to run it through any UPS-related tests ("ups shutdown", "ups low battery", etc.). I read the UPS status in a web interface via another Linux machine across the network so POGO doesn't have to run a web server app or require the "nut-cgi" package (and the packages that go with "nut-cgi").
This POGO install also uses little memory as shown by "free -h":
root@pogo2:~# free -h
total used free shared buffers cached
Mem: 246M 53M 192M 0B 5.5M 23M
-/+ buffers/cache: 24M 222M
Swap: 0B 0B 0B
I have seen the "used" value drop to as low as 26M.
POGO itself uses very little power, about 10W or less based on my own measurements. When POGO is the only device powered up on this UPS, the UPS reports "0" in it's "load" output. Here's a little detail about this UPS from a "verbose lsusb" output:
idVendor 0x0764 Cyber Power System, Inc.
idProduct 0x0501 CP1500 AVR UPS
bcdDevice 0.01
iManufacturer 3 CPS
iProduct 1 CP 1500D
In the "nut" package, this UPS uses the "usbhid-sys" driver provided by "nut", and I suspect that communicates with the UPS via the "usbhid" and "hid" kernel modules.
root@pogo2:~# lsmod
Module Size Used by
orion_wdt 2993 0
hmac 2441 0
sha1_generic 1760 0
sha1_arm 3397 0
mv_cesa 10625 0
ext2 58385 1
mbcache 5678 1 ext2
sg 20647 0
sd_mod 34456 2
crc_t10dif 1032 1 sd_mod
crct10dif_common 1126 1 crc_t10dif
usb_storage 36835 1
usbhid 34005 0
hid 75867 1 usbhid
scsi_mod 157867 3 sg,usb_storage,sd_mod
-------------------------------------------------------
> @Dave & Ron,
> I'll include the requested config options in the
> next release. You can test it, then!
>
> @Dave,
> I saw some unchecked config switches under HID.
> Perhaps include them will cover your UPS. But out
> of curiousity, if you still have the older kernel
> files, could you get the output of this grep and
> post it here? (where config-3.xx.x-kirkwood-xx is
> that kernel config file):
>
> cat config-3.xx.x-kirkwood-xx | grep -i hid >
I am running 3.13-tld2 release (fresh install, not an "upgrade" install) on a Pink POGO E02 device with a CyberPower UPS attached.
root@pogo2:~# uname -a
Linux pogo2 3.13.1-kirkwood-tld-2 #1 PREEMPT Tue Feb 4 03:19:07 PST 2014 armv5tel GNU/Linux
I boot this POGO from an attached USB key (the A-DATA device shown below).
root@pogo2:~# lsusb
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
Bus 001 Device 004: ID 125f:cb10 A-DATA Technology Co., Ltd.
I am using the "nut-client" and "nut-server" packages from the Debian "armel" repository; these packages might "behave differently" compared to the "apcupsd" package used by Dave. The only issue I encountered was with "ownership" of the USB port; an occasional problem encountered during the installation of the "nut" package.
This command fixed the "ownership" issue: chown -R root:nut /dev/bus/usb/001/003
For reference, this physical USB port (001/003) is located immediately above the AC power connector.
I use the "nut-server" package so that 3 separate Windows 7 physical machines can read the UPS status from this POGO using the Windows version of "nut"; all 3 are powered by this UPS. The Windows version (currently derived from NUT 2.6.5) of "nut" happens to work with some effort, but I have yet to run it through any UPS-related tests ("ups shutdown", "ups low battery", etc.). I read the UPS status in a web interface via another Linux machine across the network so POGO doesn't have to run a web server app or require the "nut-cgi" package (and the packages that go with "nut-cgi").
This POGO install also uses little memory as shown by "free -h":
root@pogo2:~# free -h
total used free shared buffers cached
Mem: 246M 53M 192M 0B 5.5M 23M
-/+ buffers/cache: 24M 222M
Swap: 0B 0B 0B
I have seen the "used" value drop to as low as 26M.
POGO itself uses very little power, about 10W or less based on my own measurements. When POGO is the only device powered up on this UPS, the UPS reports "0" in it's "load" output. Here's a little detail about this UPS from a "verbose lsusb" output:
idVendor 0x0764 Cyber Power System, Inc.
idProduct 0x0501 CP1500 AVR UPS
bcdDevice 0.01
iManufacturer 3 CPS
iProduct 1 CP 1500D
In the "nut" package, this UPS uses the "usbhid-sys" driver provided by "nut", and I suspect that communicates with the UPS via the "usbhid" and "hid" kernel modules.
root@pogo2:~# lsmod
Module Size Used by
orion_wdt 2993 0
hmac 2441 0
sha1_generic 1760 0
sha1_arm 3397 0
mv_cesa 10625 0
ext2 58385 1
mbcache 5678 1 ext2
sg 20647 0
sd_mod 34456 2
crc_t10dif 1032 1 sd_mod
crct10dif_common 1126 1 crc_t10dif
usb_storage 36835 1
usbhid 34005 0
hid 75867 1 usbhid
scsi_mod 157867 3 sg,usb_storage,sd_mod