Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 11:25:32 -0500 (EST)
From:      Florent Parent <Florent.Parent@viagenie.qc.ca>
To:        Anders Andersson <anders@codefactory.se>
Cc:        <mobile@FreeBSD.ORG>, <cg@FreeBSD.ORG>
Subject:   Re: IBM ThinkPad A20p (sound)
Message-ID:  <Pine.BSF.4.33.0102061111390.2205-100000@blues.viagenie.qc.ca>
In-Reply-To: <20010206170134.A14820@jellyfish.codefactory.se>

next in thread | previous in thread | raw e-mail | index | archive | help

I've put debug code throughout the csapcm/pcm/csa drivers and it really
looks like a DMA problem.

Feb  4 20:58:09 blues /kernel: write snd0 subdev 3 flag 0x00020001
Feb  4 20:58:09 blues /kernel: underflow, flags 0x00003012 rp 0 rl 1024
(lots of writes and dma pointers increasing here)

eventually
Feb  4 20:58:09 blues /kernel: pcm0: play interrupt timeout, channel dead

I'm comparing the NetBSD and FreeBSD drivers. NetBSD doesn't use the pcm
bridge as in FreeBSD so just taking code directly from there won't work.
I'm spending my evenings browsing/recompiling/understanding the newpcm
stuff on FreeBSD.

Since this works under NetBSD, I'm pretty confident that this can work
under FreeBSD, it's just that I'm still on the learning curve (but I'm
very stubborn ;-)

tks for the info.
Florent.


On Tue, 6 Feb 2001, Anders Andersson wrote:

> On Tis, Jan 30, 2001 at 10:38:30pm -0500, Florent.Parent@viagenie.qc.ca wrote:
> >
> > Followup:
> >
> > I've installed NetBSD 1.5 on the exact same laptop. The sound device is
> > correctly detected and works fine.
>
> Latest RELENG_4 gives me:
>
> csa0: <Crystal Semiconductor CS4614/4622/4624 Audio accelerator/4280
> Audio controller> mem 0xf0000000-0xf00fffff,0xf0121000-0xf0121fff irq 11
> at device 5.0 on pci0
> pcm0: <CS461x PCM Audio> on csa0
> pcm0: ac97 codec reports dac not ready
>
> and:
>
> Feb  5 11:10:34 jellyfish /kernel: pcm0: play interrupt timeout, channel
> dead
>
>
>

-- 
Florent Parent
Viagénie inc.  http://www.viagenie.qc.ca
+1.418.656.9254




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0102061111390.2205-100000>