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.
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.
Ok, so I went back into my 2.6 config, everything but sound works. Net, video, mouse, except for sound. I made sure to add support for ALSA, and for my soundcard. VT82C686 AC97 Audio, and in /lib/modules/2.6.14.4/kernel/pci , I have the file snd-via82xx.ko.
I reran alsaconf , and my card was found, via82xx. It configures itself, and when it finishes, I get a FATAL error, but I can't read it in time because the screen quickly changes, saying that ALSA is ready to use, but when I run alsamixer, I just get another error. What should I try now?
double-check the sound options in your config... it sounds (no pun intented) like you have missed something in the configuration... i recall something like this happened to me a while back - the problem was caused by an option i missed in the sound section - i can't remember which one it was, though... i found it through trial and error...
Well under sound, I compiled sound card support into the kernel, so is ALSA with sequencer support, OSS MIXER API, OSS PCM, OSS Sequencer. Modules for generic devices such as virtual midi, MOTU, UART16550, and generic MPU401, in case I ever decide to get midi to work, and under pci devices for sound, I have VIA 82C686A/B, 8233/8235 AC97 Controller, which is what my soundboard is. The only thing that I do not have enabled is Open Source Sound System, since it is listed as Deprecated. Unless there is some wacky reason to add support for OSS itself, I left it disabled.
I think that sound-slot-1 and sound-service-1-0 refer to a second card, so it is not really an error if you only have one card. sound-slot-0 would be your first card.
Try adding
alias char-major-116 snd
alias snd-card-0 snd-via82xx
to your /etc/modprobe.conf
Should you decide to compile oss support in later, add
# OSS/Free portion
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
I know it sounds silly, but did you reinstall the alsa that was compiled against the 2.6 kernel?
I forgot that once, and alsa puked for me too with the same errors. I just went to CD2/linux-2.6.13 and ran installpkg on the alsa files. Cleaned it right up.
Ok, I will try that, but here is something else that is interesting. When I recompiled my kernel again, just for kicks, with my soundcard supported DIRECTLY in the kernel, this time when I ran alsaconf, naturally, my card wasn't there, but I was able to run alsamixer, and now I have sound....WHY? And another thing, I only noticed that my sound modules do not get loaded, and neither do my usb devices, which I have both usb1.0 on board, and a pci usb2.0 addon, so naturally I would select support for host-side USB, which is usbcore, EHCI HCD(usb2.0), OHCI HCD Support, UHCI-HCD support, USBFS, USB mass storage, USB-HID. The only way for it to work, is to compile it into the kernel, which I would prefer modules instead, and also my mouse is usb, and so in input devices, mouse is compiled into the kernel. But another thing, my other modules that I set do get called, which is the following.
Tulip and radeon of course are my network and graphics. Now, why weren't my usb, and sound modules being called when I compiled them as modules earlier?
without looking at lsmod from your first kernel build, it is hard to say what was and wasn't loaded. You said in your first post that the mouse was working, so some kind of usb driver was loaded...
As for sound, you did not try my earlier suggestion, which was the modprobe.conf entry. This (I am pretty sure) would have loaded the snd module. I guess the kernel is smarter than the user side module loaders, (eg hotplug) sometimes.
Anyway, you got it all working now!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.