From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 26 07:45:17 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72AE316A4B3 for ; Fri, 26 Sep 2003 07:45:17 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id DACBC43FF7 for ; Fri, 26 Sep 2003 07:45:16 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-66-126-169-70.dsl.snfc21.pacbell.net [66.126.169.70]) by mtaw4.prodigy.net (8.12.9/8.12.3) with ESMTP id h8QEjCIF003155; Fri, 26 Sep 2003 07:45:13 -0700 (PDT) Date: Fri, 26 Sep 2003 07:45:12 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Jon Mercer In-Reply-To: <3F743804.5040109@achean.com> Message-ID: <20030926074026.U278@atlas.home> References: <3F743481.5030603@achean.com> <3F743804.5040109@achean.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: AC97 on FBSD 5.1p8 on Clevo Laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 14:45:17 -0000 On Fri, 26 Sep 2003, Jon Mercer wrote: > Ah! Ok, it is meant to be pcm0, but the device doesn't get created: There is no /dev/pcm0 device. Try "cat /dev/sndstat" to see what device has been attached. The sound devices are /dev/audio*, /dev/dsp*, /dev/mixer* and maybe a few other ones. > sysctl -a | grep pcm > hw.snd.pcm0.buffersize: 16384 > hw.snd.pcm0.vchans: 0 > hw.snd.pcm0.ac97rate: 48000 > > Anyone know what I have to do to get the pcm0 device created under devfs? If the above does not work, try "kldload snd_pcm" first. To make it load on boot, see loader.conf(8). $.02, /Mikko > > > Jon Mercer wrote: > > I have a Clevo Laptop (don't ask why) with an AC97 sound card that I > > have had running on 4.8, but cannot be accessed under 5.1 using devfs. > > > > The problem is noticable when starting KDE, which generates the mesage > > about /dev/dsp not being accesible. Which is hardly surprising, since > > there isn't one. > > > > I've never worked out which device should be created for AC97, but guess > > that it isn't /dev/pcm0, since there is the appropriate device line in > > the kernel config, but the device doesn't get created at boot time. > > > > Question is which device should I be putting in the kernel config and > > accessing in /dev to make the sound card accessible. (Assuming it is > > compatible with 5.1.) > > > > Any comments gratefully received.