From owner-freebsd-bugs Sat Jul 22 23:40:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9DB7B37B957 for ; Sat, 22 Jul 2000 23:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA76616; Sat, 22 Jul 2000 23:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from f.rcac.tdi.co.jp (spacecraft.f.rcac.tdi.co.jp [202.249.17.133]) by hub.freebsd.org (Postfix) with SMTP id 5227C37B7F8 for ; Sat, 22 Jul 2000 23:32:54 -0700 (PDT) (envelope-from fujiwara@f.rcac.tdi.co.jp) Received: (qmail 729 invoked by uid 0); 23 Jul 2000 06:32:51 -0000 Message-Id: <20000723063251.728.qmail@f.rcac.tdi.co.jp> Date: 23 Jul 2000 06:32:51 -0000 From: fujiwara@rcac.tdi.co.jp Reply-To: fujiwara@rcac.tdi.co.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/20115: pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20115 >Category: kern >Synopsis: pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Sat Jul 22 23:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Kazunori Fujiwara >Release: FreeBSD 4.1-RC i386 >Organization: >Environment: hardware: Panasonic Let's Note CF-A1EV OS: FreeBSD 4-stable (July 21, 2000) with newpcm ds1 driver (2000/07/19 14:18:47 PDT) kernel message shows: pci0: at 2.0 irq 10 pcm0: mem 0xfec00000-0xfecfffff,0xfe400000-0xfe7fffff irq 10 at device 2.1 on pci0 >Description: previous pcm driver works fine. but with current driver, kernel displays: pcm0: play interrupt timeout, channel dead and doesnot play sound. >How-To-Repeat: for example: mpg123 *.mp3 >Fix: my poor fix is under this. my note PC plays good with this patch. please correct this problem. ES1371 system plays good without/with this patch. Index: sys/dev/sound/pcm/channel.c =================================================================== RCS file: /CVS/src/sys/dev/sound/pcm/channel.c,v retrieving revision 1.19.2.3 diff -u -r1.19.2.3 channel.c --- sys/dev/sound/pcm/channel.c 2000/07/19 21:18:46 1.19.2.3 +++ sys/dev/sound/pcm/channel.c 2000/07/22 10:22:45 @@ -484,6 +484,7 @@ /* Fill up the buffers with new pcm data. */ res = buf->uio_resid; while (chn_wrfeed2nd(c, buf) > 0); +chn_wrintr(c); if (buf->uio_resid < res) count = hz; else >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message