Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 2008 09:20:27 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Jochen Keil <Jochen.Keil@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: snd_hda.7.20080905 with ad1988b
Message-ID:  <48C2212B.4090708@FreeBSD.org>
In-Reply-To: <48C1AFBA.2090204@gmail.com>
References:  <48C1AFBA.2090204@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jochen Keil wrote:
> i've patched and built snd_hda.
> Unfortunately there are no pcm oder dsp devices in /dev, thus i cannot 
> use sound output.

Driver tells that they are there. Probably you just don't see them.

> Attached you'll find dmesg.verbose and cat /dev/sndstat:
> 
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <HDA codec #0 Analog Devices AD1988B PCM #0> at hdac0 cad 0 kld 
> snd_hda [20080905_0107] [MPSAFE] (1p:1v/1r:1v channels duplex default)

This is a playback via 4 connectors (7.1 in theory) and line, mic, cd, 
mix, monitor recording.

> pcm1: <HDA codec #0 Analog Devices AD1988B PCM #1> at hdac0 cad 0 kld 
> snd_hda [20080905_0107] [MPSAFE] (1p:1v/0r:0v channels)

This is Headphones connector playback. Strange that BIOS vendor 
configured respective microphone as part of pcm0 but not pcm1. Also this 
Headphones could be configured for sound redirection from pcm0 output, 
but it also wasn't done. So if you wish - you have a wide range of 
experiments possible.

> pcm2: <HDA codec #0 Analog Devices AD1988B PCM #2> at hdac0 cad 0 kld 
> snd_hda [20080905_0107] [MPSAFE] (1p:1v/0r:0v channels)

This is SPDIF playback.

> I'd be glad to help you with further information, just tell me what you 
> need/i'm supposed to do.

Just try to use it. :)

> I didn't get that whole nid stuff though..

Logs were wrapped. Those nid stuff may be dumped with
sysctl dev.hdac.0.pindump=1

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C2212B.4090708>