On Tue, 2017-01-03 at 18:28 +0800, Ed Greshko wrote:
On 01/03/17 18:16, Patrick O'Callaghan wrote:
> I have done similar things to your script, but using hciconfig. I even
> tried adding an action to /usr/lib/systemd/system-sleep/ so it would
> activate automatically on resume:
> .
> .
> .
> but again it's not reliable.
In testing about 15 resumes from suspend the script that I have was 100% effective for
me.
I've modified my version to include a 2-second delay between toggling
power off and on (I had simply been forcing it on), and I'll see how it
pans out. At least it worked the first time :-)
poc