Re: [LAU] Call shutdown script when Jack looses USB connection

From: Florian Paul Schmidt <mista.tapas@email-addr-hidden>
Date: Mon Jul 13 2020 - 12:42:14 EEST

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@lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user
>

--
https://fps.io
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jul 14 04:15:01 2020

This archive was generated by hypermail 2.1.8 : Tue Jul 14 2020 - 04:15:01 EEST