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

2017-11-26 Thread Charles Lepple
On Wed, Nov 16, 2016 at 11:28 PM, Stuart Gathman wrote: > On 11/13/2016 10:08 AM, Charles Lepple wrote: >>> Here is one of recipes I googled: >>> https://github.com/sdgathman/trippfix/blob/master/halpolicy.fdi >> What if you convert the USB ID numbers to decimal? >> >> >> >> >>

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

2016-11-16 Thread Stuart Gathman
On 11/13/2016 10:08 AM, Charles Lepple wrote: >> Here is one of recipes I googled: >> https://github.com/sdgathman/trippfix/blob/master/halpolicy.fdi > What if you convert the USB ID numbers to decimal? > > > > > Ref: https://ubuntuforums.org/showthread.php?t=1253856 Oooh.

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

2016-11-13 Thread Charles Lepple
On Nov 13, 2016, at 10:08 AM, Charles Lepple wrote: > > This sounds a lot like what this file was designed to do: > > > https://github.com/networkupstools/nut/blob/master/scripts/upower/95-upower-hid.rules I thought this sounded familiar. In removing the code that talked to HAL, I think we

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

2016-11-13 Thread Charles Lepple
On Nov 11, 2016, at 1:01 PM, Stuart Gathman wrote: > > 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 >

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

2016-11-11 Thread Stuart Gathman
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