SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have onboard ac97 with the via 8233a southbridge chipset running slackware 9.0, and I compiled the alsa via82xx modules, but when I try to modprobe it says it cant find the modules.
I've tried compiling everything twice, and added the lines to modules.conf that it tells me too, but still no go.
Also, on a side note, when i did the ./configure on the alsa-driver-0.9.2, I had to add a --with-kernal=/usr because it said it couldnt find version.h.
Here's the whole version.h error:
Code:
checking for kernel version... The file /lib/modules/2.4.20/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
And if it matters, I'm a linux , so go easy on me please.
well, in the 2.4.20 kernel, the 8233 is not supported (Was supposed to be)...it is in the 2.4.21 pre patches. the pre-7 wont compile without a pain, the pre-6 will. But it is still very buggy and doesn't work with esound, not sure about arts, either way being you are new dont mess with that.
You have to go with alsa, once you have it set up you wont have to worry. Ok, when programs install and they want to build modules for the kernel (which the alsa drivers are) they look for a symlink file called 'linux' in /usr/src. The symlink (same as a shortcut in windows) points to the current kernel source so the program knows where to put the modules. You dont have the source. Go to a slackware ftp and go into the 'k' section and download "kernel-source-2.4.20-noarch-5.tgz" then run
as root
Code:
#installpkg kernel-source-2.4.20-noarch-5.tgz
It will intsall the kernel source and the symlink for you. Then get the alsa-drivers, alsa-lib, alsa-utilities. Unpack them into /usr/src. go into alsa-drivers
Code:
#./configure
#make
#make install
#./snddevices
then go into alsa-lib
Code:
#./configure
#make
#make install
then into alsa-utilities
Code:
#./configure
#make
#make install
Then you have to edit your /etc/modules.conf file. You have to be root to save this so easiest way is
Code:
# pico /etc/modules.conf
btw, on the command line (not sure if you know this) a # means you are root, $ means user. So make sure you are root through all this. Then place this into your /etc/modules.conf
Code:
# Alsa driver
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
reboot, now you have to unmute your mixer
Code:
$ amixer set Master 22 unmute
$ amixer set PCM 22 unmute
$ amixer set CD 22 unmute
note, those last command were not as root.
This should get your sound working, you should put the amixer lines in your /etc/rc.d/rc.local file so they get run everytime you boot, otherwise you will have to run them (just the 3 amixer lines) everytime you boot. I think there is another command to restore the sound on boot also, i just use the rc.local way. Post back when you get it working or need more help.
My onboard AC97 wasn't working with kernel 2.4.20 but after upgrading to the 2.4.21 kernel package, it started to work like magic. At least, I think that did it, and the post about the prepatches seems to confirm that.
planet09:
My sound wasn't clear either, at least the music I played with xmms wasn't. Later, I figured out the volume was just set too high and it was clipping. If you use KDE and aRts sound mixer, try running "artscontrol" and reduce you general volume.
[QUOTE]Originally posted by Bjørn
[B]My onboard AC97 wasn't working with kernel 2.4.20 but after upgrading to the 2.4.21 kernel package, it started to work like magic. At least, I think that did it, and the post about the prepatches seems to confirm that.
Tnx Bjørn, I upgrade finnaly my kernel 2.4.20 to 2.4.21 and sound works great (better then in windoze). Sorry for my english.
Hey Guys,
I'm new, and I'm kinda stuck in the same situation as the first user.
I'm using an Elite Group P4VXAD (http://www.ecsusa.com/products/p4vxad_v3.html) MoBo w/ AC97 Audio Codec: Compliant with AC97 2.2 specification (built in) and Slack doesn't seem to like it. I've looked around and can't find anything to do about it (other then Alsa, but I have no clue how to use that).
Any input would be greatly appreciated, Thanks in advance,
-Matt
Hey all, I just managed to get ALSA all installed ok, but, on following the guide at the top of this thread and going to unmute the mixer, i get this error:
Code:
stevo@stevo: ~$ mixer set Master 22 unmute
amixer: Mixer attach default error: No such file or directory
Another person said they didn't see the "./snddevices" part, what part is this? on the alsa guide?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.