Several problems with i810_audio driver

From: Taylan Akdogan (akdogan@mit.edu)
Date: Fri Jul 27 2001 - 19:48:06 EST


Hello Alan,

I assumed you are the maintainer of i810_audio driver. I had
three problems with it. I think, I solved one of them. I'm
talking about integrated sound card on Intel 850GBAL motherboard.
It's a 82801BA (ICH2) based AD1881A chip.

The first problem is that it's locked to 48kHz when it's included
into the kernel. It works fine when loaded as module. This is
fine, as I can live with it as module.

The second and third problem is somewhat related. When I play
something and stop playing without closing the /dev/dsp device
(say because of heavy system load), if DAC drains during this
pause, it won't continue to play anymore. The test program is
attached, which is going to fail with 2.4.7 (it was also failing
with 2.4.2).

The reason for this, I believe, is that when it receives DCH (DMA
controller is Halted) interrupt, it doesn't change dmabuf->ready
flag. A one line patch for this fix (?) is also attached. It
needs to be checked, because I'm not sure if I should lock
anything before changing it. However, the test program, and my
real application works fine with this patch.

On the other hand, the third problem... When one try to play very
very short, say less then fragsize (I tried just 8 bytes),
sample, after such pause/drain sequence, it doesn't resume to
play. I didn't track down this problem, because it's not as
disturbing as the previous one. However, it should be noted.

Best regards,
Taylan

PS: Please CC your reply to me, because of the know reason...

---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
Taylan Akdogan Massachusetts Institute of Technology
akdogan@mit.edu Department of Physics
---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:36 EST