[Nut-upsuser] How to disable hal-addon-hid-ups

Stuart Gathman stuart at gathman.org
Fri Nov 11 18:01:08 UTC 2016


I've tried several recipes found with google, but hal likes to grab the
USB ups before nut can get it. 
There are a number of klugey workarounds, like turn off port power until
ready to start nut (so that hal doesn't see the UPS).  Or
killall hal-addon-hid-ups before starting nut.

Here is one of recipes I googled:
https://github.com/sdgathman/trippfix/blob/master/halpolicy.fdi

It doesn't work - hal still loads the addon - preventing nut upsdrvctl
from succeeding.  I'm thinking the killall is the least dirty
workaround, but what is the right way to tell hal not to mess with the
UPS (or any UPS for that matter).




More information about the Nut-upsuser mailing list