Re: sound question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gerhard Magnus wrote:
> My computers are running FC6 and gnome.  One of them, A, is connected
to the stereo.  Everything works fine on A but I want to control the
sound remotely, from B.  So, while logged on to B, I ssh to A and start
up xmms.  I get the message:
> 
> "Couldn't open audio (on A).  Please check that your soundcard is
> configured properly, you have the correct output plugin selected, no
> other program is blocking the soundcard."
> 
> I get this error only if no one has already logged on to A directly,
> without having gone through ssh.  If someone is logged on to A (at A)
> and then I ssh from B to A and start xmms, it plays normally.

On Sun, 2007-05-20 at 17:20 -0300, Paulo Cavalcanti wrote:
> You need to use an "audio" group, something fedora does not define.
> How to add the audio group in Fedora 6.
> 
> 1) Change /etc/security/console.perms.d/50-default.perms
> # <console>  0600 <sound>      0600 root
> <console>  0660 <sound>      0660 root.audio
> 
> 2) Create a file /etc/udev/rules.d/52- sound.rules with the following
> contents:
> # audio devices
> KERNEL=="dsp*",                 GROUP="audio", Mode="0660"
> KERNEL=="audio*",               GROUP="audio", Mode="0660" 
> KERNEL=="midi*",                GROUP="audio", Mode="0660"
> KERNEL=="mixer*",               GROUP="audio", Mode="0660"
> KERNEL=="sequencer*",           GROUP="audio", Mode="0660" 
> KERNEL=="sound/*",              GROUP="audio", Mode="0660"
> KERNEL=="snd/*",                GROUP="audio", Mode="0660"
> KERNEL=="beep",                 GROUP="audio", Mode="0660" 
> KERNEL=="admm*",                GROUP="audio", Mode="0660"
> KERNEL=="adsp*",                GROUP="audio", Mode="0660"
> KERNEL=="aload*",               GROUP="audio", Mode="0660" 
> KERNEL=="amidi*",               GROUP="audio", Mode="0660"
> KERNEL=="dmfm*",                GROUP="audio", Mode="0660"
> KERNEL=="dmmidi*",              GROUP="audio", Mode="0660" 
> KERNEL=="sndstat",              GROUP="audio", Mode="0660"
> 
> 3) Create a group "audio" and add all users allowed to access 
> the audio devices.

I've done all this and am still getting the "Couldn't open audio" error.
The computer has been using an external USB "soundcard" and I've long
since removed the old soundcard from its slot.  Do I need to add some
usb-related lines to the 52-sound.rules file?

xmms returns these error messages:

** WARNING **: alsa_setup(): Failed to open pcm device (default): No
such device
ALSA lib confmisc.c:848:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:397:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1248:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

** WARNING **: alsa_setup(): Failed to open pcm device (default): No
such device

This is all very interesting.  Thanks again for the help!
--Jerry


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux