LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Audio driver not working on 2.6.1 kernel (https://www.linuxquestions.org/questions/linux-hardware-18/audio-driver-not-working-on-2-6-1-kernel-141112/)

Djony 02-01-2004 03:50 PM

Audio driver not working on 2.6.1 kernel
 
Hi guys,
I am running Suse 8.2 and everything works fine on its original kernel 2.4.20-4GB-athlon.But I've compiled 2.6.1 kernel and my audio via8233 is not working and also my LT win modem.Does anybody know what should I do to get those devices work properly?In both driver's documentation it says that the driver are for 2.4.x kernel and above.Please help! Thanks!

snacky 02-01-2004 04:39 PM

For the soundcard, didn't you compile support for via_82xx? It's enabled in Device Drivers-> Sound -> ALSA -> PCI Devices -> VIA 82C686A/B, 8233 South Bridge

Djony 02-01-2004 07:56 PM

I am.And another thing I forgot to say: my sound card didn't work after installation of original Suse8.2 kernel and that is 2.4.20-athlon(something).I found some small driver (about 30 Kb) on Net and after installing that driver I got sound.Any ideas?

snacky 02-01-2004 09:03 PM

Just use the module (or compiled in support) you get while compiling the kernel. The driver you found will not work.

You should be able to swing this without a reboot. Do make xconfig, select your sound driver as a module, then do "make && make modules_install". insmod via82xx, and you should be good to go.

You will probably need to use a mixer to set your sound volume, e.g. aumix.

You just might find what you need for the winmodem here: http://www.physcip.uni-stuttgart.de/heby/ltmodem/

Djony 02-02-2004 09:21 PM

I already tried recompiling kernel with this module included an nothing changes.But I found new problem with this kernel.I can't see in Control Center what modules I've included in my new kernel.There is no config.in file.Maybe this will help you: during the compiling the kernel I got a lot of warnings:signed and unsigned comparison.Also I've tried the driver's for modem on link you send and everything same.Any new ideas (even a dumb one)?

Phorem 02-02-2004 11:55 PM

This might be dumb, but i have that audio chip and i use 2.6.1. Compile the audio as modules - all of it. Then download and install alsa. Worked fine for me. As for why it isn't working, well, it's probably because you installed a new kernel and the sound drivers aren't there any more (or compatible with the new kernel). If you do install alsa, make sure you edit the "/etc/rc.d/rc.modules" to include the alsa module that was built when you installed it. It should be in the /lib/modules/2.6.1 directory under sound i think. And follow the readme that is posted on the alsa website for the via82xx. Add the necessary info to /etc/modules.conf (or whatever it is in Suse).

Djony 02-03-2004 10:26 AM

I already tried that, Phorem and i can't install them.Do I need to install first lib and util for alsa and then driver.Don't really know what's for what actually.
Please write!

Phorem 02-03-2004 11:00 AM

Do "modinfo soundcore" first. If all is good, compile the driver like so......

./configure --with-cards=via82xx --with-sequencer=yes;make;make install

Then make the changes to "rc.modules" by adding this line to the bottom....

/sbin/modprobe snd-via82xx

next make the changes to modules.conf in /etc/ as per the readme on the alsa website
http://www.alsa-project.org/alsa-doc...module=via82xx

Reboot. You should be off to the races now. You can install all of the other alsa stuff before you reboot if you didn't run into any problems when compiling the driver.
Unmute the sound card when you have restarted computer with Kmix and do "alsactl store" as root to save those settings.
Cheers :-)


All times are GMT -5. The time now is 05:48 AM.