--- On Thu, 9/18/08, Tom London <selinux(a)gmail.com> wrote:
From: Tom London <selinux(a)gmail.com>
Subject: Re: GlitchFreeAudio, features for F10
To: olivares14031(a)yahoo.com, "For testers of Fedora Core development releases"
<fedora-test-list(a)redhat.com>
Date: Thursday, September 18, 2008, 7:04 AM
On Thu, Sep 18, 2008 at 5:20 AM, Antonio Olivares
<olivares14031(a)yahoo.com> wrote:
> --- On Thu, 9/18/08, Dennis J.
<dennisml(a)conversis.de> wrote:
>
>> From: Dennis J. <dennisml(a)conversis.de>
>> Subject: Re: GlitchFreeAudio, features for F10
>> To: olivares14031(a)yahoo.com, "For testers of
Fedora Core development releases"
<fedora-test-list(a)redhat.com>
>> Date: Thursday, September 18, 2008, 4:58 AM
>> Have you tested sound without PulseAudio going
directly
>> through alsa? PA
>> does seem to be really picky with every update
when it
>> comes to audio
>> hardware while alsa always keeps working fine for
me.
>>
>> Regards,
>> Dennis
>>
>
> I have tried oss, but does not work.
>
> I leave it as default, I get
>
>
==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio:
16000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG
layer-2, layer-3)
>
==========================================================================
> [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot
find card '0'
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate)
function snd_func_card_driver returned error: Permission
denied
> [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat)
error evaluating strings
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate)
function snd_func_concatreturned error: Permission denied
> [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer)
error evaluating name
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate)
function snd_func_refer returned error: Permission denied
> [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand)
Evaluate error: Permission denied
> [AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate)
Unknown PCM default
> [AO_ALSA] Playback open error: Permission denied
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
>
> I try oss and I get:
>
>
==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio:
16000->176400)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG
layer-2, layer-3)
>
==========================================================================
> [AO OSS] audio_setup: Can't open audio device
/dev/dsp: Permission denied
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
>
>
>
> I have checked the wiki on PulseAudio to no avail. I
had enjoyed sound for a good while, but now after two or
three rawhide reports ago, it went down :(
>
> Thanks,
>
> Antonio
>
Could 'pulsed' or some other sound daemon be
running in the background
preventing standard alsa/oss from accessing /dev/dsp or
/dev/snd/* ?
Try running 'lsof | grep /dev/snd' and see if
anything shows up.
(replace /dev/snd with any other appropriate sound/video
device
files.....)
On my system that has pulseaudio running very happily:
[root@tlondon ~]# lsof | grep /dev/snd
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file
system /home/tbl/.gvfs
Output information may be incomplete.
pulseaudi 3131 tbl mem CHR 116,5
6499 /dev/snd/pcmC0D0p
pulseaudi 3131 tbl 16u CHR 116,8
0t0
6576 /dev/snd/controlC0
pulseaudi 3131 tbl 22u CHR 116,8
0t0
6576 /dev/snd/controlC0
pulseaudi 3131 tbl 31u CHR 116,5
0t0
6499 /dev/snd/pcmC0D0p
mixer_app 3158 tbl 22r CHR 116,8
0t0
6576 /dev/snd/controlC0
[root@tlondon ~]#
tom
--
Tom London
[olivares@localhost ~]$ lsof | grep /dev/snd
bash: lsof: command not found
[olivares@localhost ~]$ su -
Password:
[root@localhost ~]# lsof | grep /dev/snd
-bash: lsof: command not found
[root@localhost ~]# lsof | grep /dev/snd
-bash: lsof: command not found
[root@localhost ~]# lsof | grep '/dev/snd'
-bash: lsof: command not found
[root@localhost ~]# dmesg | grep 'snd'
[root@localhost ~]# dmesg | grep 'alsa'
[root@localhost ~]# dmesg | grep ala
rtc0: alarms up to one year, y3k
[root@localhost ~]# dmesg | grep alsa
[root@localhost ~]# lsof | grep /dev/snd/*
grep: /dev/snd/pcmC0D0c: File descriptor in bad state
grep: /dev/snd/pcmC0D0p: Invalid argument
grep: /dev/snd/pcmC0D1c: File descriptor in bad state
grep: /dev/snd/pcmC0D2p: Invalid argument
-bash: lsof: command not found
^C
[root@localhost ~]#
Thanks,
Antonio