RFC: massive snd_hda driver update to better conform UAA specification

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Wed Aug 13 14:42:39 UTC 2008


Hello,

On Wed, 13 Aug 2008 01:26:10 +0300
Alexander Motin <mav at FreeBSD.org> wrote:

> I have made major snd_hda driver rewrite. I will be grateful for
> reviews and any positive or negative feedbacks.
> [...]
> For 7-STABLE try (I have no place to test it, but it builds):
> http://people.freebsd.org/~mav/hda.7.20080812.patch

The 7-STABLE patch seems to work fine on this board[1]. Note: I have
just a simple setup (two speakers - no mic) on this machine, so I can't
test everything.
Output from 'cat /dev/sndstat' have changed a large bit.

Before the patch:
oot at kg-vm# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
Installed devices:
pcm0: <ATI SB600 High Definition Audio Controller> at memory 0xfe020000 irq 16 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex default)

After the patch:
oot at kg-vm# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
Installed devices:
pcm0: <HDA codec Realtek ALC883 PCM #0> at hdac0 cad 0 kld snd_hda [20080812_0000] [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: <HDA codec Realtek ALC883 PCM #1> at hdac0 cad 0 kld snd_hda [20080812_0000] [MPSAFE] (1p:1v/1r:1v channels duplex)
pcm2: <HDA codec Realtek ALC883 PCM #2> at hdac0 cad 0 kld snd_hda [20080812_0000] [MPSAFE] (1p:1v/0r:0v channels)

dmesg output before the patch: normal[2], verbose[3]
dmesg output after the patch: normal[4], verbose[5]

References:
1) http://tingox.googlepages.com/asus_m2a-vm_hdmi
2) http://tingox.googlepages.com/kg-vm-dmesg-7.0-stable-20080813.txt
3) http://tingox.googlepages.com/kg-vm-dmesg-7.0-stable-20080813_verb.txt
4) http://tingox.googlepages.com/kg-vm-dmesg-7.0-stable-20080813-2.txt
5) http://tingox.googlepages.com/kg-vm-dmesg-7.0-stable-20080813-2_ve.txt
-- 
Regards,
Torfinn Ingolfsen,
Norway



More information about the freebsd-multimedia mailing list