-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are there any legacy apps making use of the OSS compatibility layer?
lsof /dev/dsp

Jürgen Schöneberg wrote:
> thank you for the answer!
> 
> but the output of
> 
> lsof -f /dev/snd/controlC1
> lsof: WARNING: can't stat() ext3 file system /dev/.static/dev
>       Output information may be incomplete.
> lsof: status error on -f: No such file or directory
> COMMAND    PID  USER   FD   TYPE DEVICE SIZE NODE NAME
> mixer_app 4515 harpo   17u   CHR  116,0      7306 /dev/snd/controlC0
> gamix     4581 harpo    4u   CHR  116,0      7306 /dev/snd/controlC0
> gamix     4581 harpo    5u   CHR 116,32      7134 /dev/snd/controlC1
> alsamixer 4583 harpo    3u   CHR  116,0      7306 /dev/snd/controlC0
> 
> at my linux (64studio) on PC
> doesn't help me , because these applications are not blocking my sound device
> 
> even if I kill them , , I when I want to start jack, I get: 
> jackd 0.103.0
> Copyright 2001-2005 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> 
> JACK compiled with System V SHM support.
> loading driver ..
> apparent rate = 44100
> creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
> control device hw:0
> the playback device "hw:0" is already in use. Please stop the application 
> using it and run JACK again
> cannot load driver module alsa
> no message buffer overruns
> 
> 
> so  it should be something searching on "hw:0"
> 
> thanks 
> Juergen
> 
> 
> 
> 
> On Tuesday 16 October 2007 12:16, you wrote:
>> lsof does the trick nicely:
>>
>> lsof /dev/snd/controlC0
>> lsof: WARNING: can't stat() usbfs file system /proc/bus/usb/.usbfs
>>       Output information may be incomplete.
>> kmix       6731    myuser   10u      CHR      116,7
>> 14675 /dev/snd/controlC0
>>
>> For OSS apps:
>> lsof /dev/dsp
>> lsof: WARNING: can't stat() usbfs file system /proc/bus/usb/.usbfs
>>       Output information may be incomplete.
>> COMMAND     PID     USER   FD   TYPE DEVICE SIZE  NODE NAME
>> vmware-vm 14033 myuser  190r   CHR   14,3      14645 /dev/dsp
>>
>> In this example I replaced my actual username with myuser.
>>
>> Cheers,
>> Gustin
>>
>> Jürgen Schöneberg wrote:
>>> Hello!
>>>
>>> how can I simply search for processes which are blocking my sound device?
>>>
>>> e.g. sometimes firefox and java or some other audio application is using
>>> the sound device, so I can't start jack.
>>>
>>> before I start jack I want to be sure that no other application is
>>> blocking.
>>>
>>> some simple commands to grep and kill?
>>>
>>>
>>> thank you
>>> J�rgen
>>>
>>>
>>>
>>> _______________________________________________
>>> 64studio-devel mailing list
>>> [email protected]
>>> http://lists.64studio.com/mailman/listinfo/64studio-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFRY0wRXgH3rKGfMRAo8pAJ9PU24Cn9JU6Bq7l+ZRZCL1hpE0yACeM3CL
wcYYjbodoiPOnLm8OZMdGPo=
=RsEI
-----END PGP SIGNATURE-----

_______________________________________________
64studio-devel mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-devel

Reply via email to