Skip site navigation (1)Skip section navigation (2)
Date:      23 Jul 2000 06:32:51 -0000
From:      fujiwara@rcac.tdi.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20115: pcm0 doesnot work on Panasonic Let's note CF-A1EV (neomagic 256AV)
Message-ID:  <20000723063251.728.qmail@f.rcac.tdi.co.jp>

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

>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 <fujiwara@rcac.tdi.co.jp>
>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: <NeoMagic MagicMedia 256AV SVGA controller> at 2.0 irq 10
pcm0: <NeoMagic 256AV> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000723063251.728.qmail>