snd_hda on Optiplex 980

Jonathan Chen jonathan.chen at solnetsolutions.co.nz
Tue Nov 23 22:35:18 UTC 2010


Hi,

I recently migrated my 8-STABLE/amd64 system to a Dell Optiplex 980 and 
have discovered that the sound system isn't recognised by snd_hda.

cat /dev/sndstat:
   FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
   Installed devices:
   pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
   pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
   pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
   pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
   pcm4: <HDA Realtek ALC269 PCM #0 Analog> (play/rec) default
   pcm5: <HDA Realtek ALC269 PCM #1 Analog> (play/rec)

The relevant bits from dmesg appears to be:
   hdac0: <NVidia (Unknown) High Definition Audio Controller> mem 
0xf7dfc000-0xf7dfffff irq 17 at device 0.1 on pci1
   hdac0: HDA Driver Revision: 20100226_0142
   hdac0: [ITHREAD]
   hdac0: HDA Codec #0: NVidia (Unknown)
   hdac0: HDA Codec #1: NVidia (Unknown)
   hdac0: HDA Codec #2: NVidia (Unknown)
   hdac0: HDA Codec #3: NVidia (Unknown)
   pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
   pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
   pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
   pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0

And a lookup via pciconf -lvc:
   hdac0 at pci0:1:0:1:       class=0x040300 card=0x0cfb1028 chip=0x0be410de 
rev=0xa1 hdr=0x00
       vendor     = 'NVIDIA Corporation'
       class      = multimedia
       subclass   = HDA
       cap 01[60] = powerspec 3  supports D0 D3  current D0
       cap 05[68] = MSI supports 1 message, 64 bit enabled with 1 message
       cap 10[78] = PCI-Express 2 endpoint max data 128(128) link x16(x16)

Is there any chance that someone has got this working? Or that a quick 
patch of the lookup tables in sys/dev/sound/pci/hda will magically enable this?

Cheers.
-- 
Jonathan Chen <jonathan.chen at solnetsolutions.co.nz>
Solnet Solutions Limited                            t:   +64 9 9775800
Level 7, Brookfields House,                         f:   +64 9 9775801
19 Victoria Street West,                            ddi: +64 9 9775871
PO Box 6619,                                        m:   +64 21 635618
Auckland 1141, New Zealand           http://www.solnetsolutions.co.nz/



Attention:
This email may contain information intended for the sole use of
the original recipient. Please respect this when sharing or
disclosing this email's contents with any third party. If you
believe you have received this email in error, please delete it
and notify the sender or postmaster at solnetsolutions.co.nz as
soon as possible. The content of this email does not necessarily
reflect the views of Solnet Solutions Ltd.



More information about the freebsd-stable mailing list