From owner-freebsd-questions Wed Feb 6 13:58:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 2E30537B429 for ; Wed, 6 Feb 2002 13:58:05 -0800 (PST) Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id E40E45D0D; Wed, 6 Feb 2002 13:58:04 -0800 (PST) To: Ada Cheng Cc: questions@FreeBSD.ORG Subject: Re: A few questions before I recompile my kernel In-reply-to: Your message of "Wed, 06 Feb 2002 09:09:52 EST." <20020206084652.M7983-100000@infinity.kettering.edu> Date: Wed, 06 Feb 2002 13:58:04 -0800 From: "Kevin Oberman" Message-Id: <20020206215804.E40E45D0D@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Wed, 6 Feb 2002 09:09:52 -0500 (EST) > From: Ada Cheng > Sender: owner-freebsd-questions@FreeBSD.ORG > > Good morning, > First a bit of info on my box: > Dell Dimension Workstation dual 1.5GHz Xeon processor > Integrated Analog Devices AD1885 AC'97 audio (This comes with the system, > I called customer service for this info) > Running 4.4-stable > > My kernel presently has: > device pcm > > dmesg reveals: > pcm0: port 0xcc40-0xcc7f,0xc800-0xc8ff irq 11 at > device 31.5 on pci0. > > and cat /dev/sndstat gives: > FreeBSD Audio Driver (newpcm) Nov 7 2001 15:52:15 > Installed devices: > pcm0: at io 0xc800, 0xcc40 irq 11 (1p/2r/0v channels duplex) > > > I have also install realplayer 8. > > > My problem: Sound from real audio files and mp3 are at super speed. > Regular cd playing is fine. > > After searching through the archives I notice that people with the AC'97 > audio has it appear in the <> bracket on the line pcm0. Mine didn't. > (is that a problem??) > > Secondly, I also notice some people add the line > device csa > in their kernel although there was no explaination as to why that was > needed. So I am thinking of doing that. Is that necessary? > > Finally, there was also the mentioning of the ich.c driver. > > I notice the file in /usr/src/sys/dev/sound/pic and the line > dev/sound/pci/ich.c optional pcm psi > is already included in /usr/src/sys/conf/files > > Do I need to `load' the driver?? If so, how? > > Any other ideas/hints on fixing my sound speed problems? Upgrade? I am running 4.5-Stable of about 2/1 and I see: pcm0: port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0 pcm0: measured ac97 link rate at 55934 Hz The ac97 line magically appeared on a build about February 1. I hope this fixes the problem, but I now have a different problem. The device is always busy! So I get no sound at all, either from realplay or from gnome (or from copying a file to /dev/dsp). lsof shows that the device belongs to esd. Unfortunately, I can't find any doc on esd (esound?) and I don't really have time to scrounge through the sources at the moment. Hopefully things are moving in the right direction, at least. And, it's possible that I'm doing something dumb that is causing the device to show up as busy. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message