From owner-freebsd-mobile Tue Feb 6 8:21:30 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from blues.viagenie.qc.ca (blues.viagenie.qc.ca [206.123.31.135]) by hub.freebsd.org (Postfix) with ESMTP id 10ADA37B4EC; Tue, 6 Feb 2001 08:21:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by blues.viagenie.qc.ca (8.11.1/8.11.1) with ESMTP id f16GPW803955; Tue, 6 Feb 2001 11:25:32 -0500 (EST) (envelope-from Florent.Parent@viagenie.qc.ca) Date: Tue, 6 Feb 2001 11:25:32 -0500 (EST) From: Florent Parent X-X-Sender: To: Anders Andersson Cc: , Subject: Re: IBM ThinkPad A20p (sound) In-Reply-To: <20010206170134.A14820@jellyfish.codefactory.se> Message-ID: X-PGP-Fingerprint: B7 18 45 43 97 7C BE 73 2B CC 23 D5 3E 20 4F C9 2A 90 87 2C MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: Audio controller> mem 0xf0000000-0xf00fffff,0xf0121000-0xf0121fff irq 11 > at device 5.0 on pci0 > pcm0: 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