Status of VIA Envy24 audio controller

Konstantin Dimitrov kosio.dimitrov at
Sun Jun 18 16:59:50 UTC 2006

i'm sure there are issues with the existing code, but at least for the
moment i am not enough familiar with 'newpcm', so help is needed and for the
moment i prefer to concentrate my work on adding support for more hardware
(more chips from Envy24 family and audio codecs).

as a result i have added support for "Terratec Aureon 7.1 Space", it is
Envy24HT-based (chip is marked ICE1724 or VT1724) card and uses WM8770 for
audio codec, so it is very different from the supported cards till now.

Envy24 and Envy24HT are not compatible - have different registers and
features, so the new code is incompatible with Envy24, it is also highly
experimental and messy (a lot of code from Envy24 driver is changed and a
lot of code is unfinished) and for the moment it works only with "Terratec
Aureon 7.1 Space" and it is intended to use only with that card.

the code is here: in case someone has
"Terratec Aureon 7.1 Space" or want to hack the code to support another

i also have important question, maybe Alexander will answer, because now we
have code for two different Envy24 chips (Envy24, Envy24HT) and for 3
different audio codecs (AK4524, AK4528, WM8770) and any combination between
them is possible - for example maybe there is Envy24HT-based card using
AK4528, which is the best way and how to support this, i can put everything
based on chip ID and PCI IDs into a single code, but i think it is bad idea,
because it will be huge code with a lot of branches and very hard to

On 6/17/06, Stefan Ehmann <shoesoft at> wrote:
> On Saturday 17 June 2006 14:00, Nikolas Britton wrote:
> > On 6/13/06, Nikolas Britton <nikolas.britton at> wrote:
> > > Cool!, I just order a Audiophile 2496, it should be in my hands by
> > > the end of the week for testing.
> >
> > Three problems so far (using Konstantin's full.diff patch):
> >
> > 1)
> > $ kldunload snd_ak452x.ko
> > Warning: memory type ak452x leaked memory on destroy (1 allocations,
> > 64 bytes leaked).
> >
> > 2)
> > I have no sound in KDE. Everything works fine at the console but when
> > I load KDE (3.5.3) the sound stutters and plays at less then 1/2 speed.
> >
> > 3)
> > 'mixer: WRITE_MIXER: Device not configured' The message repeats x
> > times at system startup, x = whatever hw.snd.maxautovchans is set to.
> This is because the only supported mixer devices are vol, pcm and line.
> But
> the driver shows other values too. If you try to change one of the other
> values (which is done at startup), you get this error message:
> $ mixer cd 100
> Setting the mixer cd from 0:0 to 100:100.
> mixer: WRITE_MIXER: Device not configured
> I've seen a number of other problems too. I will report them later in
> detail
> when I have time to test properly.
> - vchans don't work for me.
> - 24 bit playback not supported (only 16/32 bit)
> - after kld(un)loading some times, the card fails to be probed until
> reboot
> Having a unified driver first is probably more important.

More information about the freebsd-multimedia mailing list