From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 4 19:16:12 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40BA016A4CE for ; Tue, 4 Nov 2003 19:16:12 -0800 (PST) Received: from hotmail.com (bay2-dav17.bay2.hotmail.com [65.54.246.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7224843FBF for ; Tue, 4 Nov 2003 19:16:11 -0800 (PST) (envelope-from r00t_su@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 4 Nov 2003 19:16:11 -0800 Received: from 63.105.26.188 by bay2-dav17.bay2.hotmail.com with DAV; Wed, 05 Nov 2003 03:16:10 +0000 X-Originating-IP: [63.105.26.188] X-Originating-Email: [r00t_su@hotmail.com] From: "Mr. X" To: Date: Tue, 4 Nov 2003 19:15:22 -0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 05 Nov 2003 03:16:11.0221 (UTC) FILETIME=[29980850:01C3A34B] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: soundcard issue in fbsd 4.9stable X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 03:16:12 -0000 i have had this problem ever since i enabled the soundcard in the = kernel. any sound "tries" to play but skips to the end and will not play (xmms, realplayer). sort of a strange echo sound. the = card is in a sony vaio laptop model PCG-GRZ610. here is the output of vital commands: zwan# grep pcm /var/run/dmesg.boot pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at = device 31.5 on pci0 pcm0: zwan# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x1c00, 0x18c0 irq 9 bufsz 16384 = (1p/1r/0v channels duplex) zwan# uname -a FreeBSD zwan.com 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Nov 4 18:25:43 = PST 2003 root@zwan.com:/usr/obj/usr/src/sys/k04-1103 i386 zwan# ls -la /dev/dsp0 /dev/dsp lrwxrwxrwx 1 root wheel 4 Nov 2 23:24 /dev/dsp -> dsp0 lrwxrwxrwx 1 root wheel 6 Nov 2 23:24 /dev/dsp0 -> dsp0.0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++ i edited : /sys/dev/sound/pci/ich.c with :=20 sc->codec =3D AC97_CREATE(dev, sc, ich_ac97); if (sc->codec =3D=3D NULL) goto bad; ac97_setflags(sc->codec, AC97_F_EAPD_INV); <-- added line mixer_init(dev, ac97_getmixerclass(), sc->codec); -------------------------------------------------------------------------= ------------------------------ then did buildworld / kernel, install kernel, single user mode .. = installworld and mergemaster -p ...before i added the above line in /sys/dev/sound/pci/ich.c=20 i used to get this error repeating with grep :=20 # grep pcm /var/run/dmesg.boot pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at = device 31.5 on pci0 pcm0: pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead since i edited ich.c with the new line .,. i do not get this error = anymore .. but i have the same effect with the sound. basically it does not work period..=20 any help would be greatly appreciated. thanks -warren .^. Light More Light .^.