RFC: snd_hda(4) -- Intel High Definition Audio driver

Søren Schmidt sos at freebsd.org
Wed Sep 6 08:46:36 UTC 2006


Joel Dahl wrote:
> Hi all,
>
> Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now,
> which is a High Definition Audio driver and should enable basic audio
> capabilities on a lot of new machines on the market.  He's been busy
> with improving the driver lately, so he asked me to send out an
> announcement and a call for testers -- yes, the driver is ready for a
> wider audience now.  :-)
>
> This driver is based on Stephane E. Potvin's HDA driver, although big
> parts have been rewritten since then.  The driver is still in an early
> form and many parts needs refinements, but basic audio capabilities such
> as playback/recording should work and we would like to get this into
> CURRENT soon, if everything goes according to the plan.
>   
OK, tried this on an ASUS A8N-VM CSM (nVidia 6150/MCP51 based) and 
although it does produce sound there are a few problems:

1. the output on line-out has a constant highpitched tone along side the 
sound leaving that extremely annoying to listen on.
    However both the line-in and mix-in jacks produce perfect sound 
output, so it seems some signal routing is wrong...

2. if I touch any of the mixer settings, ie change the volume, all sound 
goes totally silent, no messages or anything just silence.
    I've found no way to get sound back without rebooting as the module 
doesn't want to unload.


Diverse output attached, let me know if there is anything to test/try etc...

God work so far! much appreciated!

-Søren

-------------- next part --------------
FreeBSD sos.deepcore.dk 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Sep  6 10:22:03 CEST 2006     sos at sos.deepcore.dk:/usr/src/sys/i386/compile/SOS  i386
pcm0: <NVidia MCP51 High Definition Audio Controller> mem 0xfebd8000-0xfebdbfff irq 21 at device 16.1 on pci0
pcm0: node 18: WARNING!!! Connection length=8 != found=7
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <NVidia MCP51 High Definition Audio Controller> at memory 0xfebd8000 irq 21 kld snd_hda (1p/1r/4v channels duplex default)
	[pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00101000, 0x00000000
	interrupts 670, underruns 0, ready 0 [b:16384/2048/8|bs:131072/4096/32]
	{userland} -> feeder_vchan_s16(0x10000010) -> {hardware}
	[pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
	interrupts 0, overruns 0, hfree 16384, sfree 0 [b:16384/8192/2|bs:0/0/0]
	{hardware} -> feeder_root(0x00000000) -> {userland}
	pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010
	interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:131072/4096/32]
	{userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware}
	pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
	interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
	{userland} -> feeder_root(0x00000000) -> {hardware}
	pcm0:play:0:dsp0.0[pcm0:virtual:2:dsp0.4]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
	interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
	{userland} -> feeder_root(0x00000000) -> {hardware}
	pcm0:play:0:dsp0.0[pcm0:virtual:3:dsp0.5]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
	interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
	{userland} -> feeder_root(0x00000000) -> {hardware}
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 0
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 4
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  26:26
Mixer mic      is currently set to 100:100
Mixer cd       is currently set to  75:75
Mixer rec      is currently set to 100:100
Recording source: mic


More information about the freebsd-multimedia mailing list