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@xxxxxxxxxxxxxxxxxxxx https://lists.linuxaudio.org/listinfo/linux-audio-user
-- https://fps.io _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx https://lists.linuxaudio.org/listinfo/linux-audio-user