alsasrc ...is busy
Pavel Hofman
pavel.hofman at ivitera.com
Wed Apr 10 13:24:03 UTC 2019
Dne 10. 04. 19 v 15:18 Carl Karsten napsal(a):
>
>
> On Wed, Apr 10, 2019 at 1:07 AM Pavel Hofman <pavel.hofman at ivitera.com
> <mailto:pavel.hofman at ivitera.com>> wrote:
>
> Dne 10. 04. 19 v 7:54 Carl Karsten napsal(a):
> > alsasrc device=hw:0,0 ... Device 'hw:0,0' is busy -
> > how do I un-busy it?
> >
> > I'm sure that involves discovering what has it locked.
> >
>
> This command lists processes using your sound devices:
>
> sudo lsof /dev/snd/*
>
> Most typically pulseaudio, IME.
>
>
> yep - thanks.
>
> juser at odroid3:/usr/local/bin$ sudo lsof /dev/snd/*
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> pulseaudi 666 juser 21u CHR 116,32 0t0 10590 /dev/snd/controlC1
> pulseaudi 666 juser 27u CHR 116,32 0t0 10590 /dev/snd/controlC1
> pulseaudi 666 juser 33u CHR 116,0 0t0 1217 /dev/snd/controlC0
> pulseaudi 666 juser 40u CHR 116,0 0t0 1217 /dev/snd/controlC0
Very typical view :-)
You can set any soundcard to Off/disabled in PA control panel (e.g.
pavucontrol). PA will not touch it anymore. Very handy when working on a
regular workstation where PA has its merit - typically running the
onboard soundcard via PA, while an external quality soundcard via alsa
directly.
Regards,
Pavel.
More information about the gstreamer-devel
mailing list