Skip to contentSkip to conversation

ES18xx Bug report and help on ES1878 NoPnP

DISCUSSION Erik Welander 2 participants 2 messages Jan 30, 2003 – Feb 4, 2003

lore
Share & tools
lore
#0 lore raw

Hi there, I read your post requesting help of debugging the es18xx.c file that is apparently broken, and I have a Compaq armada 1550t, with an ES1878 NoPnP chip on the board and want to help your project in helping debugging and ironing out the bugs of the driver. I have retrieved all the working settings (i.e. DMA, IRQ) from Windows System Manager. Here is my current report on the subject:

* all mixer controls seems to work in alsamixer, you can mute/unmute the following controls (visible MM goes away/comes back) Record, Hardware, Mic Boost, Master.

By modifying snd_es18xx_playback_trigger function I tested both dma playback functions and here are my findings:

*dma1, i.e.snd_es18xx_playback2 function writeout kern.log:
(Produces no sound at all. When stopped playing an mp3 with mpg321 gives playback drain error)
**************************************************************************

Jan 30 19:30:34 cyberbob kernel: isapnp: Scanning for PnP cards...
Jan 30 19:30:34 cyberbob kernel: isapnp: No Plug & Play device found
Jan 30 19:30:35 cyberbob kernel: ALSA ../alsa-kernel/isa/es18xx.c:1569: [0x220] ESS1878 chip found
Jan 30 19:38:40 cyberbob kernel: ALSA ../alsa-kernel/core/pcm_native.c:1137: playback drain error (DMA or IRQ trouble?)

***************************************************************************

*dma16, i.e. snd_es18xx_playback1 function writeout: kern.log:
(gives a lot of background hizz/noise/garbled sound when playing a mp3 with mpg321 and the following printout):
***************************************************************************

Jan 30 19:57:51 cyberbob kernel: isapnp: Scanning for PnP cards...
Jan 30 19:57:51 cyberbob kernel: isapnp: No Plug & Play device found
Jan 30 19:57:51 cyberbob kernel: ALSA ../alsa-kernel/isa/es18xx.c:1569: [0x220] ESS1878 chip found
Jan 30 19:58:24 cyberbob kernel: ALSA ../alsa-kernel/core/pcm_lib.c:176: BUG: stream = 0, pos = 0xffffffff, buffer size = 0x3c1e, period size = 0x402
Jan 30 19:58:24 cyberbob kernel: ALSA ../alsa-kernel/core/pcm_lib.c:187: Unexpected hw_pointer value (stream = 0, delta: -1, max jitter = 7695): wrong interrupt acknowledge?

***************************************************************************

Now I am running on Debian, custom compiled kernel 2.4.20. I was a bit worried about that compiling the source from the project pages and installing on Debian might be problematic due to the package system on Debian, however this seems to work without glitches.

Best Regards from Erik

_____________________________________________________________
Här börjar internet!
Skaffa gratis e-mail och gratis internet på http://www.spray.se

Träffa folk från hela Sverige på ett och samma ställe - http://chat.spray.se/

#1 lore raw

At Thu, 30 Jan 2003 20:53:49 +0100,

Quoted 4 lines · Erik Welander

By modifying snd_es18xx_playback_trigger function I tested both dma playback functions and here are my findings:

Quoted 8 lines

*dma1, i.e.snd_es18xx_playback2 function writeout kern.log:
(Produces no sound at all. When stopped playing an mp3 with mpg321 gives playback drain error)
**************************************************************************

Jan 30 19:30:34 cyberbob kernel: isapnp: Scanning for PnP cards...
Jan 30 19:30:34 cyberbob kernel: isapnp: No Plug & Play device found
Jan 30 19:30:35 cyberbob kernel: ALSA ../alsa-kernel/isa/es18xx.c:1569: [0x220] ESS1878 chip found
Jan 30 19:38:40 cyberbob kernel: ALSA ../alsa-kernel/core/pcm_native.c:1137: playback drain error (DMA or IRQ trouble?)

***************************************************************************

please try to play with the pcm "hw:0,0,1", namely,

	% aplay -Dhw:0,0,1 foo.wav

if it's ok, then the problem is that the second DAC is not functional. you can disable the second DAC by specifying the same DMA value for dma1 and dma2 options. (this will disable the full-duplex, though.)

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com