Re: udev rule for running a ALSA to Jack bridge when USB device is plugged in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux