Project

General

Profile

Actions

Bug #2252

open

snd_hda not useable if loaded via /boot/loader.conf

Added by xbit about 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
12/05/2011
Due date:
% Done:

0%

Estimated time:

Description

When loading snd_hda from /boot/loader.conf it is loaded, but cannot be used and configured. At least audio/moc does not work, it is unable to use the OSS interface. But after unloading and loading snd_hda again the sound card is useable.

As a workaround I added "/sbin/kldload snd_hda" to /etc/rc.local and then the soundcard is useable form audio/moc as OSS device.

snd_hda was the only sound kernel module that has been loaded via /boot/loader.conf.

Kernel configuration is GENERIC x86_64 (v2.12.0.23.gec4cf).

Actions #1

Updated by juanfra684 about 13 years ago

I think is related to #2253.

Actions #2

Updated by alexh about 13 years ago

Have you tried also adding sound.ko to the loader.conf? In addition to
snd_hda, that is.

Actions #3

Updated by xbit about 13 years ago

Alex Hornung wrote:

Have you tried also adding sound.ko to the loader.conf?

Yes. That was the first configuration. Then I tried without sound.ko.

Later this day I will revert my configuration and will add the error message from audio/moc and dmesg when loading via loader.conf.

Actions #4

Updated by xbit about 13 years ago

When loading snd_hda.ko via /etc/rc.local, sound.ko is loaded automatically as dependency.

The dmesg audio parts if snd_hda.ko is loaded via /boot/loader.conf.

pcm0: <ATI (Unknown) High Definition Audio Controller> mem 0xfe9e8000-0xfe9ebfff irq 19 at device 5.1 on pci1
pcm1: <ATI SB600 High Definition Audio Controller> mem 0xfe7f0000-0xfe7f3fff irq 16 at device 20.2 on pci0
pcm0: <HDA Codec: Unknown Codec>
pcm0: <HDA Driver Revision: 20071129_0050>
pcm1: <HDA Codec: Realtek (Unknown)>
pcm1: <HDA Driver Revision: 20071129_0050>

dmesg parts after running kldunload/kldload.

pcm0: detached
pcm1: detached
pcm0: <ATI SB600 High Definition Audio Controller> mem 0xfe7f0000-0xfe7f3fff irq 16 at device 20.2 on pci0
pcm0: <HDA Codec: Realtek (Unknown)>
pcm0: <HDA Driver Revision: 20071129_0050>
pcm1: <ATI (Unknown) High Definition Audio Controller> mem 0xfe9e8000-0xfe9ebfff irq 19 at device 5.1 on pci1
pcm1: <HDA Codec: Unknown Codec>
pcm1: <HDA Driver Revision: 20071129_0050>

Nonetheless sound.ko and snd_hda.ko is loaded.

Actions #5

Updated by swildner about 13 years ago

  • Assignee set to swildner

Grab

Actions

Also available in: Atom PDF