Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  7 May 2009 19:33:30 +0100 (IST)
From:      Lars Hecking <lhecking@users.sourceforge.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: 7.2 = no sound
Message-ID:  <20090507183330.575704E37E@cork.irdesign.cypress.com>
In-Reply-To: <20090507123330.GD1111@phenom.cordula.ws>
References:  <20090507105027.279A04E382@cork.irdesign.cypress.com> <20090507123330.GD1111@phenom.cordula.ws>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> > pcm0: <HDA Sigmatel STAC9205X PCM #0 Analog> at cad 0 nid 1 on hdac0
> > pcm1: <HDA Sigmatel STAC9205X PCM #1 Analog> at cad 0 nid 1 on hdac0
> 
> Have you tried to set hw.snd.default_unit to the right port?
> 
> >From snd_hda(4):
> 
>  The default audio device may be tuned by setting the hw.snd.default_unit
>  sysctl, as described in sound(4), or explicitly specified in application
>  settings.
> 
> That's the most common cause for sound problems after the snd_hda
> upgrade.
 
 Well, I don´t know what the rigt port is ;-) I tried

 hw.snd.default_unit=0

 and now I have

# ll /dev/dsp*
crw-rw-rw-  1 root  wheel    0, 118 May  7 19:23 /dev/dsp0.0
crw-rw-rw-  1 root  wheel    0, 119 May  7 19:23 /dev/dsp0.1
crw-rw-rw-  1 root  wheel    0, 117 May  7 19:22 /dev/dsp1.0

 i.e dsp0.[234] are gone.

 Sound preferences show that the default device for input and output
 (? how is that supposed to work?) is /dev/dsp0. What do I need to
 configure to create a /dev/dsp0? I don´t really understand what´s
 going on, especially since the number of dsp* devices keeps changing

# cd /dev
# ln -s dsp0.0 dsp0
ln: dsp0: File exists
# ll dsp*
crw-rw-rw-  1 root  wheel    0, 118 May  7 19:28 dsp0.0
crw-rw-rw-  1 root  wheel    0, 119 May  7 19:22 dsp0.1
crw-rw-rw-  1 root  wheel    0, 129 May  7 19:22 dsp0.2
crw-rw-rw-  1 root  wheel    0, 117 May  7 19:22 dsp1.0





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