7.2 = no sound

Lars Hecking lhecking at users.sourceforge.net
Thu May 7 18:33:51 UTC 2009


> 
> > 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




More information about the freebsd-questions mailing list