Hallo,
Alberto Monteiro hat gesagt: // Alberto Monteiro wrote:

> Frank Barknecht wrote:
> >
> >>> Also make sure your user account is member of the group "audio" (check
> >>> with "groups").
> >>
> >> Uh?
> >
> > "groups" is a command you can use in a terminal to check which groups
> > you belong to. There are some more funny commands in Linux, like "id"
> > or "whoami" ("Who am I"), which are invaluable tools if you're logged
> > in to many machines all over the net at the same time like I often am. ;)
> >
> This is not my case. albmont is not in the audio group. Should this
> be a problem?

Many distributions allow only members of group audio access to the
audio devices. But you could just make yourself a member with some of
your distribtions management tools like "adduser" or "useradd" (or
even just editing "/etc/group" by hand and adding your username
manually, but better use your dist's tools)

> >
> > Could you also try to play something with "aplay" or any other native
> > ALSA software? 
> >
> aplay doesn't work either. Usually it gives an error message,
> like "aplay: main:503: audio open error: Permission denied"

This reeks of permission errors on the audio devices. Could you
recreate the devices with the snddevices script from the ALSA
distribution? You could also try a "chmod -v o+rw /dev/snd/*" to make
them world  read- and writeable, which in general is not so
recommended, though. Better have them owned by root.audio "chown
root.audio /dev/snd/*" and mode 660: "chmod 660 /dev/snd/* /dev/dsp*
..." so that only members of group audio are allowed to use them.

> > It might be, that only OSS programs fail. The ALSA-OSS
> > modules are loaded, right? 
> >
> I think they are. How can I check?

If aplay doesn'T work also, it's not an error with OSS-emulation, but
"lsmod | grep oss" should show them like: 

$ /sbin/lsmod | grep oss
snd-seq-oss            29600   0 (unused)
snd-pcm-oss            38436   0
snd-mixer-oss          13304   0 [snd-pcm-oss]
snd-seq-midi-event      3552   0 [snd-seq-midi snd-seq-oss snd-seq-virmidi]
snd-seq                38352   2 [snd-emux-synth snd-seq-midi-emul snd-seq-midi 
snd-seq-oss snd-seq-virmidi snd-seq-midi-event]
snd-pcm                61156   0 [snd-pcm-oss snd-emu10k1 snd-ice1712]
snd-seq-device          4208   0 [snd-emu10k1-synth snd-emux-synth snd-seq-midi 
snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd                    31012   0 [snd-emux-synth snd-seq-midi snd-seq-oss snd-pcm-oss 
snd-mixer-oss snd-virmidi snd-seq-virmidi snd-seq-midi-event snd-seq snd-emu10k1 
snd-hwdep snd-util-mem snd-ice1712 snd-pcm snd-timer snd-ac97-codec snd-cs8427 snd-i2c 
snd-mpu401-uart snd-rawmidi snd-seq-device snd-ak4xxx-adda]

(You probably don't have the same cards as I do)

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to