LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux 2.6 and Alsa question via82xx (https://www.linuxquestions.org/questions/linux-newbie-8/linux-2-6-and-alsa-question-via82xx-115756/)

SuperNoob 11-13-2003 06:42 PM

Linux 2.6 and Alsa question via82xx
 
Ok, I have a couple of questions. Please help if you can answer even one:
Here is my setup:
1)Installed Slackware 9.1 (Full Install)
2)Login as root
3)startx (started up kde) = my sound worked here without making any changes
4)Downloaded linux 2.6.0-test9 kernel and extracted to /usr/src/
5) ran ln -s /usr/src/linux-2.6.0-test9 /usr/src/linux (so it points to new kernel)
6) make mrproper
7) make xconfig (Under Sound, I used defaults snd=y,alsa=y,oss api emulation=y ,mixer=y,pcm=y, changed intel=n and via82xx=y) I compiled everything into the kernel. Saved and quit.
8) make clean
9) make modules (Do I need to run these 2 lines???)
10) make modules_install (I compiled everything into the kernel)
11) make bzImage and put it in lilo to boot

When I reboot, I get:
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 option and report if it works on your machine.
and also:
FATAL: Module snd_pcm_oss not found.
FATAL: Module snd_mixer_oss not found.

I run alsamixer and unmute, then 'alsactl store' and startx(kde):

MAIN PROBLEM: I get sound static when it plays kde intro or and music.
I have heard that if you change dxs_support=1, 2 , or 3 you can fix this problem.
Where the heck do I change this dxs_support option??? (I have tried adding 'option snd-via82xx index=0 dxs_support=2' to my /etc/modules.conf) How can I add that option if I compiled everything into my kernel. Does the modules.conf even do anything when everything is compiled into the kernel? Also, I heard if I am using Slackware, then i need to put it in /etc/rc.d/rc.modules, but the only thing in there is commented out OSS stuff.

Where can I get the snd_pcm_oss and snd_mixer_oss modules from. Do I have to compile the ALSA 0.9.8 driver,lib,utils BEFORE I compile my kernel.
If I want to use the newer ALSA 0.9.8 driver,lib,utils. Do I compile with Sound Support=Y or M, and then do I put ALSA=n and OSS=n. Or Do I also want ALSA=Y or M with OSS emulation, pcm,mixer,sequencer=Y or M. Then do I put via82xx=Y, N, or M. I guess my question is, What should my config look like if I want soundcore module loaded and be able to use ALSA 0.9.8 dirvers, lib, utils??

Thanks in Advance... ( I have honestly spent many hours searching the net and trying to figure this out on my own, but I NEED HELP BAD)

SuperNoob 11-14-2003 08:00 PM

Ok,
I Have managed to fix the dxs_support problem.
I manually editted the /usr/src/linux-2.6.0-test9/kernel/sound/pci/via82xx.c file and changed it. Here are the results:

DXS_SUPPORT=48K(Default). This gives loud static half of the time.

DXS_SUPPORT=ENABLED. This gives crappy sound quality, but everything plays and doesn't freeze.

DXS_SUPPORT=DISABLED. This gives great sound quality, but .mp3s only play on Kaboodle and Noatun right away. If I start XMMS, it freezes for about 30-60 secs and then starts playing fine. (Maybe this is a OSS vs. ALSA problem?? Does XMMS use ALSA or OSS? How about Kaboodle or Noatun??

I assume DXS_SUPPORT=AUTO would just enable 48K. Correct??

I am still having major trouble finding out how to get rid of the 2 errors for OSS Emulation: (I don't know if this has anything even to do with the above dxs_support thing?)

FATAL: module snd-pcm-oss not found
FATAL: module snd-mixer-oss not found

SuperNoob 11-15-2003 10:59 AM

Another update:
I finally got it to load the snd_pcm_oss and snd_mixer_oss modules:
I selected everything to compile into kernel EXCEPT under OSS API Emulation I had the pcm and mixer set to compile as modules.

However, that had no effect on the dxs_support settings.

I reinstalled slack 9.1 and I am using the 2.4.22 kernel and alsa(which is used by default w/ slack 9.1?). I also figured out why my modules.conf file wasn't being read. It was because of hotplug. I added the via82xx stuff to my modules.conf and booted up with the nohotplug boot parameter. I changed between all 4 dxs_support option and it does the same thing.

How do I just disable ALSA altogether and use only OSS? Do I do it through modules.conf or do I have to recompile the kernel?


All times are GMT -5. The time now is 02:25 AM.