Fedora Core 8 - Problem with xmms+alsa output plugin 1.2.10 (libALSA.so) / Problema con xmms+plugin de salida alsa 1.2.10 (libALSA.so)

Rodrigo S.R. cyberpro at gmail.com
Sat May 10 19:33:55 UTC 2008


ENGLISH:
========
========

I'm having a problem, apparently with permissions or something related to
this, basically with xmms; when I attempt to use the ALSA plugin instead of
the "OSS Controller" (default).

Soft and System:
================
Fedora Core 8 (stable)
Kernal 2.6.24.3
alsa-driver/firmware/oss/plugins/utils (1.0.16) and alsa-oss 1.0.15 (latest)

Sound Card:
===========
 0 [Live]: EMU10K1 - SBLive! Platinum [CT4760P]
              SBLive! Platinum [CT4760P] (rev.8)

When I want to use xmms alsa plugin (libALSA.so) throws the following error
(sorry, but I translate the error that appears in spanish):

##################################################
Please, verify:
The sound card is configured.
Has selected the correct output plugin.
there are no other programs blocking the sound card
###################################################

This problem happens when I don't use root user. Another symptom of the
apparent problem with the permissions is from firefox, when I want to see a
flash video (firefox 2.0.0.8 and flash player 9 downloaded and installed
from Fedora repository) doesn't reproduce the sounds. As much xmms as
firefox reproducing videos (for example from youtube) with the user root
works perfectly (already I saw all the possibilities, as much the one to
modify /etc/firefox/firefoxrc with DEVICE_DSP option, like the other
alternatives). I forced the permissions of /dev, but it doesn't work too:

chmod 666 /dev/dsp
chmod 666 /dev/audio
chmod 666 /dev/mixer
chmod -R 666 /dev/snd/

All the programs that try to use the ALSA as sound output fails. They only
work if I choose the option "audio OSS/ioctl output", as the case of the
MPlayer.

Output when I use gmplayer, xmms and gkrellm (volume plugin):

[root at localhost / ]# lsof | egrep '/dev/(sound|dsp|mixer)'
gkrellm   2794 cyber    9u      CHR       14,0               5037 /dev/mixer
xmms      3646 cyber   9w     CHR       14,3                5018 /dev/dsp
gmplayer  3843 cyber  9w     CHR       14,3                5018 /dev/dsp

Perhaps the solution is much more simple of which I think; or perhaps
somebody can help me if it has it working....I need to change some extra
permissions?. It's really a bug?.

I disable all sound servers but the problem persist. When I'm root user I
can use any sound server (at same time too, because the sound card have
hardware mixer)...but with another user with less privilege on system...I
doesn't work.

Any idea?

Thanks.


ESPAÑOL:
=========
=========

Estoy teniendo un inconveniente, aparentemente con permisos o algo
relacionado a esto básicamente con el xmms cuando intento usar el plugin del
ALSA en vez del "Controlador OSS" que viene en forma predeterminada.

Sistema y soft instalado:
==================
Fedora Core 8 (estable)
Kernel 2.6.24.3
alsa 1.0.16 (driver, firmware, lib, oss (1.0.15), plugins, utils)

Placa de sonido:
=============
 0 [Live]: EMU10K1 - SBLive! Platinum [CT4760P]
              SBLive! Platinum [CT4760P] (rev.8)


Cuando quiero utilizar el plugin alsa del xmms (libALSA.so) me tira el
siguiente error:

#################################################
Por favor, verifique que:
Su tarjeta de sonido esta configurada adecuadamente
Tiene seleccionado el plugin de salida correcto
No hay otros programas bloqueando la tarjeta de sonido
#################################################

Este problema ocurre cuando utilizo un usuario distinto al root. Otro
síntoma del aparente problema con los permisos es que desde el firefox,
cuando deseo veo un video en flash (firefox 2.0.0.8 y plugin flash player 9
bajados del repositorio de Fedora) no me reproduce el sonido. Tanto el xmms
como el firefox reproduciendo videos (por ejemplo de youtube) con el usuario
root funcionan perfectamente (ya vi todas las posibilidades, tanto la de
modificar el /etc/firefox/firefoxrc con el DEVICE_DSP, como las otras
alternativas).
Los permisos de /dev los forcé por si este era el problema, pero sigue todo
igual:

chmod 666 /dev/dsp
chmod 666 /dev/audio
chmod 666 /dev/mixer
chmod -R 666 /dev/snd/

Todas las aplicaciones que intentan utilizar el ALSA como salida de sonido
fallan. Solamente funcionan si elijo como opción el "OSS/ioctl audio
output", como es el caso del MPlayer:

[root at localhost / ]# lsof | egrep '/dev/(sound|dsp|mixer)'
gkrellm   2794 cyber    9u      CHR       14,0               5037 /dev/mixer
xmms      3646 cyber   9w     CHR       14,3                5018 /dev/dsp
gmplayer  3843 cyber  9w     CHR       14,3                5018 /dev/dsp

En la salida por pantalla anterior se puede ver como el xmms, el mplayer
(GUI) y el gkrellm no utilizan el ALSA (oss o lo que fuese).

Estuve leyendo en varios foros que quizás el problema esté relacionado con
el demonio HAL + ConsoleKit (hay dos bugs definidos en el Fedora con
respecto a este demonio/aplicación), pero sinceramente no funcionó lo que
recomendaban. No creo que la solución sea utilizar el root en el entorno
gráfico para que los programas puedan utilizar el oss del ALSA para
reproducir sonido.

Quizás la solución sea mucho más sencilla de lo que creo; o quizás alguien
me pueda ayudar si lo tiene funcionando de esta forma. Tengo que modificar
algún permiso extra?. Es realmente un bug?.

Alguna idea?

Muchas gracias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080510/de661b23/attachment-0001.htm>


More information about the fedora-list mailing list