i810_audio mono troubles

Greg Pomerantz (gmp@alumni.brown.edu)
Mon, 17 Dec 2001 23:57:04 -0500


Monaural audio streams on my Sony Vaio PCG-R505TSK play at double speed
under Debian woody / kernel 2.4.16. I've written a quick hack to fix
it, and I was curious if this problem is affecting anybody else, or if
it is specific to my platform. I have been communicating with a number
of people on the linux-sony mailing list who are also having what appear
to be sample-rate related problems with the i810s in Sony Vaios.

Just posting this to make all of theiti810 fans aware of this. My patch
is most likely not the right way to do things, but it does work... I am
particularly curious to hear if I am doing the right thing with
I810_FMT_STEREO.

This patch was made against 2.4.16, but it applies fine (offset -4
lines) against 2.4.17-rc1. My platform is Debian woody, kernel 2.4.16.
My i810 vital statistics:

Intel 810 + AC97 Audio, version 0.04, 23:16:04 Dec 17 2001
PCI: Found IRQ 5 for device 00:1f.5
PCI: Sharing IRQ 5 with 00:1f.3
PCI: Sharing IRQ 5 with 00:1f.6
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH2 found at IO 0x1840 and 0x1c00, IRQ 5
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x4144:0x5348 (Analog Devices AD1881A)
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2
ac97_codec: AC97 Modem codec, id: 0x4358:0x5421 (Unknown)
i810_audio: timed out waiting for codec 1 analog ready

Take care,

Greg Pomerantz

#text/plain;name=patch-i810-mono-2.4.16 /home/gmp/work/stuff/patch-i810-mono-2.4.16

-
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/