Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
...you may need to alter the permissions on /dev/dsp,mixer and audio . If you can play sound as root but not as a normal user ...
1. I was told to use chmod to change permission
chmod a+w dsp
is this the right aproach? what should i do next ? I think my problem is the editing stuff . I see it all the time but still didn't find an easy explanation of how it works . Thanks
It's gonna depend on which distro you are using as to which file to edit. Slack uses rc.modules to load and unload modules. Others use /etc/modules.conf or so forth. Since you seem to use many different distros, which one are you trying to do this with?
When speeking of uncommenting a line it is speaking of removing the # (usually) in front of the module or code to load. For Example: (commented) #/sbin/modprobe emu10k1
(uncommented) /sbin/modprobe emu10k1
Using chmod changes the file permissions for any given file. Sometimes whenyou create a new user he won't hear sound, therefore you would have to set permission for him to use the applicable devices related to sound. The chmod a+w gives 'w'rite access to 'a'll. Type man chmod to get a grasp on how it works before deciding anything on it.
What is the name/brand/etc..of your sound card? That will tell you which driver you'll need to load/uncomment in the modules file. whn you know that and have the module loading, then you can worry about anything else IF it's even a problem.
I'm using Slackware 8 (2.2.9 version) . I'm not shure if this is the right info about my sound card, ( i guess it's onboard) i went to kde device manager and found this :
AC 97 Audio controller ( multimedia audio controller)
Is this the information needed ? thanks for the help .
Originally posted by jamaso AC 97 Audio controller ( multimedia audio controller)
Yes, that's what you need to know. The modules as I said with Slack are loaded using /etc/rc.d/rc.modules So you'll want to edit that file, scroll down to audio support, then uncomment the line dealing with the AC97 Audio Codec. Save the file and make sure you have PNP BIOS set to NO in your BIOS. That'll save you alot of sound and other hassles. When you reboot, you should see the module loading, if you get an error, it may be that it's not built as a module in the kernel. That's probably not the case though on a new install. Try that and see what happens first and go from there.
This looks stupid but how can i actually edit a file ? I already tried emacs but i guess JOE is easier ( at least it looked simpler) . I know i'm not doing my "homework" but i've got very little time to study Linux . I already wrote the /etc/rc.d/rc.modules on th editor but NOTHING happend . I'm going now to disable the PNP BIOS and return . thanks
I sort of go against the grain when editing by not using the 'standard' editors like pico and vi/vim. By far, the easiest is jed. I think you'll be surprised how much easier editing a file is using this editor. So when you edited rc.modules, which file did you uncomment and does it load on startup? It should be in some of the last ten or so startup lines. If not sure, jed your /var/log/messages file and go to the bottom and look at the last startup and see. I believe that the emu10k1 module will work for the AC97 Codec for the on-board sound.
That's great to hear you found the module in rc.modules. All you have to do is remove the # sign to make the module load on startup. When is it and what is it that you've done to get the read-only buffer? That's could be easily file permissions in /dev if you are doing this as a user and not root. Try all this as root first.
After changing to root i did manage to uncomment asyou said . Went to the EDIT and "saved as" . I got the message of the lines it wrote to the file . what next ? I tried to use xmms but no sound . thanks
Sorry about the quoting .i think i was trying to do something else. Is there a way that i can record stuff like this , to show it as quote supposing it's quite often one needs to refer to outcoming messages like it ?
You said you had onboard sound using the AC97 codec but the emu10k1 module is for the sound blaster live card, so the error would be because your loading the wrong module.
Hi i'm going to pass some information i got from my mother board manual
Quote:
Audio driver (optional) : Installthe necessary audio drivers and utilities to access the features of the built-in PCI audio chipset.
PS I had the this onboard card working with mandrake so i guess it would work on Slackware . Can i try all the other modules , and not damage anything ? thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.