[LAU] Call shutdown script when Jack looses USB connection

Florian Paul Schmidt mista.tapas at gmx.net
Mon Jul 13 11:42:14 CEST 2020


Hi,

my guess would be an udev-rule that reacts to disconnect events and then
runs a script.

http://reactivated.net/writing_udev_rules.html#external-run

Regards,
FPS

On 7/12/2020 11:19 AM, Christoph Kuhr wrote:
> Hi *,
>
> I searched the LAU archive, since I remember the topic had come up
> before. I could find anything...
>
> I am running an RPi4 headlessly connected to a self-powered USB device
> (Midas MR18). I want the RPi4 to shut down when the USB connection is lost.
> How can I do that?
>
> Best
> Ck
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user
>

--
https://fps.io


More information about the Linux-audio-user mailing list