At Mon, 24 Nov 2003 13:50:43 +0000,
Alberto Monteiro wrote:
> 
> Takashi Iwai wrote:
> >
> >> I downloaded and installed the new alsa-driver-1.0.0pre2, with the
> >> corresponding lib and utils.
> >>
> >> The installation goes smoothly, without any error. But there is
> >> no sound output.
> >>
> >> I got the same stupid errors as before [0.9.8] when I
> >> try to play something, such as:
> >>   aplay: main:501: audio open error: Permission denied
> >>
> >> Is there any hint where this error comes from?
> >
> > it's not a bug but the lack of your permission setting.
> >
> Shouldn't "make install" take care of these details?
 
no, it shouldn't.  the configuration completely depends on the
system.  such a too-simple automatism will result in only a total
chaos and a possible security hole.

> > make sure that you have permissions to access to /dev/snd/* files for
> > ALSA, and /dev/mixer* and /dev/dsp* for OSS.
> >
> Permissions for ALSA and OSS? Should I create new users?
 
the former for ALSA native apps and the latter for OSS apps.
you don't need to create a new user, but modify the permissions of
device files and groups of the user.

> > in most cases, the files are set to allow owner and audio group only.
> > if so, you have to be a member of audio group.  add your login to
> > audio group in /etc/group, and once logout then login again.
> >
> I did that, and it still doesn't work. I doesn't give that stupid
> permission error, but nothing comes out of the speaker.

so it must be.
if the permission matters, no sound must come out.
otherwise, it's a serious bug for security.

> And a 5-second wave file takes an infinite time to "play":
> I have to abort and kill aplay.

you have definitely wrong permissions (or devfs configuration, pam
configuration, etc, if that matters) or group.

this is beyond what the driver can do.  it's a basic administrative
task of the linux system.  double-check the permissions of the
devices, and whether you belong to a right group.


Takashi


-------------------------------------------------------
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