Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 07:45:12 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Jon Mercer <jon.mercer@achean.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: AC97 on FBSD 5.1p8 on Clevo Laptop
Message-ID:  <20030926074026.U278@atlas.home>
In-Reply-To: <3F743804.5040109@achean.com>
References:  <3F743481.5030603@achean.com> <3F743804.5040109@achean.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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