Overleg:UltrasonicPlayer

Uit RevSpace

Versie door Luteijn (overleg | bijdragen) op 26 jun 2017 om 18:22 (how to run somethign with a udev rule without blocking udev)
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)

> 2017-06-16: playing a bit with udev scripts to automate actions upon USB stick plugin: I can do short actions (like mount/unmount) but no longer running actions from udev!

You could run the script you need from udev with "at -f /path/to/script now" so it won't block udev. Mighty need a slight delay (either "sleep $time" or something more intelligent to check a few times if the /dev/entry appears) in the script to allow for the drivers to load.

Luteijn (talk) 20:21, 26 June 2017 (CEST)