APC UPS daemon

32 views
Skip to first unread message

Bill Wether

unread,
Jan 18, 2019, 10:18:31 AM1/18/19
to qubes...@googlegroups.com
Hi, all,
 
I'm running R4 on one of my Supermicro AMD boxes, which is plugged into an APC SmartUPS.  I installed apcupsd to Dom0 (it's in the Dom0 repos) but the box doesn't seem to see the UPS.  It works okay on the same hardware running CentOS 6.5 and KDE--it shows up in the power applet automatically, like a laptop battery.
 
I expect it needs its own dedicated USB controller or something so that it can talk to Dom0, but I can't find anything on it in the docs or on the list archives.  Since it's in the repo, I assume that it works--would someone please enlighten me?
 
Thanks
 
BillW

Achim Patzner

unread,
Jan 18, 2019, 12:48:21 PM1/18/19
to qubes...@googlegroups.com
On 20190118 at 16:18 +0100 Bill Wether wrote:
> I installed apcupsd to Dom0

Is there any good reason to do that? I handed over my UPS' USB
connection to a separate VM which in turn notifies dom0 using RPC. My next step was moving that to an old <something>Pi and asking it across the network.

And please don't forget to restrict access appropriately if you use a
separate server. Someone turned off my workplace's power bar (and thus
the UPS) and it shut down my notebook across the VPN link.


Achim

Bill Wether

unread,
Jan 18, 2019, 1:59:35 PM1/18/19
to qubes...@googlegroups.com
On 1/18/19 12:48 PM, Achim Patzner wrote:> On 20190118 at 16:18 +0100 Bill Wether wrote:
>> I installed apcupsd to Dom0
>
> Is there any good reason to do that?

Simplicity.  It would take me a long time to do what you describe below.
 
> I handed over my UPS' USB connection to a separate VM which in turn
> notifies dom0 using RPC. My next step was moving that to an old
> <something>Pi and asking it across the network.
>
> And please don't forget to restrict access appropriately if you use
> a separate server. Someone turned off my workplace's power bar (and
> thus the UPS) and it shut down my notebook across the VPN link.
>

Cheers
 
BillW

awokd

unread,
Feb 1, 2019, 10:55:57 AM2/1/19
to qubes...@googlegroups.com
Achim Patzner wrote on 1/18/19 5:48 PM:


> connection to a separate VM which in turn notifies dom0 using RPC.

How did you do this step?

Achim Patzner

unread,
Feb 2, 2019, 11:34:18 AM2/2/19
to qubes...@googlegroups.com
On 20190129 at 12:01 +0000 'awokd' via qubes-users wrote:
> > connection to a separate VM which in turn notifies dom0 using RPC.
> How did you do this step?

Blatantly stealing the idea from qubes.SyncAppMenus but executing some
script that deals with the warning. It's really simple to do it.


Achim


Reply all
Reply to author
Forward
0 new messages