Hello all,
My sound card works with snd_hda.
If I compile the kernel with device snd_hda:
then after system rebooting my music players cannot connect to sound card:
If I recompile the kernel without sound device, and load the sound modules from /boot/loader.conf
the problem is almost the same.
If I unload the sound driver and then load it again:
everything works and I can hear the sound.
I guess that I should set the device permission somewhere. But I don't know how to do that.
Please help me. Thank you very much
My sound card works with snd_hda.
If I compile the kernel with device snd_hda:
Code:
device sound
device snd_hda
then after system rebooting my music players cannot connect to sound card:
Code:
$ echo test sound > /dev/dsp0.0
Operation isnot permitted
If I recompile the kernel without sound device, and load the sound modules from /boot/loader.conf
Code:
# kernel hasnot sound devices
sound_load="YES"
snd_hda_load="YES"
the problem is almost the same.
If I unload the sound driver and then load it again:
Code:
$ kldunload snd_hda
$ kldload snd_hda
$ echo test sound > /dev/dsp0.0
# it's ok now
everything works and I can hear the sound.
I guess that I should set the device permission somewhere. But I don't know how to do that.
Please help me. Thank you very much