Re: [LAU] avoid suspending while recording

From: Hermann Meyer <brummer-@web.de>
Date: Wed Nov 02 2016 - 14:27:21 EET

Am 02.11.2016 um 13:24 schrieb Hermann Meyer:
> Hi
>
> I've just pushed a little command-line tool, nosuspend, to gihub,
> which is meant to protect for suspending the computer while a given
> program is running, mostly use is during recording, but other
> operations comes in mind as well, like building a kernel while sitting
> in the kitchen, . .
>
> Maybe it is useful for the one or the other here as well.
>
> This little app works on computers with systemd running, usage is
> simple, example:
>
> nosuspend jack_capture -c 2 -p system:capture*
>
> So, simply prefix your app you wont protect with nosuspend when
> running, and as long it runs, the computer wont suspend and cant shot
> down. Stopping the app will turn anything back to normal.
>
> nosuspend make use of systemd-inhibit, it sets the lock with the UID
> root bit set ( high priority), but run the given app in userspace.
>
> https://github.com/brummer10/nosuspend
>
>
> regards
>
> hermann
>
> _______________________________________________

Forgot to mention, of-course, it is GPL'd, so be careful, that smells
like a "hopy-software"!!

:-P

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Nov 2 16:15:02 2016

This archive was generated by hypermail 2.1.8 : Wed Nov 02 2016 - 16:15:03 EET