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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"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.