Hello...
I'm currently running with the latest release of alsa on a debian woody
(kernel 2.4.14):
alsa-driver-0.5.12
alsa-lib-0.5.10b
alsa-utils-0.5.10
The motherboard is an Intel I815. So I used the intel8x0 driver.
Everything works fine but I get the "i815 too fast bug" (see in mailing
list archive).
I managed to make it work though.
My "quite working" modules.conf looks like this:
--------------------------------------------------
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-card-intel8x0
options snd-card-intel8x0 snd_ac97_clock=47999
# 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
-----------------------------------------------
I had to set snd_ac97_clock to 47999... Strange...Let's investigate ;-)
Test 1:
-------
no options in modules.conf (assuming snd_ac97_clock=48000 as stated in
sources). I get the "too fast bug"
In /proc/asound/0/ac97:
...
PCM front DAC : 48000Hz
PCM ADC : 48000Hz
Test 2:
-------
I set snd_ac97_clock=48000. Results are the same.
Test 3:
-------
I set snd_ac97_clock=47999. And hopefully, it's quite working:
/proc/asound/0/ac97 after playing a 44100 Hz sample:
...
PCM front DAC : 44099Hz
PCM ADC : 48000Hz
I suppose that PCM front DAC speed should be 44100 Hz. So let's say it's
ok.
Test 4:
-------
One hertz less is ok. So what gives one hertz more ?
I set snd_ac97_clock=48001.
Result:
...
PCM front DAC : 48000Hz
PCM ADC : 48000Hz
Not working.
Conclusion:
-----------
It seems that _MY_ ADC speed is really 48000.
If snd_ac97_clock is greater or equal to 48000, you'll surely get the
"too fast bug" (in fact the front DAC always sets to 48000 even if you
play a 44100 sample).
Hope this helps...
--
St�phane DESNEUX OPEN CARE
R&D Manager EUROPE
--------------------------------------------
Tel:+33 1 69 35 64 70 [EMAIL PROTECTED]
Fax:+33 1 69 35 64 71 http://www.ocare.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user