AC97 on FBSD 5.1p8 on Clevo Laptop

Mikko Työläjärvi mbsd at pacbell.net
Fri Sep 26 07:45:17 PDT 2003


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.


More information about the freebsd-mobile mailing list