[LAU] udev rule for running a ALSA to Jack bridge when USB device is plugged in

Christopher Arndt chris at chrisarndt.de
Tue Dec 3 23:42:03 CET 2019


Am 03.12.19 um 14:01 schrieb Max:
> I was trying to create a udev rule to start a zita-a2j ALSA to Jack
> bridge automatically if i plug in a specific USB device.
> Has anyone succeeded doing something like this?

My app jack-select [1] use pyudev [2] to listen for changes in the
attached sound devices. Relevant pieces of the code are:

*
https://github.com/SpotlightKid/jack-select/blob/master/jackselect/devmonitor.py
*
https://github.com/SpotlightKid/jack-select/blob/master/jackselect/pyudev_gobject.py
*
https://github.com/SpotlightKid/jack-select/blob/master/jackselect/jackselect.py#L85
*
https://github.com/SpotlightKid/jack-select/blob/master/jackselect/jackselect.py#L326


HTH, Chris

[1] https://github.com/SpotlightKid/jack-select
[2] https://github.com/pyudev/pyudev


More information about the Linux-audio-user mailing list