On 4/23/06, Dan Winkler <[EMAIL PROTECTED]> wrote:
>
> as root no sound output what so ever  with xmms or mpg123 but the file can
> be seen playing

Try using alsamixer and speaker-test to test the sound.  Using xmms or
mpg123 just adds another layer to the test and makes it more difficult
to isolate the problem as shown below.

> as user mpg123 cant open /dev/dsp
> as user xmms again complains : ** WARNING **: alsa_get_mixer(): Attaching to
> mixer hw:0 failed: No such device

Is user mpg123 in the audio group?  This is the whole reason why the
audio group is in /etc/group, so you can narrow the set of users with
permissions for the audio devices.  You showed that /dev/dsp had 0660
permissions with root:audio ownership.  Now add user mpg123 to the
audio group, log out and back in.

Also, both xmms and mpg123 use the deprecated OSS system.  It's
possible this is causing you problems since you have

> # CONFIG_SND_MIXER_OSS is not set
> # CONFIG_SND_PCM_OSS is not set

I could be wrong about that, though.  I don't use OSS at all anymore. 
This is just another reason to test alsa directly with alsamixer and
speaker-test.

Good luck.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to