UDEV
Karl Larsen
k5di at zianet.com
Thu Aug 2 19:10:45 UTC 2007
Andy Green wrote:
> Somebody in the thread at some point said:
>> Andy Green wrote:
>>> Somebody in the thread at some point said:
>>>
>>>> I read but did not understand any details of udev but I am certain
>>>> it is why my old application called gmfsk finds that /dev/dsp is busy.
>>>> It is not busy but the current setup of udev makes it appear busy. Also
>>>> it is certain that udev can have upset with the new kernels and be
>>>> causing the problems some or most of us are having.
>>> What makes you think /dev/dsp isn't busy, and if it is busy, that udev
>>> is to blame? Try this
>>>
>>> lsof -n | grep /dev/dsp
>>>
>>> it should list any processes that have /dev/dsp open.
>>>
>>> -Andy
>>>
>> I did that and got no result. I think that means it is not busy?
>
> It means no other app has it open, maybe some other meaning of "busy" is
> in mind.
>
> I just looked at the sources in ./src/snd.c ... can you copy the last
> couple of things it says before it fails? It should say something like
> "Opening /dev/dsp for writing" or similar.
>
> Another tool is strace, just run the thing as
>
> strace gmfsk
>
> add whatever gmfsk args you usually use at the end.
>
> After it stops spewing nonsense, review the last few dozen lines looking
> for lines referring to /dev/dsp, and cut and paste them here.
>
> -Andy
>
Hi Andy I am not yet able to save strace output. I tried $ strace gmfsk
> gm.txt but it put notin in the file. Will experiment. Attached is a
screenshot of the warning panel I get. More when I figure out how to get
it in a file.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-gmfsk.png
Type: image/png
Size: 7685 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070802/eb78744f/attachment-0001.png>
More information about the fedora-list
mailing list