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!
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.
"In the kernel directory there is a config file that has the line item for my sound device, however it has a # in front of it, and also a M
What does the # do
and what is the Y or the M stand for or do.
Can I change the config file to enable my device or is there more to it then this."
This config file is the parameters that Slackware used when compiling the kernel that they installed in your Slackware system. This particular config file is for reference purposes only and you should not change it. You can, however, use it as a reference when your do you own kernel compile.
The # at the beginnng of the line means that line is a comment only. Since that line is commented out it means that the driver for your sound card was not compiled into your kernel which is why the sound card will not work. Y means that the driver is to be compiled into the bootable kernel. M means that the driver is to be compiled as a loadable module and save in the loadable modules directory somewhere in /lib.
"It tells me to say Y or M and has other topics regarding this, but I'm not sure this applies to what I want to do, and I'm not sure I need to re-compile anything either."
If your Yamaha opl3 module is not compiled into the kernel then you will have to do a kernel compile to get the Yamaha opl3 working. You start out with a copy of the config file in /boot and make whatever changes you want to your new config file. You would probably uncomment the Yamaha opl3 module parameter and set it to M. Then you compile a kernel using your new config file.
I see so I could use the current config as a template for trying to get my sound card working,
Ok So I'll attempt to uncomment and set it to M, also perhaps the other sound devices that are Y, perhaps should be commented, I'm guessing to avoid any conflict perhaps, tell me it this sound right ?
Or will this matter, can I leave them alone ?
Then to kernel compile? I'll have to reasearch the how to's on that one, I don't know how to compile the kernel yet ?
Please advise if you have some simple commande or instructions on this
I'll also re-check the forum for this, I'm sure it's in there someplace
Also please advise that I have sort of 2 similar files in my boot directory
config, and config-ide-2.4.22
system map, and system map-ide-2.4.22
vmlinuz, and vmlinuz-ide-2.4.22
All of the above have written in the top, automatically generated make config: don't edit.
will this effect what I want to do with my config, or the compiling the kernel ???
"Sound Server informatin message:
Error while initializing the sound driver:
device / dev/dsp can't be opened (No such device)
The sound sevrver will continue, using the null output device"
This message means that Linux does not know what driver to run for /dev/dsp which is your sound card. The first thing to do is to find out the name of your Yamaha opl3 sound driver. Try the following commands to see if you can find the driver:
"I could disable that card an put a pci ensoniqui 1370 in there also, but I thought I tried it and same thing, no sound."
I use an ensoniq 1370. You would have to have a driver called es1371 installed for your ensoniq chipset to work. Slackware probably did not install ec1371 if your ensoniq pci was
not installed when you did the Slackware install. You could use find to check for es1371.
I don't know how much of this you must have in memory to have your sound to work. Try booting and then use:
to see if any of the opl3 drivers are loaded. If none are loaded then do:
to try to get them loaded. After you get some loaded then try your sound again. If the problem turns out to be that some drivers are not automatically loaded then you might be able to get them to load at boot by placing a modprobe statement in /etc/modprobe.conf.
"You can set it to automatically load the module by editing /etc/modules.conf."
Recently /etc/modules.conf has been changed on some distributions to /etc/modprobe.conf. If you have /etc/modprobe.conf on your system then place your modprobe command in /etc/modprobe.conf. If you have no /etc/modprobe.conf then use /etc/modules.conf like comp1234 says.