Re: play works but aplay does not

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

 



Rene Herman wrote:
> On 22-06-08 22:10, Jerry Geis wrote:
>
>> play wavefile.wav works fine
>
> "play" is using the OSS interface ...
>
>> aplay wavefile.wav shows this:
>>
>> ALSA lib pcm_dmix.c:1046:(snd_pcm_dmix_open) unable to open slave
>> aplay: main:564: audio open error: Invalid argument
>
> ... and this might indicate a permission problem on the ALSA device 
> nodes. What does ls -ld /dev/snd and ls -l /dev/snd say? Are you a 
> member of the group which has access? (try "id" from a terminal if 
> you're not sure).
>
> If that's not it things become more involved but it's somewhat likely 
> I guess.
>
> Rene.
>
Rene

I am user root at this time when trying to use aplay.

drwxr-xr-x  2 root root 160 Jun 22 15:49 /dev/snd
 ls -l /dev/snd
total 0
crw-rw----  1 root root 116,  0 Jun 22 15:49 controlC0
crw-rw----  1 root root 116, 24 Jun 22 15:49 pcmC0D0c
crw-rw----  1 root root 116, 16 Jun 22 15:49 pcmC0D0p
crw-rw----  1 root root 116, 25 Jun 22 15:49 pcmC0D1c
crw-rw----  1 root root 116, 17 Jun 22 15:49 pcmC0D1p
crw-rw----  1 root root 116, 33 Jun 22 15:49 timer

uid=0(root) gid=0(root) 
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)

So what should my permissions be and did I miss a command that sets up 
the correct permissions?

Jerry



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux