Sound card drivers

Andrew infofarmer at mail.ru
Fri Dec 10 13:32:44 PST 2004


>>>(uuu) pwd
>>>/usr/src
>>>(uuu) grep ALC658 sys/dev/sound/pcm/ac97.c
>>>        { 0x414c4780, 0x0f, 0, "ALC658",    0 },
>>>
>>>so, besides I do not know about deep thinks you
>>>detailed below, it seems there is some hope...
>>
>>Yep, thanks for advice! my ALC658 soundcard worked
>>great on FreeBSD/x86.
>>
>>Is it somehow possible to turn on spdif output
>>on the soundcard? Tuning all available mixer entries
>>to 100:100 doesn't help. In windows version, there's
>>no spdif/out level, just a flag (on or off) and two
>>optional flags (sample rate and pass-through/digital
>>/analog/off mode). I need digital output very much.
>
> An interesting mail sent about s/pdif support of
> FreeBSD can be read at: http://lists.freebsd.org/
> pipermail/freebsd-multimedia/2004-March/000921.html
>
> It seems that there is driver-specific sysctl values;
> if the driver is loaded it should add some of them,
> which can be listed using sysctl -a then greping for
> pcm, or just seeking for info by eye.

I grepped sysctl list and found hw.snd.pcm0.spdif_enabled
switch, but when I change it 0->1, the sound disappears
(both analog and digital outputs are silent). I tried
to play with other hw.snd switches, changed mixer levels
and recsrc, searched the net for a few hours - but nothing
came up. People hack into sound drivers in cases like mine,
but I'm too lame for that yet.

Anyways, after loading snd_driver dmesg says
pcm0: <VIA VT8237> ...
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC658 AC97 Codec>

Motherboard manual says it's a "Realtek ALC658 CODEC (UAJ)"
and the chip itself says "Realtek". Has anybody tried to
make spdif out work on this mother?

Best wishes,
Andrew


More information about the freebsd-questions mailing list