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.
I'm running Slackware 9, using a VIA chipset for sound. When I do that thing that lists hardware, I can see the audio controllers as /dev/dsp and /dev/dsp1, but nothing in X seems to find them. (Nor can I cat /dev/urandom > /dev/dsp) I tried the ALSA drivers, but they were impossible to build. The makefiles that were generated simply did not work, even after following the directions that had been posted on their site. If anyone has suggestions, please let me know.
Or variations of that. Also, can you post up the error messages from ALSA when you try to build?
Also, I am not sure what page you were looking at for your sound card on ALSA, so here's the link I found for you on your card: Via 8233
In the alsa build instructions you should have seen something about ./snddevices That file exists in the alsa-driver directory. That creates the necessary devices that ALSA uses. However, you should also notice a section on changing ownership to them as well. If not, let me know and I'll be glad to copy and paste it here for you.
Do you have your active kernel source at /usr/src/linux? To find out:
Whatever kernel version that is, look at:
ls -l /usr/src
And notice a linux entry (if at all). Does it point to the same kernel that uname -r returns? If not, symlink it:
ln -sf /usr/src/linux-2.4.20 /usr/src/linux
Or whatever version you are using.
If nothing is there at all, then whatever uname -r returned should be downloaded from the www.kernel.org and unpacked in /usr/src and symlinked as shown above.
Also, you will need "sound" compiled as module. However, info on that is also included at the alsa site. (modinfo soundcore)
The soundcore module is running already, and uname -r returns '2.4.20' where my source directory is '/usr/src/linux-2.4.20'. If you wouldn't mind explaining, why would the source path be relevant to this?
ALSA compiles against a running kernel. To do this, it uses info obtained from your current kernels config. It does this by looking at /usr/src/linux which (on a lot of systems) is symlinked to the running kernel's source.
Can you post the actual error you are getting, and at what time you are getting it (not time of day, but what you are doing when the error is spit out).
As far as I can tell, there are no more errors excepting the modprobe of via82cxxx_audio, which returns no such device. The ALSA driver has built for my card and installed fine, but sound is still not working.
Here's what I'd do when configging sound:
(After making sure the permissions are all cool)
First: Try modprobing for my module. To find out which module that is, I will either look through /etc/rc.d/rc.modules or plug through a current kernel to the sound portion and read the help file there.
IF that doesn't work I'd move onto either 1: reconfig kernel to add support for that module, OR 2: install alsa.
Installing alsa is as straight forward as it comes. There is a page dedicated to MANY many sound cards out there, and I'd follow the step by step directions from them.
After that I've never had a soundcard not work. If I did, it's usually because I either missed a step in the alsa instructions, or I chose the wrong one for my soundcard.
How might I find out what soundcard I have? I look at lspci. It shows me in the multimedia section. At the very end, if I have nothing working, I will (and have only once) just go get a new soundcard. Obviously things aren't working too well with the one I have been trying. SB Live's work great. So that's what I got.