Can't get soundcard to work

Alexander Motin mav at FreeBSD.org
Thu Oct 9 18:25:03 UTC 2008


Frank Shute wrote:
> On Thu, Oct 09, 2008 at 09:12:28AM +0200, Aniruddha wrote:
>> On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote:
>>>> ls /dev/d
>>>> da0      da2      dcons    devstat  dsp0.0   dsp1.0   
>>>> da1      da3      devctl   dgdb     dsp0.1   dumpdev 
>>> On my machine:
>>>
>>> $ ls /dev | grep dsp
>>> dsp0.0
>>> dsp0.1
>>>
>>> i.e no dsp1.0

It will be created on demand when sound application will try to open it 
directly. Also it may be set as default with hw.snd.default_unit sysctl 
described in man sound.

>>> What does:
>>>
>>> $ cat /dev/sndstat
>>>
>>> give you?
>> sndstat:
>>> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
>>> Installed devices:
>>> pcm0: <ATI (Unknown) High Definition Audio Controller> at memory
>> 0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only)
>>> pcm1: <Intel 82801G High Definition Audio Controller> at memory
>> 0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
>> channels duplex)
> 
> The driver is binding to both.

Indeed. First one is HDMI on video and second on motherboard. The old 
snd_hda driver you have surely unable to manage first one. Second looks 
better, but also should be tested. Updated driver in 8-CURRENT should 
work better. It could be ported to 7-STABLE without any modifications.

-- 
Alexander Motin


More information about the freebsd-questions mailing list