On 03/08/2015 02:47 PM, François Gannaz wrote:
> Greetings Chris, and thank you for your quick answer.

Always happy to help if/when I have the time.  ;-)

> I confirm that, when I resumed my hibernated Linux, your patched version
> of Mumble did not flood my partition. But it still smelled on the ALSA
> side: no sound in Mumble, trying to change the settings froze it.
> So I had to kill Mumble, unload the sound module and reload it.

Hmm... bummer.  Okay.  I'll report that to the Github bug.  It sounds
like Mumble is "disconnected" from ALSA after the machine comes back
from sleep.

> For reference, here is the hook I now use for systemd, in
> /etc/systemd/system/root-suspend.service:
> 
> ```
> [Unit]
> Description=Suspend hook
> Before=sleep.target
> 
> [Service]
> Type=simple
> ExecStart=-/usr/bin/pkill mumble
> 
> [Install]
> WantedBy=sleep.target
> ```
> 
> Hook enabled with `systemctl enable root-suspend`, then `systemctl
> hibernate` will kill Mumble. This workaround is okay, I just need to
> launch it on resume.

I found some hints here:

   https://wiki.archlinux.org/index.php/Power_Management#Sleep_hooks

  -- Chris

-- 
Chris Knadle
chris.kna...@coredump.us


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to