when i try to play a sound file with mpg123 or mpg321 i get an error
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
"c"? I don't think I've seen that before. Huh, anyhow, try doing "chmod 0666 /dev/snd/pcmC0D0p" as root. That should give r/w permissions to everyone for that device (as well as summon the dark lord ;-)).
Octal code works like this:
The reason it works this way has to do with binary theory, but I won't get into that. Anyhow, basically, it's easy to remember it this way, and therefore 0-7 is:
3=(2+1) Write & Execute
5=(4+1) Read & Execute
6=(4+2) Read & Write
7=(4+2+1) Read, Write, Execute
Then in order from left to right it's Sticky Bit, User, Group, Others. So apparently, since the device was being used by a user (or process) which came into the "others" category, it needed to both read & write to not get the perms error. I bet if you had set it to 667, for instance, you wouldn't get the error message either, but you really don't need to execute the device (and may cause probs down the road).
Oh yeah, and the reason I suggested that, was because you listed your perms as "rw-rw--w-". The third column is for others, and it's only listing write access. So those perms would be equivalent to 662.