Skip to contentSkip to conversation

Sound

DISCUSSION John Dey 2 participants 3 messages Feb 8, 2007 – Feb 9, 2007 1 message not in the archive

lore
Share & tools
lore

John Dey

author
#0 lore raw

Hello Members,

I have posted here on the same topic but haven't received any responses. I do have some new information that makes me believe that alsa is working just fine on my PS3 using YDL 5 but needs some adjustments to permissions on file/sockets. aplay and speaker-test works as root but not as user. What changes do I need to make so that I can run aplay at user level? Thanks.

John

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw

Hi Frederico,

Thanks for your response. I get the following:

[robo9@robo9 dev]$ ls -l /dev/snd
total 0

crw------- 1 root root 116,  0 Feb  8 11:21 controlC0
crw------- 1 root root 116, 16 Feb  8 11:21 pcmC0D0p
crw------- 1 root root 116,  1 Feb  8 11:21 seq
crw------- 1 root root 116, 33 Feb  8 11:21 timer

which confirms my suspicion. I changed group to audio and added user to that group. I changed permission. But still no luck. I get the following from aplay:

[robo9@robo9 Desktop]$ aplay BWV535.wav
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device

Any further suggestions would be appreciated. Thanks.

John

John

Quoted 30 lines · Federico Grau

*** off list

Hello John,

Check the required permissions with this command:
ls -la /dev/snd

On my system I have device file permissions such as:

    crw-rw----   1 root audio 116,  24 Sep  9  2005 pcmC0D0c

Which means my non-root users need to be in the "audio" group in order to use
the audio devices.

donfede

Quoted 12 lines · John Dey

Hello Members,

I have posted here on the same topic but haven't received any responses. I do have some new information that makes me believe that alsa is working just fine on my PS3 using YDL 5 but needs some adjustments to permissions on file/sockets. aplay and speaker-test works as root but not as user. What changes do I need to make so that I can run aplay at user level? Thanks.

John

Quoted 32 lines
Quoted 14 lines

----------------------------------------------------------------------
---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 15 lines
Federico Grau
Free Software Developer and Sysadmin
Radio Free Asia
2025 M Street, NW
Suite 300
Washington, DC  20036
202-587-2046  Telephone
202-721-7468  Facsimile
CONFIDENTIAL COMMUNICATION
This e-mail message is intended only for the use of the addressee and  
may
contain information that is privileged and confidential.  Any  
unauthorized
dissemination, distribution, or copying is strictly prohibited.  If you
receive this transmission in error, please contact [email protected].

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw

chmod 660 /dev/snd/*

When you did a "chgrp audio /dev/snd/*", that corrected the group membership issue with the users. However, if you see the permission bits:

    crw------- 1 root root 116,  0 Feb  8 11:21 controlC0
    user  group  other
    rw-   ---    ---
Only the user has read and write permissions.  The chmod (change mode) command
up top should correct that and give you something like
    crw-rw---- 1 root root 116,  0 Feb  8 11:21 controlC0
    user  group  other
    rw-   rw-    ---

"man 1 chmod" for more details.

best to you,
donfede

Quoted 29 lines · John Dey

Hi Frederico,

Thanks for your response. I get the following:

[robo9@robo9 dev]$ ls -l /dev/snd
total 0

crw------- 1 root root 116,  0 Feb  8 11:21 controlC0
crw------- 1 root root 116, 16 Feb  8 11:21 pcmC0D0p
crw------- 1 root root 116,  1 Feb  8 11:21 seq
crw------- 1 root root 116, 33 Feb  8 11:21 timer

which confirms my suspicion. I changed group to audio and added user to that group. I changed permission. But still no luck. I get the following from aplay:

[robo9@robo9 Desktop]$ aplay BWV535.wav
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:547: audio open error: No such device

Quoted 69 lines

Any further suggestions would be appreciated. Thanks.

John

John

Quoted 62 lines · Federico Grau

*** off list

Hello John,

Check the required permissions with this command:
ls -la /dev/snd

On my system I have device file permissions such as:

   crw-rw----   1 root audio 116,  24 Sep  9  2005 pcmC0D0c

Which means my non-root users need to be in the "audio" group in order to use
the audio devices.

donfede

Quoted 26 lines · John Dey

Hello Members,

I have posted here on the same topic but haven't received any responses. I do have some new information that makes me believe that alsa is working just fine on my PS3 using YDL 5 but needs some adjustments to permissions on file/sockets. aplay and speaker-test works as root but not as user. What changes do I need to make so that I can run aplay at user level? Thanks.

John

----------------------------------------------------------------------
---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 15 lines
Federico Grau
Free Software Developer and Sysadmin
Radio Free Asia
2025 M Street, NW
Suite 300
Washington, DC  20036
202-587-2046  Telephone
202-721-7468  Facsimile
CONFIDENTIAL COMMUNICATION
This e-mail message is intended only for the use of the addressee and  
may
contain information that is privileged and confidential.  Any  
unauthorized
dissemination, distribution, or copying is strictly prohibited.  If you
receive this transmission in error, please contact [email protected].

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642