[LAU] avoid suspending while recording
Hermann Meyer
brummer- at web.de
Wed Nov 2 12:27:21 UTC 2016
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
More information about the Linux-audio-user
mailing list